/* Lukeplus Core — 직구정보통 brand. Mobile first, no external assets. */
:root{--lp-red:#F7012A;--lp-red-d:#d10022;--lp-navy:#1F2A5C;--lp-navy-d:#151d42;--lp-teal:#2bb3a3;--lp-ink:#111827;--lp-muted:#6b7280;--lp-line:#e7e8ee;--lp-bg:#fff;--lp-soft:#f5f6fa;--lp-radius:16px}

/* Player */
.lp-player{position:relative;aspect-ratio:16/9;background:#000;border-radius:var(--lp-radius);overflow:hidden;margin:0 0 20px}
.lp-player--short{aspect-ratio:9/16;max-width:340px;margin-left:auto;margin-right:auto}
.lp-player iframe,.lp-player__btn,.lp-player__btn img{position:absolute;inset:0;width:100%;height:100%;border:0;max-width:none}
.lp-player__btn{padding:0;cursor:pointer;background:#000;border-radius:0}
.lp-player__btn img{object-fit:cover}
.lp-player__play{position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;background:var(--lp-red);border-radius:14px;box-shadow:0 6px 20px rgba(0,0,0,.35);transition:transform .15s}
.lp-player__btn:hover .lp-player__play{transform:scale(1.06)}
.lp-player__play::after{content:"";position:absolute;left:27px;top:14px;border-style:solid;border-width:10px 0 10px 17px;border-color:transparent transparent transparent #fff}
.lp-player__btn:focus-visible{outline:3px solid #2563eb;outline-offset:-3px}

/* Products in a video */
.lp-products{margin:8px 0 28px}
.lp-products__title{font-size:20px;margin:0 0 12px;font-weight:800;letter-spacing:-.02em}
.lp-products__title span{display:inline-block;min-width:24px;padding:0 7px;margin-left:4px;border-radius:999px;background:var(--lp-red);color:#fff;font-size:13px;line-height:22px;text-align:center;vertical-align:3px}
.lp-grid{display:grid;gap:14px}
.lp-card{display:grid;grid-template-columns:72px 1fr;gap:12px;padding:14px;border:1px solid var(--lp-line);border-radius:var(--lp-radius);background:var(--lp-bg);scroll-margin-top:90px}
.lp-card:target{border-color:var(--lp-red);box-shadow:0 0 0 2px rgba(247,1,42,.15)}
.lp-card__media{display:block}
.lp-card__media img{width:72px;height:72px;object-fit:cover;border-radius:12px;background:var(--lp-soft);display:block}
.lp-card__tile{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:12px;background:var(--lp-navy);color:#fff;font:800 24px/1 system-ui,-apple-system,sans-serif;letter-spacing:-.02em}
.lp-card__title{font-size:16px;line-height:1.35;margin:2px 0 4px;font-weight:800;letter-spacing:-.01em}
.lp-card__title a{color:var(--lp-ink);text-decoration:none}
.lp-card__desc{margin:0 0 6px;color:var(--lp-muted);font-size:13px;line-height:1.45}
.lp-card__price{margin:0 0 8px;font-weight:800}
.lp-card .lp-offers{grid-column:1/-1;margin:6px 0 0}

/* Offers */
.lp-offers{margin:12px 0}
.lp-offers__list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lp-offer{display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-items:center;padding:10px 12px;border:1px solid var(--lp-line);border-radius:12px;background:var(--lp-bg);margin:0}
.lp-offer.is-best{border-color:var(--lp-red);box-shadow:0 0 0 1px var(--lp-red) inset}
.lp-offer__store{display:flex;align-items:center;gap:8px;min-width:0}
.lp-offer__name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.lp-offer__meta{text-align:right;line-height:1.2}
.lp-offer__price{display:block;font-weight:800;font-size:16px;color:var(--lp-ink)}
.lp-offer__date{display:block;font-size:11px;color:var(--lp-muted)}
.lp-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:58px;max-width:86px;height:26px;padding:0 6px;border-radius:6px;font:800 10.5px/1 system-ui,-apple-system,sans-serif;letter-spacing:.02em;border:1px solid rgba(0,0,0,.1);white-space:nowrap;overflow:hidden}
.lp-badge{flex:none;font-size:11px;font-weight:800;color:#fff;background:var(--lp-red);border-radius:999px;padding:3px 8px}
.lp-btn{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;border-radius:12px;background:var(--lp-navy);color:#fff!important;font-weight:800;text-decoration:none!important;font-size:15px;transition:background .15s}
.lp-btn::after{content:"→";font-weight:700}
.lp-btn:hover{background:var(--lp-navy-d)}
.lp-offer.is-best .lp-btn{background:var(--lp-red)}
.lp-offer.is-best .lp-btn:hover{background:var(--lp-red-d)}
.lp-btn:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.lp-btn--own{display:inline-flex;padding:0 18px}
.lp-offers__note{font-size:12px;color:var(--lp-muted);margin:8px 2px 0}
.lp-offers--compact .lp-offer{padding:8px 10px}
.lp-offers--compact .lp-btn{min-height:42px;font-size:14px}

.lp-summary{margin:24px 0;padding:18px;border-radius:var(--lp-radius);background:var(--lp-soft)}
.lp-summary h2{font-size:17px;font-weight:800;margin:0 0 8px}
.lp-summary p:last-child{margin-bottom:0}
.lp-yt-link a{color:var(--lp-muted);font-weight:600}
.lp-disclosure{font-size:12px;color:var(--lp-muted);background:var(--lp-soft);border-radius:10px;padding:10px 12px;margin:20px 0}

/* Video grid */
.lp-vgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 12px}
.lp-vcard{display:block;color:var(--lp-ink)!important;text-decoration:none!important}
.lp-vcard__media{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:var(--lp-soft)}
.lp-vcard__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.lp-vcard:hover .lp-vcard__media img{transform:scale(1.04)}
.lp-vcard__badge{position:absolute;left:8px;top:8px;background:var(--lp-red);color:#fff;font-size:10px;font-weight:800;padding:3px 7px;border-radius:999px}
.lp-vcard__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:800;margin:8px 0 2px;line-height:1.35;font-size:14px;letter-spacing:-.01em}
.lp-vcard__meta{font-size:12px;color:var(--lp-muted)}

/* Home */
.lp-home{margin:0 0 40px}
.lp-hero{position:relative;overflow:hidden;margin:0 0 18px;border-radius:20px;background:var(--lp-navy);color:#fff;padding:26px 20px}
.lp-hero::before,.lp-hero::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.lp-hero::before{width:220px;height:220px;right:-70px;top:-80px;background:var(--lp-teal);opacity:.35}
.lp-hero::after{width:140px;height:140px;right:40px;bottom:-70px;background:var(--lp-red);opacity:.55}
.lp-hero__inner{position:relative;z-index:1}
.lp-hero__brand{display:flex;align-items:center;gap:14px}
.lp-hero__mark{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:16px;background:#fff;flex:none}
.lp-hero__title{color:#fff;font-size:28px;line-height:1.1;margin:0;font-weight:900;letter-spacing:-.03em}
.lp-hero__tag{margin:6px 0 0;font-size:13px;opacity:.85}
.lp-hero__lead{margin:18px 0 16px;font-size:17px;line-height:1.5;letter-spacing:-.01em}
.lp-hero__lead strong{color:#fff;background:linear-gradient(transparent 60%,rgba(247,1,42,.75) 60%)}
.lp-hero__cta{display:flex;flex-wrap:wrap;gap:8px}
.lp-cta{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;font-weight:800;font-size:14px;text-decoration:none!important}
.lp-cta--yt{background:var(--lp-red);color:#fff!important}
.lp-cta--yt:hover{background:var(--lp-red-d)}
.lp-cta--ghost{background:rgba(255,255,255,.12);color:#fff!important;border:1px solid rgba(255,255,255,.3)}
.lp-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;margin:0 0 18px;scrollbar-width:none}
.lp-chips::-webkit-scrollbar{display:none}
.lp-chip{flex:none;padding:8px 14px;border-radius:999px;border:1px solid var(--lp-line);background:#fff;color:var(--lp-ink)!important;font-size:13px;font-weight:700;text-decoration:none!important}
.lp-chip.is-on{background:var(--lp-ink);border-color:var(--lp-ink);color:#fff!important}
.lp-sec{margin:0 0 30px}
.lp-sec__head{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 12px}
.lp-sec__head h2{font-size:20px;font-weight:900;margin:0;letter-spacing:-.02em}
.lp-sec__head a{font-size:13px;color:var(--lp-muted)!important;font-weight:700}
.lp-tiles{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.lp-tile{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;padding:10px;border:1px solid var(--lp-line);border-radius:14px;background:#fff;color:var(--lp-ink)!important;text-decoration:none!important;transition:border-color .15s}
.lp-tile:hover{border-color:var(--lp-red)}
.lp-tile__media{display:block;width:64px;height:64px;border-radius:10px;background:var(--lp-soft);overflow:hidden}
.lp-tile__media img{width:100%;height:100%;object-fit:cover;display:block}
.lp-tile__body{display:block;min-width:0}
.lp-tile__name{display:block;font-weight:800;font-size:15px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lp-tile__from{display:block;font-size:12px;color:var(--lp-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0 6px}
.lp-tile__meta{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--lp-muted)}
.lp-tile__meta .lp-mark{min-width:0;height:20px;font-size:9.5px}
.lp-tile__meta strong{color:var(--lp-ink);font-size:14px;margin-left:auto;white-space:nowrap}
.lp-how{padding:20px;border-radius:var(--lp-radius);background:var(--lp-soft)}
.lp-how h2{font-size:18px;font-weight:900;margin:0 0 12px}
.lp-how ol{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:s}
.lp-how li{display:grid;grid-template-columns:32px 1fr;column-gap:10px;align-items:center;counter-increment:s;margin:0}
.lp-how li::before{content:counter(s);grid-row:span 2;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--lp-red);color:#fff;font-weight:900}
.lp-how li span{font-size:13px;color:var(--lp-muted)}

@media (min-width:600px){
  .lp-offer{grid-template-columns:1fr auto 170px}
  .lp-btn{grid-column:auto}
  .lp-card{grid-template-columns:110px 1fr}
  .lp-card__media img,.lp-card__tile{width:110px;height:110px;font-size:32px}
  .lp-vgrid{grid-template-columns:repeat(3,1fr)}
  .lp-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-hero{padding:40px 36px}
  .lp-hero__title{font-size:38px}
  .lp-how ol{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:1000px){
  .lp-vgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Overflow guards (grid children must be allowed to shrink on phones) */
.lp-home,.lp-products,.lp-grid,.lp-card,.lp-card__body,.lp-offers,.lp-offer,.lp-offer__store{min-width:0;max-width:100%}
.lp-card{grid-template-columns:72px minmax(0,1fr)}
.lp-offer{grid-template-columns:minmax(0,1fr) auto}
.lp-vgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:600px){
  .lp-card{grid-template-columns:110px minmax(0,1fr)}
  .lp-offer{grid-template-columns:minmax(0,1fr) auto 170px}
  .lp-vgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1000px){ .lp-vgrid{grid-template-columns:repeat(4,minmax(0,1fr))} }

/* Phone tuning: compact card head, full-width offers, shorts player leaves room for products */
.lp-card{align-items:center}
.lp-card>.lp-offers{grid-column:1/-1;margin:2px 0 0}
.lp-player--short{width:min(100%,340px,calc(58vh * 9 / 16))}
@media (max-width:599px){
  .lp-card{grid-template-columns:52px minmax(0,1fr);padding:12px}
  .lp-card__media img,.lp-card__tile{width:52px;height:52px;font-size:18px;border-radius:10px}
  .lp-card__title{font-size:15px;margin:0 0 2px}
  .lp-card__desc{margin:0}
}

.lp-card .lp-seek{display:inline-flex!important;align-items:center;gap:4px;width:auto!important;min-height:0!important;height:auto!important;margin:6px 0 0!important;padding:3px 10px!important;border:0!important;border-radius:999px!important;background:#fff0f2!important;color:var(--lp-red)!important;font-size:12px!important;font-weight:800!important;cursor:pointer;line-height:1.6!important;box-shadow:none!important;text-transform:none!important}
.lp-card .lp-seek:hover{background:#ffe0e5!important}
.lp-card__media img{aspect-ratio:1;object-fit:cover}

/* Generic link badge for shops without a built-in logo */
.lp-mark--link{min-width:26px;width:26px;background:var(--lp-navy);color:#fff;font-size:13px}

/* Buy-link rows v2 (2026-11-28). Rows size from their own width, not the viewport: on desktop the
   video grid has 2 columns, so a card is ~370px wide and the old 3-column row (fixed 170px button)
   squeezed the name to one character. */
.lp-offers{container-type:inline-size;container-name:lpoffers}
.lp-offer,.lp-offers--compact .lp-offer{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.lp-offer .lp-btn{grid-column:1/-1}
@container lpoffers (min-width:540px){
  .lp-offer,.lp-offers--compact .lp-offer{grid-template-columns:minmax(0,1fr) auto 160px}
  .lp-offer .lp-btn{grid-column:auto}
}
.lp-offer__store{align-items:flex-start;gap:10px}
.lp-offer__main{display:flex;flex-direction:column;gap:2px;min-width:0}
.lp-offer__shop{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--lp-muted);line-height:1.3}
.lp-offer__name{white-space:normal;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;word-break:keep-all;line-height:1.35;font-size:14px;color:var(--lp-ink)}
.lp-offer__tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}
.lp-tag{display:inline-block;font-size:11px;line-height:1.5;padding:0 6px;border-radius:6px;background:var(--lp-soft);color:var(--lp-ink);font-weight:600}
.lp-tag--old{background:#fff7e6;color:#9a5b00;font-weight:700}
.lp-vhead .lp-tag--old{vertical-align:2px;margin-left:6px}
.lp-tag--code{background:#fff0f2;color:var(--lp-red);font-weight:800}
.lp-offer__meta{white-space:nowrap;align-self:center}
.lp-offer__off{color:var(--lp-red);margin-right:4px}
.lp-offer__was{display:block;font-size:11px;color:var(--lp-muted)}
.lp-shoplogo{flex:none;width:28px;height:28px;border-radius:7px;object-fit:contain;background:#fff;border:1px solid var(--lp-line);padding:2px;box-sizing:border-box}
.lp-offer .lp-mark{min-width:28px;max-width:72px;height:28px;flex:none}
.lp-mark--text{background:var(--lp-navy);color:#fff;font-size:11px;letter-spacing:0;min-width:28px;padding:0 5px}
.lp-offer__shop .lp-badge{padding:1px 7px;font-size:10.5px}

/* 2026-11-29: TOP 5, sticky cheapest bar, share, code copy, older deals, search */
.lp-top5{margin:0 0 18px;padding:14px 16px;border-radius:var(--lp-radius);background:#fff5f6;border:1px solid #ffd6dd}
.lp-top5__title{font-size:16px;font-weight:900;margin:0 0 8px;color:var(--lp-red)}
.lp-top5__list{margin:0;padding:0;list-style:none;counter-reset:t;display:grid;gap:6px}
.lp-top5__list li{counter-increment:t;margin:0}
.lp-top5__list a{display:flex;align-items:center;gap:10px;color:var(--lp-ink)!important;text-decoration:none!important;font-size:14px}
.lp-top5__list a::before{content:counter(t);flex:none;width:22px;height:22px;border-radius:50%;background:var(--lp-red);color:#fff;font-weight:900;font-size:12px;display:flex;align-items:center;justify-content:center}
.lp-top5__name{flex:1;min-width:0;font-weight:700;overflow-wrap:anywhere}
.lp-top5__list strong{flex:none;font-weight:900}
.lp-sticky{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 14px;border-radius:12px;background:var(--lp-navy);color:#fff!important;text-decoration:none!important;font-size:13px;box-shadow:0 4px 14px rgba(0,0,0,.15)}
.lp-sticky__k{flex:none;background:var(--lp-red);border-radius:999px;padding:2px 8px;font-weight:800;font-size:11px}
.lp-sticky__n{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
.lp-sticky strong{flex:none;font-size:15px}
.lp-sticky__s{flex:none;opacity:.8;font-size:12px}
.lp-share{display:flex;gap:8px;margin:-8px 0 16px}
.lp-share__btn{flex:1;min-height:40px;border-radius:10px;border:1px solid var(--lp-line)!important;background:#fff!important;color:var(--lp-ink)!important;font-weight:800!important;font-size:13px!important;cursor:pointer;text-transform:none!important;padding:0 10px!important}
.lp-share__kakao{background:#fee500!important;border-color:#fee500!important;color:#191919!important}
button.lp-tag{border:0;cursor:pointer;font:inherit;font-size:11px;line-height:1.5;padding:0 6px!important;min-height:0!important;height:auto!important;text-transform:none!important;width:auto!important}
.lp-copy__ic{font-size:10px;margin-left:2px}
.lp-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:9999;background:#111827;color:#fff;padding:10px 16px;border-radius:999px;font-size:13px;font-weight:700;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.lp-toast[hidden]{display:none}
.lp-older{margin:8px 0 0}
.lp-older summary{cursor:pointer;font-size:12px;font-weight:800;color:var(--lp-muted);padding:4px 2px}
.lp-older .lp-offers__list{margin-top:6px;opacity:.85}
.lp-offer.is-old .lp-btn{background:#6b7280}
.lp-vchips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:var(--lp-muted)}
.lp-vchip{display:inline-block;padding:3px 10px;border-radius:999px;background:#fff0f2;color:var(--lp-red)!important;font-weight:700;text-decoration:none!important}
.lp-searchbar{background:#f5f6fa;border-bottom:1px solid var(--lp-line);padding:8px 16px}
.lp-search{display:flex;gap:6px;max-width:720px;margin:0 auto}
.lp-search input[type=search]{flex:1;min-width:0;height:38px;border-radius:10px;border:1px solid var(--lp-line);padding:0 12px;font-size:14px;background:#fff}
.lp-search button{height:38px;min-height:38px;padding:0 14px;border-radius:10px;background:var(--lp-navy);color:#fff;font-weight:800;border:0}

/* Video page header */
.lp-vhead{margin:4px 0 14px}
.lp-vhead__kicker{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.08em;color:var(--lp-red)}
.lp-vhead__title{font-size:22px;line-height:1.35;font-weight:900;letter-spacing:-.03em;margin:4px 0 0}
@media (min-width:600px){ .lp-vhead__title{font-size:28px} }

/* 2026-12-01: store guide on store category pages (store-guide.php) */
.lp-sg{margin:0 0 22px;padding:16px;border:1px solid var(--lp-line);border-radius:var(--lp-radius);background:var(--lp-bg)}
.lp-sg__title{font-size:19px;font-weight:900;letter-spacing:-.02em;margin:0 0 4px;line-height:1.3}
.lp-sg__lead{font-size:12px;color:var(--lp-muted);margin:0 0 10px}
.lp-sg__row{padding:12px 0 0;margin:12px 0 0;border-top:1px solid var(--lp-line)}
.lp-sg__h{font-size:14px;font-weight:800;margin:0 0 8px;color:var(--lp-navy);letter-spacing:-.01em}
.lp-sg__txt{margin:0;font-size:14px;line-height:1.55;color:var(--lp-ink)}
.lp-sg__codes,.lp-sg__vids{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lp-sg__code{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;align-items:start;margin:0;padding:10px;border-radius:12px;background:var(--lp-soft)}
button.lp-tag.lp-sg__btn{font:800 15px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;letter-spacing:.03em;padding:8px 10px!important;border:1.5px dashed var(--lp-red)!important;border-radius:8px;background:#fff!important;color:var(--lp-red)!important;white-space:nowrap}
button.lp-tag.lp-sg__btn:hover{background:#fff0f2!important}
.lp-sg__code.is-old .lp-sg__btn{opacity:.7}
.lp-sg__info{min-width:0;font-size:13px;line-height:1.45}
.lp-sg__info strong{color:var(--lp-red);font-weight:900}
.lp-sg__ctx{color:var(--lp-ink)}
.lp-sg__src{display:inline-block;font-size:12px;color:var(--lp-muted);white-space:nowrap}
.lp-sg__info .lp-sg__src{display:block;margin-top:2px}
.lp-sg__src a{color:var(--lp-muted);text-decoration:underline}
.lp-sg__badge{display:inline-block;font-size:12px;font-weight:800;border-radius:999px;padding:2px 9px;margin-right:2px;vertical-align:1px}
.lp-sg__badge.is-direct{background:#e6f6f4;color:#11756a}
.lp-sg__badge.is-fwd{background:#fff1e6;color:#a64b00}
.lp-sg__badge.is-mixed{background:#eef0f8;color:var(--lp-navy)}
.lp-sg__vids li{margin:0;font-size:14px;line-height:1.4}
.lp-sg__vids a{color:var(--lp-ink);font-weight:700}
.lp-sg__vids .lp-sg__src{margin-left:4px}
.lp-sg__note{margin:12px 0 0;font-size:12px;color:var(--lp-muted)}
@media (min-width:768px){.lp-sg{padding:20px 22px}.lp-sg__title{font-size:21px}.lp-sg__codes{grid-template-columns:repeat(2,minmax(0,1fr))}}
