/* ==========================================================================
   LOUIS YOGA – BLACK FRIDAY 2026 · bản 3 (18/11/2026) – theo bộ poster + key visual của anh Công
   Nền trắng chấm bi, dải/khối đen đặc, đỏ #d62c35, Montserrat đậm, nhãn khối đỏ "GIẢM ĐẾN",
   khối giá cũ đỏ gạch ngang + "Chỉ còn" khối đen, ô ngày kiểu lịch lật (ô đầu đỏ).
   Tiền tố .lybf-   |   bật/tắt: snippets/lybf-config.bwt
   ========================================================================== */
:root{--bf-red:#d62c35;--bf-ink:#111;--bf-f:Montserrat,Arial,sans-serif}
.lybf-root,.lybf-root *{box-sizing:border-box}
.lybf-root{font-family:var(--bf-f);line-height:1.15;color:var(--bf-ink);-webkit-font-smoothing:antialiased}
html body .lybf-root :is(h1,h2,h3,p){margin:0;padding:0;font-family:var(--bf-f)!important;text-align:inherit!important;letter-spacing:inherit;color:inherit;text-transform:none}
html body .lybf-root a{text-decoration:none!important}
.lybf-root svg{display:inline-block}
.lybf-logo,.lybf-root .lybf-logo{display:block;height:auto;overflow:visible}
.lybf-wrap{max-width:1320px;margin:0 auto;padding:0 clamp(16px,3.4vw,48px)}
.lybf-dots{background-color:#fff;background-image:radial-gradient(circle,#e6e6e6 2.4px,transparent 3px);background-size:64px 64px;background-position:22px 22px}
.lybf-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- khối chữ dùng chung (giống poster) ---------- */
.lybf-giam{display:inline-block;padding:.34em .62em .3em;background:var(--bf-red);color:#fff;font:800 15px/1 var(--bf-f);letter-spacing:.01em;text-transform:uppercase;white-space:nowrap}
.lybf-pct{display:flex;align-items:flex-start;font:800 64px/.9 var(--bf-f);letter-spacing:-.04em;color:var(--bf-ink)}
.lybf-pct sup{position:static;font-size:.5em;line-height:1;margin:.04em 0 0 .04em;letter-spacing:0;font-weight:800}
.lybf-ask{font:700 22px/1.35 var(--bf-f);color:var(--bf-ink)}
.lybf-ask span{display:block}
.lybf-ask b{display:inline-block;margin:.08em .22em .08em -.12em;padding:0 .14em;background:var(--bf-red);color:#fff;font-weight:700}
.lybf-big{font:800 clamp(34px,4.4vw,64px)/1 var(--bf-f);letter-spacing:-.02em;text-transform:uppercase;color:var(--bf-ink)}
.lybf-big em{font-style:normal;color:var(--bf-red)}

/* ---------- nút khối ---------- */
html body .lybf-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:58px;padding:0 30px;border:0;border-radius:8px;background:var(--bf-red);color:#fff!important;font:800 18px/1 var(--bf-f)!important;text-transform:uppercase;white-space:nowrap;overflow:hidden;cursor:pointer;transition:transform .25s,box-shadow .25s}
html body .lybf-btn--ink{background:var(--bf-ink)}
.lybf-btn::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.4),transparent);transform:skewX(-20deg);animation:lybf-shine 3.8s ease-in-out 1.2s infinite}
.lybf-btn--ink::after{display:none}
@media (hover:hover){.lybf-btn:hover{transform:translateY(-3px);box-shadow:0 12px 22px -12px rgba(214,44,53,.9)}.lybf-btn--ink:hover{box-shadow:0 12px 22px -12px rgba(0,0,0,.7)}}
@keyframes lybf-shine{0%,58%{left:-60%}100%{left:130%}}

/* ---------- ô lịch lật (ngày/tháng/năm & đếm ngược) ---------- */
.lybf-tiles{display:inline-flex;gap:8px}
.lybf-tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;width:var(--t,92px);height:var(--t,92px);padding:0 0 calc(var(--t,92px)*.1);background:#141414;color:#fff;overflow:hidden;box-shadow:0 6px 14px -8px rgba(0,0,0,.6)}
.lybf-tile:first-child{background:var(--bf-red)}
.lybf-tile small{position:absolute;left:calc(var(--t,92px)*.1);top:calc(var(--t,92px)*.08);font:400 calc(var(--t,92px)*.12)/1 var(--bf-f);color:#fff}
.lybf-tile b{display:block;text-align:center;font:800 calc(var(--t,92px)*.56)/1 var(--bf-f);letter-spacing:-.02em;font-variant-numeric:tabular-nums;background:linear-gradient(180deg,#fff 0 56%,#8d8d8d 56%,#fff 84%);-webkit-background-clip:text;background-clip:text;color:transparent}
.lybf-tile::after{content:"";position:absolute;left:0;right:0;top:58%;height:22%;background:linear-gradient(180deg,rgba(0,0,0,.42),transparent);pointer-events:none}
.lybf-tile b.is-tick{animation:lybf-flip .45s cubic-bezier(.3,.8,.3,1)}
@keyframes lybf-flip{0%{transform:perspective(200px) rotateX(-90deg);opacity:.3}100%{transform:none;opacity:1}}
.lybf-from{display:block;margin-bottom:6px;font:500 13px/1 var(--bf-f);color:#fff}
.lybf-gold7{display:inline-block;margin-top:8px;padding:5px 12px;background:var(--bf-red);color:#fff;font:800 12px/1 var(--bf-f);text-transform:uppercase}
.lybf-cdt{display:block;margin-bottom:8px;font:800 20px/1 var(--bf-f);text-transform:uppercase}

/* ---------- dải ribbon chữ chạy ---------- */
.lybf-mq{display:flex;overflow:hidden;background:var(--bf-red);color:#fff;font:500 18px/1 var(--bf-f);white-space:nowrap;user-select:none;box-shadow:inset 0 -6px 10px -8px rgba(0,0,0,.35),inset 0 6px 10px -8px rgba(255,255,255,.3)}
.lybf-mq-in{display:flex;flex:none;min-width:100%;animation:lybf-mq 28s linear infinite}
.lybf-mq-in span{flex:none;padding:14px 22px}
@media (hover:hover){.lybf-mq:hover .lybf-mq-in{animation-play-state:paused}}
@keyframes lybf-mq{to{transform:translate3d(-100%,0,0)}}
@media (max-width:767px){.lybf-mq{font-size:13px}.lybf-mq-in{animation-duration:20s}.lybf-mq-in span{padding:10px 13px}}

/* ==========================================================================
   1. ẢNH BÌA – PC/tablet: các lớp tách từ key visual (khung 3698×1233); điện thoại: ảnh tĩnh anh gửi
   ========================================================================== */
.lyxs.lyxs--bf{min-height:0!important}
.lyxs-bf-s{position:absolute;inset:0}
.lybf-hero{--u:calc(100vw/3698)}
.lybf-h-stage{position:absolute;inset:0;display:block;overflow:hidden;background:#fff;isolation:isolate}
.lybf-h-stage>*{position:absolute}
.lybf-h-k{inset:0}
.lybf-h-k>*{position:absolute;display:block;left:calc(var(--u)*var(--x));top:calc(var(--u)*var(--y));width:calc(var(--u)*var(--w));height:calc(var(--u)*var(--h))}
.lybf-h-k img{display:block;width:100%;height:100%;max-width:none}
.lybf-h-k .k-bg img{object-fit:cover}
.lybf-h-k .k-black{background:#000}
html body .lybf-h-mb{display:none!important}
/* hiệu ứng: chạy mỗi lần slide hiện (slider gắn .is-play) */
@keyframes lybf-fade{from{opacity:0}to{opacity:1}}
@keyframes lybf-blk{from{transform:translateX(-101%)}to{transform:none}}
@keyframes lybf-pop{0%{opacity:0;transform:scale(.6) rotate(-8deg)}60%{opacity:1;transform:scale(1.06) rotate(1.5deg)}100%{opacity:1;transform:none}}
@keyframes lybf-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes lybf-wipe-l{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0)}}
@keyframes lybf-slam{0%{opacity:0;transform:translateY(18%) scale(1.25)}55%{opacity:1;transform:translateY(-2%) scale(.97)}100%{opacity:1;transform:none}}
@keyframes lybf-rise{0%{opacity:0;transform:translateY(16%) rotate(4deg)}65%{opacity:1;transform:translateY(-1.5%)}100%{opacity:1;transform:none}}
@keyframes lybf-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.2%)}}
@keyframes lybf-up{from{opacity:0;transform:translateY(30%)}to{opacity:1;transform:none}}
.lybf-h-k .k-logo{transform-origin:20% 70%}.lybf-h-k .k-pct{transform-origin:0 100%}
:is(.is-play,.lybf-solo) .k-bg{animation:lybf-fade .9s ease both}
:is(.is-play,.lybf-solo) .k-black{animation:lybf-blk .7s cubic-bezier(.7,0,.2,1) both}
:is(.is-play,.lybf-solo) .k-logo{animation:lybf-pop .7s cubic-bezier(.2,.9,.3,1.2) .35s both}
:is(.is-play,.lybf-solo) .k-giam{animation:lybf-wipe .5s cubic-bezier(.6,0,.2,1) .7s both}
:is(.is-play,.lybf-solo) .k-pct{animation:lybf-slam .7s cubic-bezier(.2,.8,.2,1) .85s both}
:is(.is-play,.lybf-solo) .k-m{animation:lybf-rise .9s cubic-bezier(.2,.8,.25,1) both}
:is(.is-play,.lybf-solo) .k-diamond{animation-delay:.45s}:is(.is-play,.lybf-solo) .k-nature{animation-delay:.58s}:is(.is-play,.lybf-solo) .k-lilium{animation-delay:.71s}:is(.is-play,.lybf-solo) .k-basiczen{animation-delay:.84s}
:is(.is-play,.lybf-solo) .k-m img{animation:lybf-float 5.5s ease-in-out 2.6s infinite}
:is(.is-play,.lybf-solo) .k-nature img{animation-delay:3.1s}:is(.is-play,.lybf-solo) .k-lilium img{animation-delay:3.6s}:is(.is-play,.lybf-solo) .k-basiczen img{animation-delay:4.1s}
:is(.is-play,.lybf-solo) .k-tailL{animation:lybf-wipe 1s cubic-bezier(.5,0,.2,1) 1.05s both}
:is(.is-play,.lybf-solo) .k-ringB{animation:lybf-wipe-l .8s cubic-bezier(.5,0,.2,1) 1.6s both}
:is(.is-play,.lybf-solo) .k-ringF{animation:lybf-wipe .8s cubic-bezier(.5,0,.2,1) 1.85s both}
:is(.is-play,.lybf-solo) .k-tailR{animation:lybf-wipe .7s cubic-bezier(.5,0,.2,1) 2.3s both}
:is(.is-play,.lybf-solo) .k-ask{animation:lybf-up .7s cubic-bezier(.2,.8,.2,1) 1.4s both}
@media (min-width:768px){.lybf-solo .lybf-h-stage{position:relative;inset:auto;height:calc(100vw/3)}}
@media (max-width:767px){
  .lyxs.lyxs--bf{aspect-ratio:1600/698}
  .lyxs--bf .lyxs-hero-s{position:absolute;inset:0}.lyxs--bf .lyxs-hero-s .lyxh-hero{height:100%}
  .lyxs--bf~.lybf-mq{display:none}
  .lybf-h-k{display:none}
  html body .lybf-h-mb{display:block!important;inset:0;width:100%;height:100%;object-fit:cover}
  .is-play .lybf-h-mb{animation:lybf-fade .8s ease both}
}
.lyxs--bf .lyxs-dots{left:auto;right:clamp(8px,1.4vw,26px);bottom:clamp(4px,.9vw,14px)}

/* ==========================================================================
   2. THẺ POSTER SẢN PHẨM (khối trang chủ + trang Black Friday)
   ========================================================================== */
.lybf-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.6vw,24px)}
.lybf-card{position:relative;display:block;aspect-ratio:4/5.4;padding:7% 7% 0;background:#fff;color:var(--bf-ink)!important;overflow:hidden;isolation:isolate;box-shadow:0 1px 0 rgba(0,0,0,.06),0 14px 30px -22px rgba(0,0,0,.45);container-type:inline-size;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.lybf-card.lybf-dots{background-size:16.666cqw 16.666cqw}
.lybf-card-col{display:block;font:500 3.6cqw/1 var(--bf-f);text-transform:uppercase}
.lybf-card-name{display:block;margin-top:2.6cqw;font:800 7.6cqw/1.05 var(--bf-f)}
.lybf-card-sub{display:block;margin-top:1.4cqw;font:400 4cqw/1.2 var(--bf-f)}
.lybf-card .lybf-giam{position:relative;z-index:2;margin-top:6cqw;font-size:4.4cqw}
.lybf-card .lybf-pct{position:relative;z-index:2;margin-top:1.4cqw;font-size:17cqw}
.lybf-card-mat{position:absolute;right:11%;top:21%;height:54%;width:auto;max-width:none;transform:rotate(7deg);transform-origin:50% 100%;filter:drop-shadow(-2cqw 3cqw 3cqw rgba(0,0,0,.28));z-index:1;transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.lybf-price{position:absolute;right:5%;bottom:15.5%;z-index:3;display:flex;flex-direction:column;align-items:flex-end}
.lybf-old{display:flex;align-items:flex-start;padding:1.6cqw 2.6cqw 1.4cqw;background:var(--bf-red);color:#fff;font:800 9.4cqw/1 var(--bf-f);letter-spacing:-.02em}
.lybf-old s{text-decoration:none;position:relative}
.lybf-old s::after{content:"";position:absolute;left:-2%;right:-30%;top:50%;height:.09em;background:#fff;transform:translateY(-10%)}
.lybf-old i,.lybf-now i{font-style:normal;font-size:.44em;line-height:.95;margin-left:.08em;text-align:left}
.lybf-now{display:flex;align-items:center;gap:1.8cqw;margin-top:-.4cqw}
.lybf-now em{font:800 5.2cqw/1 var(--bf-f);font-style:normal;text-align:left}
.lybf-now b{display:flex;align-items:flex-start;padding:1.6cqw 2.6cqw 1.4cqw;background:var(--bf-ink);color:#fff;font:800 10.4cqw/1 var(--bf-f);letter-spacing:-.02em}
.lybf-card-cta{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:2cqw;height:12%;background:var(--bf-ink);color:#fff;font:800 4.6cqw/1 var(--bf-f);text-transform:uppercase;transition:background .25s}
.lybf-card-cta i{display:inline-flex;align-items:center;gap:2cqw;font-style:normal}
.lybf-card-cta .lybf-c-pre{display:none}
html.lybf-before .lybf-card-cta .lybf-c-pre{display:inline-flex}
html.lybf-before .lybf-card-cta .lybf-c-now{display:none}
.lybf-card-cta svg{width:5cqw;height:3cqw;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;transition:transform .3s}
@media (hover:hover){.lybf-card:hover{transform:translateY(-6px);box-shadow:0 22px 40px -24px rgba(0,0,0,.55)}.lybf-card:hover .lybf-card-mat{transform:rotate(3deg) translateY(-3%) scale(1.03)}.lybf-card:hover .lybf-card-cta{background:var(--bf-red)}.lybf-card:hover .lybf-card-cta svg{transform:translateX(4px)}}
@media (max-width:1023px){.lybf-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ==========================================================================
   3. KHỐI BLACK FRIDAY TRANG CHỦ (thay khối "Săn sale")
   ========================================================================== */
.lybf-home{margin:clamp(28px,4vw,56px) 0}
.lybf-band{background:#000;color:#fff}
.lybf-band-in{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:28px;padding-bottom:28px}
.lybf-band .lybf-logo{width:clamp(130px,13vw,190px);color:#fff;--tag:#d62c35;--num:#fff}
.lybf-band .lybf-ask{color:#fff;font-size:clamp(17px,1.7vw,24px)}
.lybf-band-cd{display:flex;flex-direction:column;align-items:flex-end}
.lybf-band-cd .lybf-cdt{color:#fff}
.lybf-band-cd .lybf-gold7{margin-top:8px}
.lybf-band .lybf-tiles{--t:clamp(56px,6vw,84px)}
.lybf-home-body{padding:clamp(26px,3.4vw,48px) 0 clamp(26px,3vw,44px)}
.lybf-home-foot{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:clamp(24px,3vw,40px)}
.lybf-perks{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 26px;margin-top:16px;font:600 14px/1.4 var(--bf-f);color:#333}
.lybf-perks span{display:inline-flex;align-items:center;gap:8px}
.lybf-perks span::before{content:"";width:8px;height:8px;background:var(--bf-red)}
@media (max-width:767px){
  .lybf-band-in{flex-wrap:wrap;gap:16px;padding-top:20px;padding-bottom:20px}
  .lybf-band .lybf-logo{width:110px}
  .lybf-band .lybf-ask{display:none}
  .lybf-band .lybf-tiles{--t:52px;gap:5px}
  .lybf-band-cd .lybf-cdt{font-size:14px;margin-bottom:6px}
  .lybf-home .lybf-cards{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 calc(-1 * clamp(16px,3.4vw,48px));padding:4px clamp(16px,3.4vw,48px) 12px;scrollbar-width:none}
  .lybf-home .lybf-cards::-webkit-scrollbar{display:none}
  .lybf-home .lybf-card{flex:0 0 76%;scroll-snap-align:center}
  .lybf-home-foot .lybf-btn{flex:1 1 calc(50% - 7px);min-width:0;padding:0 8px;min-height:48px;font-size:clamp(11px,3.4vw,15px)!important}
  .lybf-perks{font-size:12px;gap:4px 16px}
}

/* ==========================================================================
   4. TAG BLACK FRIDAY TRÊN THẺ SẢN PHẨM — 2 khối như poster: đen (logo) + đỏ (−%)
   Hiệu ứng 1 nhịp liền: khối đen hạ xuống → khối đỏ quét ra → số % chạy từ 0 → ánh sáng lướt định kỳ
   ========================================================================== */
.lyx-card.lybf-on,.ly-card.lybf-on{position:relative}
html body .lybf-on .lyx-card-sale{display:none!important}
.lybf-tag{position:absolute;left:10px;top:10px;z-index:4;display:flex;flex-direction:column;width:68px;pointer-events:none;font-family:var(--bf-f);box-shadow:0 12px 20px -12px rgba(0,0,0,.6);isolation:isolate;overflow:hidden}
.lybf-tag-top{display:flex;align-items:center;justify-content:center;height:46px;background:#000}
.lybf-tag-top .lybf-logo{width:50px;color:#fff;--tag:#d62c35;--num:#fff}
.lybf-tag-bot{display:flex;align-items:center;justify-content:center;height:30px;background:var(--bf-red);color:#fff;font:800 19px/1 var(--bf-f);letter-spacing:-.02em;white-space:nowrap}
.lybf-tag-bot sup{position:static;font-size:.55em;line-height:1;margin:-.35em 0 0 1px;font-weight:800}
.lybf-tag::after{content:"";position:absolute;top:0;bottom:0;left:-75%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-18deg);z-index:2}
.lybf-anim .lybf-tag:not(.is-in){visibility:hidden}
.lybf-tag.is-in .lybf-tag-top{animation:lybf-tag-drop .5s cubic-bezier(.2,.9,.3,1) both}
.lybf-tag.is-in .lybf-tag-bot{animation:lybf-tag-wipe .45s cubic-bezier(.6,0,.2,1) .32s both}
.lybf-tag.is-in::after{animation:lybf-tag-sheen 4.8s ease-in-out infinite;animation-delay:calc(.9s + var(--d,0s))}
@keyframes lybf-tag-drop{from{clip-path:inset(0 0 100% 0);transform:translateY(-8px)}to{clip-path:inset(0);transform:none}}
@keyframes lybf-tag-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes lybf-tag-sheen{0%{left:-75%}22%,100%{left:135%}}
@media (max-width:767px){.lybf-tag{left:7px;top:7px;width:52px}.lybf-tag-top{height:34px}.lybf-tag-top .lybf-logo{width:38px}.lybf-tag-bot{height:23px;font-size:15px}}

/* ==========================================================================
   5. TRANG SẢN PHẨM
   PC: dải đen dưới đầu trang (logo · tên thảm · giảm % · đếm ngược). Dưới giá: khối ưu đãi kiểu poster.
   Điện thoại: không có dải chạy; huy hiệu góc ảnh + khối ưu đãi dưới giá.
   ========================================================================== */
.lybf-pbar{background:#000;color:#fff}
.lybf-pbar-in{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:74px;padding-top:10px;padding-bottom:10px}
.lybf-pbar-l{display:flex;align-items:center;gap:22px}
.lybf-pbar .lybf-logo{width:92px;color:#fff;--tag:#d62c35;--num:#fff}
.lybf-pbar-t{display:flex;flex-direction:column;gap:6px}
.lybf-pbar-t b{font:800 18px/1.1 var(--bf-f);text-transform:uppercase}
.lybf-pbar-t span{align-self:flex-start;padding:4px 8px;background:var(--bf-red);font:800 12px/1 var(--bf-f);text-transform:uppercase}
.lybf-pbar-r{display:flex;align-items:center;gap:14px}
.lybf-pbar-r .lybf-cdt{margin:0;font-size:15px;text-align:right;max-width:76px;line-height:1.1}
.lybf-pbar .lybf-tiles{--t:52px;gap:5px}
@media (max-width:767px){.lybf-pbar{display:none}}
.lybf-corner-wrap--pc{display:none}
.lybf-corner-wrap--m{position:absolute;left:0;right:0;bottom:0;height:0;z-index:5;pointer-events:none}
.lybf-corner{position:absolute;left:0;bottom:0;display:flex;flex-direction:column;width:96px;pointer-events:none;box-shadow:0 12px 24px -12px rgba(0,0,0,.6);animation:lybf-tag-drop .6s cubic-bezier(.2,.9,.3,1) .4s both}
.lybf-corner-a{display:flex;align-items:center;justify-content:center;padding:12px 12px 10px;background:#000}
.lybf-corner-a .lybf-logo{width:100%;color:#fff;--tag:#d62c35;--num:#fff}
.lybf-corner-b{display:flex;align-items:center;justify-content:center;height:30px;background:var(--bf-red);color:#fff;font:800 15px/1 var(--bf-f);text-transform:uppercase;animation:lybf-tag-wipe .45s cubic-bezier(.6,0,.2,1) .8s both}
@media (min-width:768px){.lybf-corner-wrap--m{display:none}.lybf-corner-wrap--pc{display:block;position:sticky;bottom:24px;z-index:5;height:0;pointer-events:none}.lybf-corner-wrap--pc .lybf-corner{left:0;width:128px}.lybf-corner-wrap--pc .lybf-corner-a{padding:16px 16px 13px}.lybf-corner-wrap--pc .lybf-corner-b{height:38px;font-size:18px}}
/* khối ưu đãi dưới giá */
.lybf-pbox{flex-wrap:wrap!important}
.lybf-pbox .lybf-pdeal{flex:1 0 100%;width:100%}
.lybf-pdeal{margin:16px 0 6px;font-family:var(--bf-f);box-shadow:0 14px 28px -20px rgba(0,0,0,.5)}
.lybf-pd-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#000;color:#fff}
.lybf-pd-off{display:flex;align-items:center;gap:12px}
.lybf-pd-off .lybf-logo{width:64px;color:#fff;--tag:#d62c35;--num:#fff}
.lybf-pd-off span{display:flex;flex-direction:column;gap:4px}
.lybf-pd-off small{align-self:flex-start;padding:3px 6px;background:var(--bf-red);font:800 10px/1 var(--bf-f);text-transform:uppercase}
.lybf-pd-off b{display:flex;align-items:flex-start;font:800 34px/.9 var(--bf-f);letter-spacing:-.03em}
.lybf-pd-off b sup{position:static;font-size:.5em;line-height:1;margin:.05em 0 0 1px}
.lybf-pd-cd{display:flex;flex-direction:column;align-items:flex-end}
.lybf-pd-cd .lybf-cdt{margin-bottom:6px;font-size:13px}
.lybf-pd-cd .lybf-tiles{--t:44px;gap:4px}
.lybf-pd-bot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #e3e3e3;border-top:0;background:#fff}
.lybf-pd-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lybf-pdeal .lybf-old,.lybf-pdeal .lybf-now b{padding:6px 9px 5px;font-size:24px}
.lybf-pdeal .lybf-now{margin:0;gap:7px}
.lybf-pdeal .lybf-now em{font-size:12px}
.lybf-pd-save{flex:none;text-align:right;font:600 12px/1.3 var(--bf-f);color:#444}
.lybf-pd-save b{display:block;font:800 17px/1.1 var(--bf-f);color:var(--bf-red)}
@media (max-width:767px){
  .lybf-pd-top{padding:10px}
  .lybf-pd-off{gap:8px}.lybf-pd-off .lybf-logo{width:48px}.lybf-pd-off b{font-size:28px}
  .lybf-pd-cd .lybf-cdt{font-size:11px;margin-bottom:4px}
  .lybf-pd-cd .lybf-tiles{--t:clamp(34px,9.6vw,40px);gap:3px}
  .lybf-pd-bot{flex-direction:column;align-items:flex-start;padding:12px 10px;gap:8px}
  .lybf-pdeal .lybf-old,.lybf-pdeal .lybf-now b{font-size:21px}
  .lybf-pd-save{text-align:left;display:flex;gap:6px;align-items:baseline}.lybf-pd-save b{display:inline;font-size:15px}
}

/* ==========================================================================
   6. TRANG BLACK FRIDAY (/black-friday)
   ========================================================================== */
.lybf-page{background:#fff}
.lybf-p-hero{position:relative;background:#fff}
.lybf-p-hero .lybf-h-stage{position:relative;inset:auto;height:calc(100vw/3)}
html body .lybf-p-cover{display:none!important}
.lybf-p-band .lybf-band-in{padding-top:30px;padding-bottom:30px}
.lybf-band-date{display:flex;flex-direction:column;align-items:flex-start}
.lybf-band-date .lybf-tiles{--t:clamp(56px,6vw,84px)}
.lybf-band-date .lybf-big{color:#fff;font-size:clamp(24px,2.8vw,40px);margin-bottom:12px}
@media (max-width:767px){.lybf-band-date .lybf-tiles{--t:52px;gap:5px}.lybf-band-date .lybf-big{font-size:18px;margin-bottom:8px}.lybf-p-band .lybf-band-in{justify-content:center}}
.lybf-p-sec{padding:clamp(40px,5vw,76px) 0}
.lybf-p-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:clamp(22px,3vw,40px)}
.lybf-p-head .lybf-ask{max-width:360px;text-align:right}
.lybf-p-deals .lybf-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.lybf-p-perks{background:#000;color:#fff}
.lybf-p-perks-in{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.lybf-p-perk{display:flex;align-items:center;gap:14px;padding:22px clamp(10px,1.6vw,22px)}
.lybf-p-perk+.lybf-p-perk{border-left:1px solid #333}
.lybf-p-perk i{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--bf-red)}
.lybf-p-perk svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lybf-p-perk b{display:block;font:800 15px/1.25 var(--bf-f);text-transform:uppercase}
.lybf-p-perk small{display:block;margin-top:3px;font:500 13px/1.35 var(--bf-f);color:#bbb}
.lybf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2vw,28px)}
.lybf-more{display:flex;justify-content:center;margin-top:clamp(26px,3vw,40px)}
/* kết trang: kiểu poster "CHỈ CÒN 2 NGÀY" — cả khối căn giữa trang, mọi thứ bên trong căn TRÁI theo một mép, rộng đúng bằng hàng ô lịch */
.lybf-p-end{padding:clamp(48px,6vw,90px) 0 clamp(54px,6vw,96px)}
.lybf-endbox{--W:min(640px,calc(100vw - 32px));width:var(--W);margin:0 auto;display:flex;flex-direction:column;align-items:stretch;text-align:left}
.lybf-last{display:flex;align-items:stretch;gap:calc(var(--W)*.035)}
.lybf-last-n{flex:none;font:800 calc(var(--W)*.34)/.74 var(--bf-f);letter-spacing:-.06em;color:var(--bf-red)}
.lybf-last-t{display:flex;flex-direction:column;justify-content:center;gap:calc(var(--W)*.012);padding-top:0;font:800 calc(var(--W)*.112)/.92 var(--bf-f);text-transform:uppercase;color:var(--bf-ink);white-space:nowrap}
.lybf-last-t span:first-child{font-size:.62em}
.lybf-last-t.is-red span:first-child{color:var(--bf-red)}
.lybf-endbox .lybf-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:calc(var(--W)*.022);margin-top:calc(var(--W)*.045);--t:calc((var(--W) - var(--W)*.044)/3)}
.lybf-endbox .lybf-tile{width:auto;height:calc(var(--t)*.78)}
.lybf-endbox .lybf-tile b{font-size:calc(var(--t)*.46)}
.lybf-p-end-note{padding-top:calc(var(--W)*.05);font:800 calc(var(--W)*.041)/1.25 var(--bf-f);text-transform:uppercase;text-align:left}
.lybf-p-end-note em{font-style:normal;color:var(--bf-red)}
.lybf-endbox .lybf-home-foot{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:calc(var(--W)*.05)}
html body .lybf-endbox .lybf-btn{width:100%;min-width:0;padding:0 10px;font-size:clamp(12px,2.6vw,18px)!important}
/* thanh nổi điện thoại */
.lybf-sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;align-items:center;gap:10px;padding:8px 10px calc(8px + env(safe-area-inset-bottom)) 14px;background:#000;color:#fff;transform:translateY(110%);transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.lybf-sticky.is-on{transform:none}
.lybf-sticky-t{flex:1;min-width:0;font:800 12px/1.2 var(--bf-f);text-transform:uppercase}
.lybf-sticky-t span{display:block;margin-top:3px;font:800 17px/1 var(--bf-f);color:#ff5a62;font-variant-numeric:tabular-nums}
html body .lybf-sticky .lybf-btn{min-height:42px;padding:0 18px;font-size:14px!important}
@media (max-width:1023px){
  .lybf-p-deals .lybf-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lybf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lybf-p-perks-in{grid-template-columns:1fr 1fr}
  .lybf-p-perk:nth-child(3){border-left:0}.lybf-p-perk:nth-child(n+3){border-top:1px solid #333}
}
@media (max-width:767px){
  .lybf-sticky{display:flex}
  .lybf-p-hero .lybf-h-stage{display:none}
  html body .lybf-p-cover{display:block!important;width:100%;height:auto}
  .lybf-p-head{flex-direction:column;align-items:flex-start}
  .lybf-p-head .lybf-ask{text-align:left;font-size:18px}
  .lybf-p-deals .lybf-cards{grid-template-columns:1fr;gap:16px}
  .lybf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
  .lybf-p-perks-in{grid-template-columns:1fr}
  .lybf-p-perk{padding:14px 0}.lybf-p-perk+.lybf-p-perk{border-left:0;border-top:1px solid #333}
  .lybf-p-end{padding-bottom:110px}
}

/* ---------- hiện dần khi cuộn tới (JS gắn .lybf-anim lên <html>) ---------- */
.lybf-anim [data-lybf-fx]>*{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.lybf-anim [data-lybf-fx].is-in>*{opacity:1;transform:none}
.lybf-anim [data-lybf-fx].is-in>*:nth-child(2){transition-delay:.1s}.lybf-anim [data-lybf-fx].is-in>*:nth-child(3){transition-delay:.2s}.lybf-anim [data-lybf-fx].is-in>*:nth-child(4){transition-delay:.3s}.lybf-anim [data-lybf-fx].is-in>*:nth-child(5){transition-delay:.4s}.lybf-anim [data-lybf-fx].is-in>*:nth-child(6){transition-delay:.5s}.lybf-anim [data-lybf-fx].is-in>*:nth-child(7){transition-delay:.6s}.lybf-anim [data-lybf-fx].is-in>*:nth-child(8){transition-delay:.7s}
.lybf-anim .lybf-last.is-in .lybf-last-n{animation:lybf-slam .8s cubic-bezier(.2,.8,.2,1) both;transform-origin:50% 100%}
.lybf-anim .lybf-tiles.is-in .lybf-tile{animation:lybf-tile-in .6s cubic-bezier(.3,1.3,.4,1) both}
.lybf-anim .lybf-tiles.is-in .lybf-tile:nth-child(2){animation-delay:.1s}.lybf-anim .lybf-tiles.is-in .lybf-tile:nth-child(3){animation-delay:.2s}.lybf-anim .lybf-tiles.is-in .lybf-tile:nth-child(4){animation-delay:.3s}
@keyframes lybf-tile-in{0%{opacity:0;transform:perspective(300px) rotateX(-80deg)}100%{opacity:1;transform:none}}
/* trang /black-friday: bỏ khoảng trắng 64px của khung trang trước chân trang */
html body.ly-template-page-blackfriday #ly-page-main{padding-bottom:0!important}
@media (prefers-reduced-motion:reduce){
  .lybf-root *,.lybf-root *::before,.lybf-root *::after,.lybf-tag,.lybf-tag *,.lybf-tag::after,.lybf-corner,.lybf-corner *,.lybf-mq-in,.lybf-btn::after{animation:none!important;transition:none!important}
  .lybf-anim [data-lybf-fx]>*{opacity:1!important;transform:none!important}.lybf-anim .lybf-tag{visibility:visible!important}
}