/* Young Baby festival presentation. Scoped to server-qualified campaign elements. */
.lpm-festival{--lpm-wine:#7b1538;--lpm-gold:#e9c78b;--lpm-cream:#fff7e9;box-sizing:border-box;color:#3b1524;font-family:inherit}
.lpm-festival[hidden],.lpm-festival-badge[hidden],.lpm-festival-frame[hidden],.lpm-festival-label[hidden]{display:none!important}
.lpm-festival-hero{container-type:inline-size;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,1.8fr);gap:26px 38px;max-width:1440px;margin:24px auto 36px;padding:clamp(28px,4vw,54px);border:2px dashed #dcacb6;border-radius:28px;overflow:hidden;color:#65434c;background:radial-gradient(ellipse at 0 0,#fae7e8 0,transparent 50%),radial-gradient(ellipse at 100% 100%,#e9eddb 0,transparent 55%),#fffaf0;box-shadow:0 10px 30px #80555b12,inset 0 0 0 7px #fffdf6;animation:lpm-festival-enter .8s cubic-bezier(.18,.72,.22,1) both}
.lpm-festival-hero:before{content:"";position:absolute;width:620px;height:620px;border:1px solid #ecc88b40;border-radius:50%;left:-285px;top:-320px;box-shadow:0 0 0 25px #ecc88b0a,0 0 0 70px #ecc88b0a;pointer-events:none;z-index:-1}
.lpm-festival-hero:after{display:none}
.lpm-festival-hero> :not(.lpm-festival-ornaments){position:relative;z-index:1}
.lpm-festival-ornaments{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.lpm-festival-ornaments:before{content:"";position:absolute;width:500px;height:500px;border:1px solid #efd9aa45;border-radius:50%;right:-270px;bottom:-340px;box-shadow:0 0 0 24px #ecc88b09}
.lpm-festival-ornaments i{position:absolute;display:block;width:6px;height:6px;background:#e9c78b;opacity:.7;transform:rotate(45deg)}
.lpm-festival-ornaments i:nth-child(1){left:27%;top:8%;width:8px;height:8px}
.lpm-festival-ornaments i:nth-child(2){left:6%;bottom:20%;width:4px;height:4px}
.lpm-festival-ornaments i:nth-child(3){right:5%;top:13%;width:4px;height:4px}
.lpm-festival-ornaments i:nth-child(4){right:22%;bottom:7%;width:5px;height:5px}
.lpm-festival-intro{align-self:center;min-width:0}
.lpm-festival-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.14em;color:#9a6071}
.lpm-festival-numeral{display:block;font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:clamp(96px,11vw,160px);line-height:.95;letter-spacing:-.08em;margin:17px 0 20px;padding-right:.1em;color:#f7dfac;text-shadow:0 2px 0 #fff5dc33,0 10px 28px #33061b30}
.lpm-festival-hero h2{font-family:inherit;color:#864459;font-size:clamp(24px,2.45vw,35px);font-weight:650;line-height:1.22;letter-spacing:-.025em;text-transform:none;margin:0 0 14px;overflow-wrap:anywhere}
.lpm-festival p{color:inherit;line-height:1.65;margin:10px 0}
.lpm-festival-intro p{font-size:13px;color:#755860}
.lpm-festival-intro time{color:#965469;white-space:nowrap}
.lpm-festival-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:center;gap:14px;margin:12px 0;min-width:0}
.lpm-festival-ticket{position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;padding:30px 18px 22px;border:1px dashed #d7a1ae;border-radius:15px;color:#713649;background:#fbe4e5;box-shadow:0 5px 0 #eed4d2,inset 0 0 0 5px #fff7f16b;animation:lpm-festival-ticket-enter .7s .18s cubic-bezier(.18,.72,.22,1) both}
.lpm-festival-ticket:nth-child(2){margin-top:0;margin-bottom:0;background:#e8eedf;border-color:#b7c69c;animation-delay:.26s}
.lpm-festival-ticket:nth-child(3){background:#fff1d1;border-color:#dfc78e;animation-delay:.34s}
.lpm-festival-ticket:before,.lpm-festival-ticket:after{content:"";position:absolute;top:61%;width:15px;height:24px;background:#fffaf0;border:1px dashed #d6b09e;border-radius:50%;pointer-events:none}
.lpm-festival-ticket:before{left:-9px;border-left:0}
.lpm-festival-ticket:after{right:-9px;border-right:0}
.lpm-festival-ticket>small{font-size:10px;font-weight:800;letter-spacing:.2em;color:#8a4c3e}
.lpm-festival-ticket>strong{font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,4vw,54px);font-weight:700;line-height:1.05;color:#731631;letter-spacing:-.045em;white-space:nowrap}
.lpm-festival-ticket .woocommerce-Price-currencySymbol{font-family:inherit;font-size:.38em;letter-spacing:0;margin-right:3px;vertical-align:super}
.lpm-festival-ticket>span{font-size:12px;line-height:1.55;min-height:38px;color:#754c46}
.lpm-festival-ticket>span .woocommerce-Price-amount{display:block;color:#58162c;font-weight:700;font-size:15px}
.lpm-festival-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto}
.lpm-festival-copy code{padding:9px 10px;background:#f8edea;color:#61132d;font-family:Consolas,monospace;font-weight:700;font-size:14px;line-height:1.4;user-select:all;overflow-wrap:anywhere}
.lpm-festival-ticket .lpm-festival-copy{position:relative;display:grid;grid-template-columns:1fr;gap:10px;width:100%;padding-top:20px;margin-top:8px;border-top:1px dashed #c9a476}
.lpm-festival-ticket .lpm-festival-copy code{display:block;text-align:center;background:transparent;padding:0;letter-spacing:.04em}
.lpm-festival-copy button,.lpm-festival-shop{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #7b1538;border-radius:9px;background:#7b1538;color:#fff!important;font:inherit;font-size:14px;font-weight:650;line-height:1.4;text-decoration:none;cursor:pointer;box-shadow:0 2px 0 #47102a;transition:transform .2s cubic-bezier(.18,.82,.26,1),box-shadow .2s ease}
.lpm-festival-copy button:active,.lpm-festival-shop:active{transform:translateY(2px) scale(.985);box-shadow:0 0 0 #47102a}
.lpm-festival-copy button:focus-visible,.lpm-festival-shop:focus-visible,.lpm-festival-copy code:focus-visible{outline:3px solid #d99028;outline-offset:3px}
.lpm-festival-copy [role=status]{flex-basis:100%;font-size:12px;line-height:1.5;color:inherit}
.lpm-festival-copy [role=status]:empty{display:none}
.lpm-festival-shop{grid-column:2;justify-self:center;min-width:230px;color:#793c51!important;background:#f8dce1;border-color:#d5a3af;box-shadow:0 2px 0 #d6aeba;margin:0}
.lpm-festival-hero>.lpm-festival-note{grid-column:1/-1;margin:0;padding-top:18px;border-top:1px dashed #dbb6bb;text-align:center;color:#856471;font-size:12px;line-height:1.6}
.lpm-festival-note{font-size:13px}
.lpm-festival-badge{display:inline-flex;align-items:center;gap:7px;position:absolute;left:10px;top:auto;bottom:10px;z-index:11;max-width:calc(100% - 76px);padding:8px 14px;border:1px solid #f5d998;border-radius:3px 12px 12px 3px;background:var(--lpm-badge-bg,#7b1538);color:#fff3d9;font-family:inherit;font-size:13px;font-weight:750;line-height:1.4;box-shadow:0 3px 10px #39082035;pointer-events:none;overflow-wrap:anywhere}
.lpm-festival-badge:before{content:"✦";font-size:10px;color:#f6d894;flex:none}
.lpm-festival-frame{position:absolute;display:block;inset:0;z-index:11;border:2px solid #d9ad68;border-radius:inherit;box-shadow:inset 0 0 0 4px #fff5d659;pointer-events:none}
.lpm-festival-label{display:block;color:#7b1538;font-size:11px;font-weight:700;line-height:1.5;margin:5px 0;max-width:100%;overflow-wrap:anywhere}
.lpm-festival-selection,.lpm-festival-progress{padding:16px 20px;border-radius:12px;background:#fff2e8;border:1px solid #ebd0c3;margin:14px 0 24px}
.lpm-festival-selection p{margin-bottom:0}
.lpm-festival-progress .lpm-festival-copy{margin:10px 0}
.lpm-festival-gallery-scope{position:relative}
.lpm-festival-gallery-badge{max-width:calc(100% - 90px);white-space:normal;font-size:12px}
.home .lpm-festival-hero{margin-top:100px}
.home .lpm-festival-hero[data-lpm-position="after_hero"],.home .lpm-festival-hero[data-lpm-position="bottom"]{margin-top:24px}
.lpm-festival-single-rules{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.lpm-festival-single-rules>span{padding:8px 12px;border-radius:8px;border:1px solid #e5c4bc;background:#fff7ed}
.lpm-festival-single-rules>small{flex-basis:100%;line-height:1.5}
.lpm-festival-preview{padding:10px 14px;border:2px dashed #bc854e;border-radius:8px;font-weight:700}
.lpm-festival-hero>.lpm-festival-preview{grid-column:1/-1;color:#805065;margin:0}
@keyframes lpm-festival-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes lpm-festival-ticket-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes lpm-festival-sheen{0%{opacity:0;transform:translateX(-45%)}20%{opacity:1}100%{opacity:0;transform:translateX(45%)}}
@media(max-width:1000px){.lpm-festival-hero{grid-template-columns:1fr;gap:22px;padding:30px}.lpm-festival-intro{text-align:center;max-width:600px;margin:auto}.lpm-festival-numeral{font-size:110px;margin:12px 0 16px}.lpm-festival-intro p{font-size:13px}.lpm-festival-tiers{width:100%;max-width:780px;margin:6px auto}.lpm-festival-shop{grid-column:1}.lpm-festival-ticket>strong{font-size:44px}.lpm-festival-hero>.lpm-festival-note{grid-column:1}}
@media(max-width:600px){.lpm-festival-hero{padding:25px 18px;border-radius:20px;margin:12px 0 24px;gap:20px}.lpm-festival-numeral{font-size:98px}.lpm-festival-hero h2{font-size:27px}.lpm-festival-kicker{font-size:10px}.lpm-festival-tiers{grid-template-columns:1fr;gap:13px}.lpm-festival-ticket{display:grid;grid-template-columns:minmax(0,1fr) minmax(104px,.8fr);gap:8px 16px;padding:19px 21px;border-radius:12px}.lpm-festival-ticket:nth-child(2){margin:0}.lpm-festival-ticket>small{grid-column:1;grid-row:1}.lpm-festival-ticket>strong{grid-column:1;grid-row:2;font-size:42px}.lpm-festival-ticket>span{grid-column:1;grid-row:3;min-height:0;font-size:11px}.lpm-festival-ticket>span .woocommerce-Price-amount{font-size:14px}.lpm-festival-ticket .lpm-festival-copy{grid-column:2;grid-row:1/4;align-self:center;margin:0;padding:0 0 0 14px;border-top:0;border-left:1px dashed #c9a476;gap:9px}.lpm-festival-ticket .lpm-festival-copy button{padding:10px 8px;width:100%}.lpm-festival-ticket:before,.lpm-festival-ticket:after{top:calc(50% - 12px)}.lpm-festival-copy button{flex-grow:1}.lpm-festival-shop{display:flex;justify-self:stretch;min-width:0}.lpm-festival-badge{left:6px;bottom:6px;padding:6px 10px;font-size:12px;gap:5px}.lpm-festival-frame{border-width:2px;box-shadow:inset 0 0 0 3px #fff5d659}}
@media(prefers-reduced-motion:reduce){.lpm-festival-hero,.lpm-festival-ticket,.lpm-festival-hero:after{animation:none!important;transform:none}.lpm-festival-hero:after{opacity:0}.lpm-festival-copy button,.lpm-festival-shop{transition:none;transform:none}}

/* Explicit campaign title contrast against Porto heading color rules. */
.lpm-festival.lpm-festival-hero .lpm-festival-intro h2{color:#85425a!important;text-wrap:balance;word-break:keep-all;overflow-wrap:anywhere;max-width:100%}

/* Recommended coupon and the same campaign pool, using existing Woo product cards. */
.lpm-festival-ticket.lpm-festival-ticket-recommended{border:2px dashed #bd788d;background:#fff0d7;box-shadow:0 7px 0 #eac8cb,inset 0 0 0 4px #fff9ed;margin-top:-10px;margin-bottom:10px}
.lpm-festival-recommendation{position:absolute;top:-14px;left:50%;transform:translateX(-50%);max-width:92%;padding:5px 14px;border-radius:20px;border:1px dashed #bd7d92;background:#f6cbd6;color:#793b53;font-size:11px;line-height:1.3;white-space:nowrap;box-shadow:0 2px 6px #53132824}
.lpm-festival-saving{display:block;font-style:normal;font-weight:650;font-size:11px;line-height:1.5;color:#6c3c21}
.lpm-festival-products{grid-column:1/-1;min-width:0;padding:28px 24px;border-radius:18px;background:#fffaf1;color:#3b2630;border:1px dashed #e1bac2}
.lpm-festival-products-heading{margin-bottom:24px}
.lpm-festival .lpm-festival-products-heading h3{font-size:clamp(22px,2.5vw,30px);line-height:1.3;color:#751735;margin:0 0 8px;text-transform:none}
.lpm-festival-products-heading p{font-size:13px;color:#765964;margin:0}
.lpm-festival-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px;margin:0!important;padding:0!important}
.lpm-festival-products ul.products:before,.lpm-festival-products ul.products:after{display:none!important}
.lpm-festival.lpm-festival-hero .lpm-festival-products ul.products li.product{float:none!important;width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;margin:0!important;padding:0!important}
.lpm-festival-products>.lpm-festival-shop{display:flex;width:fit-content;margin:26px auto 0}
@media(max-width:1000px){.lpm-festival-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.lpm-festival-ticket-recommended{margin:9px 0 0;padding-top:23px}.lpm-festival-saving{grid-column:1/-1;grid-row:4;padding-top:5px;border-top:1px solid #d4b67e66}.lpm-festival-products{padding:22px 12px}.lpm-festival-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.lpm-festival-products-heading{margin-bottom:18px}.lpm-festival-products>.lpm-festival-shop{width:100%;min-width:0}}

/* Use the activity block width, including the narrower shop column. */
@container(max-width:950px){
 .lpm-festival-hero>.lpm-festival-intro,.lpm-festival-hero>.lpm-festival-tiers,.lpm-festival-hero>.lpm-festival-shop{grid-column:1/-1}
 .lpm-festival-hero>.lpm-festival-intro{width:100%;max-width:600px;text-align:center;margin:auto}
 .lpm-festival-hero .lpm-festival-intro h2{font-size:26px}
 .lpm-festival-hero>.lpm-festival-tiers{width:100%;max-width:780px;margin:10px auto}
 .lpm-festival-hero .lpm-festival-ticket>strong{font-size:40px}
}
@container(max-width:520px){
 .lpm-festival-hero>.lpm-festival-tiers{grid-template-columns:1fr;gap:15px}
 .lpm-festival-hero .lpm-festival-ticket{display:grid;grid-template-columns:minmax(0,1fr) minmax(104px,.8fr);gap:8px 16px;padding:22px 20px;margin:0}
 .lpm-festival-hero .lpm-festival-ticket>small{grid-column:1;grid-row:1}
 .lpm-festival-hero .lpm-festival-ticket>strong{grid-column:1;grid-row:2}
 .lpm-festival-hero .lpm-festival-ticket>span{grid-column:1;grid-row:3;min-height:0}
 .lpm-festival-hero .lpm-festival-ticket .lpm-festival-copy{grid-column:2;grid-row:1/4;align-self:center;margin:0;padding:0 0 0 14px;border-top:0;border-left:1px dashed #c8aab0;gap:9px}
 .lpm-festival-hero .lpm-festival-ticket .lpm-festival-copy button{padding:10px 8px;width:100%}
 .lpm-festival-hero .lpm-festival-saving{grid-column:1/-1;grid-row:4}
}

/* Mascot banner: original artwork, with accessible activity text kept outside the image. */
.lpm-festival-banner{container-type:inline-size;grid-column:1/-1;position:relative;min-width:0;overflow:hidden;border:1px dashed #dfb5bd;border-radius:18px;background:#fff9ed;box-shadow:0 4px 0 #eddbd1}
.lpm-festival-banner>img{display:block;width:100%;height:auto;max-width:100%;margin:0}
.lpm-festival-banner-type{position:absolute;left:5%;top:15%;width:36%;text-align:center;color:#8f5065;pointer-events:none}
.lpm-festival-banner-type>span{display:block;font-family:inherit;font-size:clamp(8px,1.8cqw,23px);font-weight:700;letter-spacing:.12em}
.lpm-festival-banner-type>strong{display:block;font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:clamp(49px,14cqw,195px);line-height:1.05;letter-spacing:-.07em;text-shadow:0 2px 0 #fff7df,0 4px 12px #dbb37136}

/* Real miniature vouchers alongside the illustrated voucher pile. */
.lpm-festival-banner-vouchers{position:absolute;left:4%;top:63%;width:39%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;color:#784055}
.lpm-festival-mini-ticket{min-width:0;padding:12px 5px;border:1px dashed #c58fa2;border-radius:7px;background:#fbe1e6;box-shadow:0 3px 0 #e4c7c7;transform:rotate(-3deg);text-align:center}
.lpm-festival-mini-ticket:nth-child(2){background:#e7eddd;border-color:#b7c8a2;transform:rotate(3deg)}
.lpm-festival-mini-ticket:nth-child(3){background:#fff0cf;border-color:#d5b68b}
.lpm-festival-mini-ticket.is-recommended{border:2px dashed #b9778e;box-shadow:0 4px 0 #dfb8c3}
.lpm-festival-mini-ticket>small{display:block;font-size:clamp(9px,.8cqw,11px);line-height:1.4;white-space:nowrap}
.lpm-festival-mini-ticket>strong{display:block;font-size:clamp(12px,1.3cqw,18px);font-weight:800;line-height:1.4;white-space:nowrap}
@container(max-width:600px){
 .lpm-festival-banner-vouchers{position:relative;left:auto;top:auto;width:auto;margin:0;padding:12px 9px 15px;gap:6px;background:#fff9ef;border-top:1px dashed #dfbdc2}
 .lpm-festival-mini-ticket{padding:11px 3px;transform:none}
 .lpm-festival-mini-ticket:nth-child(2){transform:none}
 .lpm-festival-mini-ticket>small{font-size:9px}
 .lpm-festival-mini-ticket>strong{font-size:clamp(12px,3.4cqw,14px)}
}

/* Qualified card layout: original 3:4 image plus a separate 52px footer.
   Porto makes the original link absolute; restore normal flow only while the frame is visible. */
.product-image:has(>a>.lpm-festival-frame:not([hidden])),.product-image>a:has(>.lpm-festival-frame:not([hidden])),.yb-sf-card__media:has(>.lpm-festival-frame:not([hidden])){aspect-ratio:auto!important;height:auto!important;max-height:none!important}
.product-image>a:has(>.lpm-festival-frame:not([hidden])){position:relative!important;inset:auto!important;display:block!important;float:none!important}
.product-image>a:has(>.lpm-festival-frame:not([hidden])),.yb-sf-card__media:has(>.lpm-festival-frame:not([hidden])),.lpm-festival-gallery-scope:has(>.lpm-festival-frame:not([hidden])){position:relative;padding-bottom:52px!important;background:#fff6e4}
.product-image>a:has(>.lpm-festival-frame:not([hidden]))>.inner{position:relative!important;inset:auto!important;float:none!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;padding:0!important;margin:0!important}
.product-image>a:has(>.lpm-festival-frame:not([hidden]))>.inner>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover}
.yb-sf-card__media:has(>.lpm-festival-frame:not([hidden]))>img{position:relative!important;inset:auto!important;display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.product-image>a:has(>.lpm-festival-frame:not([hidden]))>.lpv-video-overlay{bottom:52px!important;height:auto!important}

/* Full campaign ribbon: mascot, campaign label, and the real recommended threshold. */
.lpm-festival-frame:after{content:"";position:absolute;left:0;right:0;bottom:0;height:50px;border-top:1px solid #dbb36c;background:linear-gradient(105deg,#fff4d7,#f1d69e 55%,#fff6df);box-shadow:inset 0 -3px 0 #8b2543;pointer-events:none}
.lpm-festival-frame>.lpm-festival-mascot{position:absolute!important;display:block!important;left:3px!important;bottom:1px!important;top:auto!important;right:auto!important;width:49px!important;height:49px!important;max-width:none!important;object-fit:contain;z-index:1;margin:0!important;opacity:1!important;pointer-events:none}
/* Container units follow each card width, including narrow grids inside wide pages. */
.product-image>a:has(>.lpm-festival-frame:not([hidden])),.yb-sf-card__media:has(>.lpm-festival-frame:not([hidden])){container-type:inline-size}
.lpm-festival-frame:not(.lpm-festival-gallery-frame){container-type:inline-size;border-color:#d3a0ad;box-shadow:inset 0 0 0 4px #fff7e5b3}
.lpm-festival-frame:not(.lpm-festival-gallery-frame):after{background:linear-gradient(105deg,#f6dce0,color-mix(in srgb,var(--lpm-badge-bg,#d9a3b2) 14%,#fff8ee) 55%,#eee9d5);border-top:1px dashed #c58fa2;box-shadow:inset 0 -2px 0 #d7a8b3}
.lpm-festival-frame:not(.lpm-festival-gallery-frame)>.lpm-festival-mascot{width:clamp(35px,18cqw,49px)!important;height:clamp(35px,18cqw,49px)!important}
.lpm-festival-card-offer{position:absolute;z-index:1;left:calc(clamp(37px,20cqw,55px) + clamp(35px,18cqw,50px) + 4px);right:4px;bottom:7px;height:35px;display:flex;flex-direction:column;justify-content:center;gap:3px;color:#77384e;text-align:center;pointer-events:none}
.lpm-festival-card-offer>small{font-size:clamp(8px,3cqw,11px);font-weight:600;line-height:1.15;white-space:nowrap;letter-spacing:0}
.lpm-festival-card-offer>strong{font-size:clamp(13px,5cqw,19px);font-weight:800;line-height:1.1;white-space:nowrap;letter-spacing:-.015em}
.lpm-festival-badge:before{display:none}
.lpm-festival-badge:not(.lpm-festival-gallery-badge){left:clamp(37px,20cqw,55px);right:auto;bottom:3px;width:clamp(35px,18cqw,50px);max-width:none;height:46px;box-sizing:border-box;justify-content:center;padding:0;border:0;border-radius:0;clip-path:none;font-size:clamp(18px,8cqw,26px);line-height:1.05;font-weight:800;letter-spacing:-.03em;text-align:center;background:transparent;color:#853a55;box-shadow:none}

/* Gallery keeps compact eligibility text and existing controls above its 52px footer. */
.lpm-festival-gallery-badge{left:63px;max-width:calc(100% - 73px);bottom:10px;padding:4px 10px;font-size:11px;line-height:1.35;border-radius:20px;box-shadow:none}
.product-images:has(.lpm-festival-gallery-frame:not([hidden])) .ybsp-sold-mobile-wrap,.woocommerce-product-gallery:has(.lpm-festival-gallery-frame:not([hidden])) .ybsp-sold-mobile-wrap{top:12px!important;bottom:auto!important;right:12px!important}
.product-images:has(.lpm-festival-gallery-frame:not([hidden])) .zoom,.woocommerce-product-gallery:has(.lpm-festival-gallery-frame:not([hidden])) .zoom{bottom:64px!important}
@media(max-width:768px){.product-images:has(.lpm-festival-gallery-frame:not([hidden])) .zoom,.woocommerce-product-gallery:has(.lpm-festival-gallery-frame:not([hidden])) .zoom{bottom:62px!important}}
@media(max-width:600px){
 .lpm-festival-banner{border-radius:12px}
 .lpm-festival-banner-type{left:4%;top:11%;width:38%}
 .lpm-festival-banner-type>span{letter-spacing:.06em}
 .product-image>a:has(>.lpm-festival-frame:not([hidden])),.yb-sf-card__media:has(>.lpm-festival-frame:not([hidden])){padding-bottom:44px!important}
 .product-image>a:has(>.lpm-festival-frame:not([hidden]))>.lpv-video-overlay{bottom:44px!important}
 .lpm-festival-frame:not(.lpm-festival-gallery-frame):after{height:42px}
 .lpm-festival-badge:not(.lpm-festival-gallery-badge){height:38px}
 .lpm-festival-card-offer{bottom:4px;height:33px;gap:2px}
}

/* Narrow home-grid cards: preserve the complete amount inside the real card width. */
@container (max-width:160px){
 .lpm-festival-badge:not(.lpm-festival-gallery-badge){width:31px}
 .lpm-festival-card-offer{left:70px;right:3px}
 .lpm-festival-card-offer>strong{font-size:11px;letter-spacing:-.02em}
}
