/* Scoped Double Eleven campaign. No changes to catalogue or existing layout. */
.festival{--festival-plum:#51386c;--festival-gold:#d8cee6;--festival-orange:#694980;--festival-text:#29242f;--festival-muted:#807887;margin-top:16px;margin-bottom:15px;margin-left:0;margin-right:0;overflow:hidden;isolation:isolate;border:0;border-radius:0;background:#f6f4f9;color:var(--festival-text);font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif}
.festival button{font-family:inherit}.festival button:focus-visible,.festival-dialog button:focus-visible{outline:2px solid #8058a0;outline-offset:3px}
.festival-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden;padding:21px 17px 37px;background:#28212f;color:#fff}
.festival-heading-copy{position:relative;z-index:1;flex:1;min-width:0}.festival-eyebrow{font-size:10.5px;line-height:1.5;letter-spacing:1.2px;color:#c0afd2}.festival-heading h2{margin:7px 0 5px;font-family:inherit;font-size:25px;font-weight:600;line-height:1.3;letter-spacing:.2px}.festival-heading p{margin:0;font-size:12px;line-height:1.6;color:#d0c8d8;letter-spacing:.2px}
.festival-date{position:relative;z-index:1;align-self:center;text-align:center;flex:none;padding-top:3px}.festival-date>span{display:block;color:#e0d2f1;font-family:Arial,sans-serif;font-size:53px;line-height:1;font-weight:700;letter-spacing:-3.5px;font-variant-numeric:lining-nums tabular-nums}.festival-date>small{display:block;margin-top:8px;color:#baafc6;font-size:10px;line-height:1.5;letter-spacing:.5px}.festival-star{display:none}
.festival-wallet{position:relative;z-index:2;margin-top:-17px;padding:0 11px;background:linear-gradient(#28212f 32px,#f6f4f9 32px)}.festival-coupons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.festival-coupon{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:14px 8px 10px;border:1px solid #cdb98b;border-radius:12px;background:#573873;text-align:center;color:#fff;box-shadow:none;transition:transform .2s ease,box-shadow .2s ease}.festival-coupon:before,.festival-coupon:after{display:none}.festival-coupon:before{left:-5px}.festival-coupon:after{right:-5px}.festival-amount{display:flex;align-items:baseline;justify-content:center;gap:2px;line-height:1}.festival-amount small{font-size:13px;font-family:Arial,sans-serif;font-weight:500;color:inherit}.festival-amount strong{font-family:Arial,sans-serif;font-size:38px;font-weight:700;line-height:1;letter-spacing:-1.8px;color:inherit;font-variant-numeric:lining-nums tabular-nums}.festival-threshold{display:block;margin-top:6px;font-size:11px;line-height:17px;white-space:nowrap;color:#e0d3eb}.festival-coupon-action{display:flex;justify-content:center;align-items:center;gap:5px;align-self:stretch;white-space:nowrap;margin-top:12px;padding:6px 0;border:0;border-radius:999px;background:#ffffff20;font-size:11.5px;font-weight:500;line-height:18px;color:#fff;box-shadow:none}.festival-coupon-action>span{flex:none;font-size:12px}
.festival-wallet-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:40px;padding:3px 1px 0;font-size:10.5px;color:#8b8293}.festival-wallet-caption i{font-style:normal;color:#806296;margin-right:3px}.festival-wallet-caption button{padding:7px 0 7px 10px;min-height:32px;font-size:10.5px;color:#8b8293;white-space:nowrap}
.festival-body{padding:0 11px 12px}.festival-perks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.festival-perk{min-width:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr) 52px;column-gap:4px;align-content:start;align-items:start;text-align:left;min-height:112px;border:1px solid #e9e4ee;border-radius:11px;padding:10px 10px 46px;background:#fff;overflow:hidden}.festival-perk-envelope{background:#ede8f5;border-color:#e5ddef}.festival-perk-top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:3px;width:100%;height:17px}.festival-perk-label{font-size:10px;line-height:1.5;color:#8a7b98;white-space:nowrap}.festival-perk-envelope .festival-perk-label{color:#8a7b98}.festival-perk-top svg{height:24px;width:24px;flex:none;stroke:#9a88ad;stroke-width:1.15}.festival-perk-envelope svg{stroke:#8d75a5}.festival-perk>strong{grid-column:1;display:block;margin:0 0 5px;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:0;color:#352c3d}.festival-perk-description{grid-column:1;min-width:0;font-size:10px;line-height:1.5;color:#887e90;letter-spacing:-.2px;white-space:normal;overflow-wrap:anywhere}.festival-perk-link{position:absolute;left:10px;bottom:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:100%;height:26px;box-sizing:border-box;margin:0;padding:5px 8px;border:0;border-radius:999px;background:#573873;font-size:11px;font-weight:500;line-height:16px;color:#fff;white-space:nowrap}.festival-perk-envelope .festival-perk-link{color:#fff}.festival-perk-link>span{flex:none;font-size:12px;line-height:1}
.festival-gift-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:14px 1px 9px}.festival-gift-heading h3{margin:0;font-size:13px;line-height:1.5;font-weight:600;letter-spacing:.3px}.festival-gift-heading>span{font-size:10px;line-height:1.5;color:#93879c;white-space:nowrap}.festival-gifts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.festival-gift{position:relative;min-width:0;overflow:hidden;text-align:left;display:grid;grid-template-columns:minmax(0,1fr) 80px;grid-template-rows:auto auto auto;column-gap:4px;align-content:start;align-items:start;min-height:108px;padding:10px 7px 5px;border:1px solid #e9e4ee;border-radius:10px;background:#fff}.festival-gift-number{display:none}.festival-gift-category{position:relative;z-index:1;grid-column:1;grid-row:1;display:flex;align-items:center;gap:5px;margin-bottom:6px;font-size:14px;font-weight:700;line-height:1.5;color:#46374f;white-space:nowrap}.festival-gift-category small{font-size:inherit;line-height:1.5;color:#978b9f;font-weight:400;letter-spacing:-.2px}.festival-gift>strong{position:relative;z-index:1;grid-column:1;grid-row:2;min-width:0;margin:0;font-size:10.5px;font-weight:400;line-height:1.5;letter-spacing:-.2px;color:#86798f;white-space:normal;overflow-wrap:anywhere}.festival-gift-value{position:relative;z-index:1;grid-column:1;grid-row:3;min-width:0;margin-top:3px;font-size:10.5px;line-height:1.5;color:#9a8aa6;overflow-wrap:anywhere}.festival-gift-value b{font-family:Arial,sans-serif;font-size:12px;font-weight:500;color:#786087}.festival-gift>svg{position:absolute;width:39px;height:52px;right:5px;bottom:2px;stroke:#ac99bd;stroke-width:.9;opacity:.23}.festival-footnote{margin:0;padding:11px 0 12px;text-align:center;font-size:10px;line-height:1.6;letter-spacing:.1px;color:#a49aaa}
.festival-dialog{width:calc(100% - 36px);max-width:388px;margin:auto;padding:28px 23px 22px;border:1px solid #e5ddec;border-radius:15px;background:#fff;color:#49383d;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;box-shadow:0 20px 90px #26142830}.festival-dialog::backdrop{background:#21162787;backdrop-filter:blur(4px)}.festival-dialog-close{position:absolute;right:8px;top:8px;width:38px;height:38px;display:grid;place-items:center;color:#8b7477}.festival-dialog-close svg{height:19px;width:19px;stroke-width:1.4}.festival-dialog-kicker{font-size:11px;line-height:1.6;letter-spacing:1px;color:#9d7b65}.festival-dialog h2{font-family:inherit;margin:14px 0 12px;font-size:23px;line-height:1.5;font-weight:500}.festival-dialog #festival-dialog-content{font-size:14px;line-height:1.9;color:#6c5b5b}.festival-dialog #festival-dialog-content p{margin:0 0 10px}.festival-dialog #festival-dialog-content strong{font-weight:500;color:#513547}.festival-dialog-preview{margin:17px 0 20px;padding-top:13px;border-top:1px solid #e8ddd3;font-size:11px;line-height:1.8;color:#9a8481}.festival-dialog-action{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:10px 15px;border-radius:7px;background:#573873;color:#fff6e9;font-size:13px}
/* Matching violet coupons with a restrained one-pixel gold outline. */
@media(hover:hover){.festival-coupon:hover{transform:translateY(-2px);box-shadow:0 6px 14px #24142f0f}.festival-perk:hover,.festival-gift:hover{border-color:#b9a4ce}.festival-wallet-caption button:hover{color:#4c2d64}}
@media(min-width:600px){.festival-heading{padding:22px 22px 40px}.festival-heading h2{font-size:29px}.festival-date>span{font-size:60px}.festival-wallet{padding:0 16px}.festival-body{padding:0 16px}.festival-coupons{gap:10px}.festival-perk{padding:13px}.festival-perk-description{font-size:12px}.festival-gift-category{font-size:15px}.festival-gift-category small{font-size:inherit}.festival-gift>strong{font-size:12px}.festival-gift-value{font-size:11px}}
@media(max-width:350px){.festival-heading{padding:17px 12px 37px;gap:6px}.festival-heading h2{font-size:23px}.festival-heading p{font-size:11px}.festival-date>span{font-size:43px}.festival-date>small{font-size:9px;letter-spacing:.5px}.festival-wallet,.festival-body{padding-left:8px;padding-right:8px}.festival-coupons{gap:5px}.festival-perk{padding:9px 7px}.festival-perk>strong{font-size:15px;letter-spacing:0}.festival-perk-description{font-size:9.5px;letter-spacing:-.4px}.festival-gift{padding:9px 6px 4px}.festival-gift-category{gap:4px;font-size:13px}.festival-gift-category small{font-size:inherit}.festival-gift>strong{font-size:10.5px}.festival-gift-heading>span{font-size:9px}}
@media(prefers-reduced-motion:no-preference){.festival.is-visible .festival-heading-copy{animation:festival-enter .6s ease both}.festival.is-visible .festival-date{animation:festival-enter .7s .08s ease both}.festival.is-visible .festival-coupon{animation:festival-enter .5s .12s ease backwards}.festival.is-visible .festival-coupon:nth-child(2){animation-delay:.18s}.festival.is-visible .festival-coupon:nth-child(3){animation-delay:.24s}@keyframes festival-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}

/* User-supplied campaign artwork; neutral gift slots match the supplied mockup. */
.festival-perk-art{position:absolute;right:10px;bottom:12px;display:block;width:52px;height:68px;object-fit:contain;pointer-events:none}
.festival-perk-envelope .festival-perk-art{right:13.5px;width:45px;height:68px}
.festival-perk-envelope>strong{grid-column:1/-1;white-space:nowrap}
.festival-gift-media{grid-column:2;grid-row:1/4;display:block;align-self:center;width:80px;height:80px;border-radius:5px;background:#f1edf5;object-fit:cover;object-position:center}
@media(max-width:350px){.festival-perk{grid-template-columns:minmax(0,1fr) 38px;column-gap:3px;min-height:112px}.festival-perk>strong{font-size:14px}.festival-perk-description{font-size:9.5px}.festival-perk-link{font-size:10.5px;gap:4px}.festival-perk-art{width:38px;height:57px}.festival-perk-envelope .festival-perk-art{width:34px;height:57px}.festival-gift{grid-template-columns:minmax(0,1fr) 58px;column-gap:3px}.festival-gift-media{width:58px;height:58px}.festival-gift-value{font-size:10px}.festival-gift-value b{font-size:10.5px}}

/* Keep compact action pills inside the narrow text column on small phones. */
@media(max-width:380px){.festival-perk-link{font-size:10.5px;gap:4px;padding:5px 5px}.festival-perk-link>span{font-size:11px}}

/* Equal image-box heights and bottom offsets align both illustrations across stretched cards. */
@media(max-width:350px){.festival-perk-art{right:7px}.festival-perk-envelope .festival-perk-art{right:9px}}
@media(min-width:600px){.festival-perk-art{right:13px}.festival-perk-envelope .festival-perk-art{right:16.5px}}

/* Equal title sizing and shared action baseline, with space reserved above each capsule. */
@media(max-width:350px){.festival-perk{padding-bottom:46px}.festival-perk-link{left:7px}}
@media(min-width:600px){.festival-perk{padding-bottom:46px}.festival-perk-link{left:13px}}

/* Larger gift photos occupy the right column; keep two-line offers readable on compact phones. */
@media(min-width:351px) and (max-width:374px){.festival-gift{grid-template-columns:minmax(0,1fr) 68px}.festival-gift-media{width:68px;height:68px}}

/* Dedicated zone actions stay separate from the informational campaign controls. */
.festival-gift-link{grid-column:1;grid-row:3;display:inline-flex;align-items:center;justify-content:center;justify-self:start;gap:4px;width:max-content;max-width:100%;height:24px;box-sizing:border-box;margin-top:8px;padding:5px 8px;border:0;border-radius:999px;background:#573873;color:#fff;font-size:10px;font-weight:500;line-height:14px;white-space:nowrap;cursor:pointer}.festival-gift-link>span{font-size:10px;line-height:1}.festival-gift>strong{white-space:nowrap;overflow-wrap:normal}
@media(max-width:350px){.festival-gift-link{gap:3px;padding-left:7px;padding-right:7px;font-size:9.5px}}

/* Larger photos on roomy phones; compact sizes keep gift names on their own line. */
@media(min-width:414px){.festival-gift{grid-template-columns:minmax(0,1fr) 88px}.festival-gift-media{width:88px;height:88px}}
