/* Product packages, merchant artwork, and the in-store notification center. */
:root{--pack-bg:#fff;--pack-ink:#182d3b;--pack-muted:#5a6c79;--pack-line:#dce5eb;--pack-gold:#8b641e;--pack-fade:linear-gradient(180deg,#ffffff00,#ffffffe6 70%,#fff);--notice-accent:#386898;--notice-soft:#eff5fb}
:root[data-theme="dark"]{--pack-bg:#17232e;--pack-ink:#f0f3f6;--pack-muted:#b4c1ca;--pack-line:#344450;--pack-gold:#efd598;--pack-fade:linear-gradient(180deg,#17232e00,#17232eea 68%,#17232e);--notice-accent:#9fc8ee;--notice-soft:#1d2a38}
.product-grid{align-items:stretch;gap:20px}
.pack-card{--pack-motion-duration:.65s;--pack-motion-easing:cubic-bezier(.22,.61,.36,1);display:flex;flex-direction:column;border:1px solid var(--pack-line);border-radius:8px;background:var(--pack-bg);color:var(--pack-ink);box-shadow:0 3px 16px #17232e08;isolation:isolate}
.pack-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px #101e2d20;border-color:var(--gold-text)}
.pack-ribbon{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;min-height:37px;line-height:1.3;font-size:12px;font-weight:750;z-index:3;color:#fff;text-shadow:0 1px 2px #0004}
.pack-card>.pack-ribbon{position:relative;flex-shrink:0;min-width:0}
.pack-ribbon>span:first-child{overflow-wrap:anywhere;min-width:0}
.pack-ribbon b{font-size:18px;white-space:nowrap;font-weight:800}
.pack-ribbon.tone-green{background:linear-gradient(110deg,#357f11,#22832f)}
.pack-ribbon.tone-blue{background:linear-gradient(110deg,#206ea5,#263cba)}
.pack-ribbon.tone-gold{background:linear-gradient(110deg,#a16b17,#856027)}
.pack-stage{height:345px;position:relative;overflow:hidden;background:var(--pack-bg)}
.pack-stage>.pack-art{position:absolute;inset-block-start:0;inset-inline-start:0;width:100%;height:230px;object-fit:cover;transition:transform var(--pack-motion-duration) var(--pack-motion-easing),filter var(--pack-motion-duration) var(--pack-motion-easing)}
.pack-stage:after{content:"";position:absolute;inset:90px 0 0;pointer-events:none;background:var(--pack-fade)}
.pack-card.is-expanded .pack-art{transform:scale(1.06);filter:brightness(.75)}
.pack-toggle{position:absolute;inset:0;width:100%;height:100%;padding:0;z-index:1;text-align:start}
.pack-toggle:focus-visible{outline-offset:-5px;border-radius:5px}
.pack-copy{position:absolute;inset-inline:0;inset-block-end:0;z-index:2;padding:18px 17px 10px;pointer-events:none;max-height:calc(100% - 88px);display:flex;flex-direction:column}
.pack-copy button{pointer-events:auto}
.pack-brand{display:flex;gap:7px;align-items:center;color:var(--pack-muted);font-size:11px;letter-spacing:.45px;line-height:1.5;min-height:22px;overflow-wrap:anywhere}
.pack-brand>img{height:21px;width:21px;object-fit:contain;flex:0 0 21px}
.pack-brand>span{min-width:0}
.pack-copy .product-name{font-size:16px;line-height:1.45;min-height:0;margin:7px 0 0;color:var(--pack-ink);font-weight:650;overflow-wrap:anywhere;flex-shrink:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pack-copy .product-name:hover{text-decoration:underline;text-decoration-color:var(--pack-gold);text-underline-offset:4px}
/* One timing curve lets the slide, fade and artwork reverse smoothly mid-motion. */
.pack-reveal{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows var(--pack-motion-duration) var(--pack-motion-easing),opacity var(--pack-motion-duration) var(--pack-motion-easing),visibility 0s linear var(--pack-motion-duration);color:var(--pack-muted);font-size:12px;line-height:1.7;min-height:0}
/* Keep long descriptions at a stable width while the visible height changes. */
.pack-reveal-inner{min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-gutter:stable}
.pack-card.is-expanded .pack-reveal{grid-template-rows:1fr;opacity:1;visibility:visible;transition-delay:0s}
.pack-card.is-expanded .pack-reveal-inner{pointer-events:auto}
.pack-country{display:flex;align-items:center;gap:7px;margin-top:12px;overflow-wrap:anywhere;font-size:12px;line-height:1.65}
.pack-country>img{height:18px;width:27px;object-fit:contain;flex:0 0 27px}
.pack-country>span{min-width:0}
.pack-contents{padding-inline-start:16px;margin:9px 0 0;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.pack-description{margin:12px 0 0;font-size:12px;line-height:1.75;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}
.pack-more{display:flex;align-items:center;gap:12px;padding:0;margin-top:10px;color:var(--pack-gold);font-size:11px;text-align:start;line-height:1.6}
.pack-footer{padding:13px 17px 16px;margin-block-start:auto;position:relative;background:var(--pack-bg);z-index:3}
.pack-stock{display:flex;align-items:start;justify-content:space-between;gap:10px;font-size:10px;line-height:1.6;color:var(--pack-muted)}
.pack-stock>span{min-width:0;overflow-wrap:anywhere}
.pack-pricing{display:flex;align-items:baseline;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:17px;min-height:28px}
.pack-pricing .price{font-size:24px;color:var(--pack-gold);font-weight:700;letter-spacing:-.6px}
.pack-pricing .price small{font-size:10px;font-weight:600;letter-spacing:0}
.pack-pricing .price .decimal{font-size:14px}
.original-price{font-size:12px;color:var(--pack-muted);font-weight:400;text-decoration-thickness:1px;white-space:nowrap}
.pack-actions{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);border-top:1px solid var(--pack-line);background:var(--pack-bg);position:relative;z-index:3}
.pack-actions>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:10px 7px;font-size:12px;line-height:1.5;color:var(--pack-gold);font-weight:600;overflow-wrap:anywhere;transition:background .2s,color .2s}
.pack-actions>button+button{border-inline-start:1px solid var(--pack-line)}
.pack-actions>button:hover:not(:disabled){background:var(--gold-soft)}
.pack-actions>button>svg{width:18px;height:18px;flex-shrink:0}
.detail-copy .pack-brand{color:var(--muted)}
.detail-copy .pack-brand>img{width:26px;height:26px;flex-basis:26px}
.detail-original-title{color:var(--muted);font-size:13px;line-height:1.6;margin:8px 0 15px}
.detail-package{color:var(--muted);margin:14px 0}
.detail-package .pack-description{display:none}
.detail-package .pack-contents{font-size:14px}
.detail-package .pack-country{font-size:14px}
.detail-copy>.pack-ribbon{border-radius:5px;margin-top:18px}
.detail-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:14px}
.detail-price .original-price{font-size:14px}
.campaign #hero-title,.campaign #hero-subtitle{white-space:pre-line}
.campaign #hero-button-text{margin-inline-start:0}
.campaign.custom-hero{display:flex;flex-direction:column;min-height:0;background:var(--surface);align-self:start;border:1px solid var(--line)}
.campaign.custom-hero:after{display:none}
.campaign.custom-hero>#hero-image{position:static;display:block;aspect-ratio:16/9;width:100%;height:auto;object-fit:contain;background:var(--surface-soft);filter:none}
.campaign.custom-hero>.campaign-copy{width:100%;max-width:none;padding:22px 25px;background:var(--surface);color:var(--ink)}
.campaign.custom-hero h1{font-size:25px;letter-spacing:0;line-height:1.45;margin:8px 0 10px}
.campaign.custom-hero p{color:var(--muted);margin:7px 0 15px}
.campaign.custom-hero .eyebrow{color:var(--gold-text)}
.campaign.custom-hero .dark-button{margin-top:4px}
.campaign.custom-hero .campaign-bottom,.campaign [hidden]{display:none}
.notice-trigger{display:flex;align-items:center;justify-content:center;gap:7px;position:relative;padding:12px 2px;font-size:12px;color:var(--muted);flex-shrink:0;min-width:27px}
.notice-trigger>svg{width:21px;height:21px;flex-shrink:0}
.notice-trigger:hover{color:var(--gold-text)}
.notice-trigger>b{position:absolute;inset-block-start:0;inset-inline-end:-7px;border-radius:20px;background:var(--red);color:#fff;font-size:9px;min-width:17px;height:17px;display:grid;place-items:center;padding-inline:3px}
.notice-trigger>b[hidden]{display:none}
.header-main{gap:clamp(14px,2.3vw,32px)}
.header-main>.cart-trigger{margin-inline-start:0}
.announcement{margin-top:20px;padding:14px 17px;display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-inline-start:3px solid var(--notice-accent);background:var(--notice-soft);border-radius:7px;position:relative}
.announcement[hidden]{display:none}
.notice-promotion{--notice-accent:var(--gold-text);--notice-soft:var(--gold-soft)}
.notice-important{--notice-accent:var(--accent-text);--notice-soft:var(--accent-soft)}
.announcement-symbol{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid var(--notice-accent);color:var(--notice-accent);font-size:16px;border-radius:50%;font-weight:700}
.announcement-copy{min-width:0;flex:1}
.announcement-copy strong{display:block;font-size:13px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}
.announcement-copy p{font-size:12px;line-height:1.65;margin:3px 0 0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere}
.announcement-more{display:flex;align-items:center;gap:8px;color:var(--notice-accent);font-size:12px;flex-shrink:0;max-width:25%;line-height:1.6;text-align:start}
.notice-dismiss{font-size:24px;width:30px;min-height:30px;flex-shrink:0;color:var(--muted);align-self:flex-start;padding:0;line-height:1.2}
.notice-dismiss:hover{color:var(--ink)}
.notice-dialog{width:600px;max-width:calc(100% - 28px);padding:28px}
.notice-dialog .dialog-heading{align-items:start}
.notice-dialog .dialog-heading h2{margin:7px 0 0}
.notice-intro{font-size:13px;color:var(--muted);line-height:1.8;margin:11px 0 22px}
#notice-list{display:grid;gap:13px}
.notice-item{background:var(--notice-soft);border:1px solid var(--line);border-inline-start:3px solid var(--notice-accent);border-radius:7px;padding:17px 19px;overflow-wrap:anywhere}
.notice-item-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:10px;color:var(--muted);line-height:1.5}
.notice-item-meta>span{font-weight:650;color:var(--notice-accent)}
.notice-item h3{font-size:16px;line-height:1.55;margin:13px 0 8px}
.notice-item p{font-size:13px;line-height:1.85;color:var(--muted);white-space:pre-wrap;margin:0}
.notice-empty{padding:35px 10px;background:var(--surface)}
.notice-empty small{display:block;font-size:12px;margin-top:11px;line-height:1.6}
[dir="rtl"] .pack-brand{letter-spacing:0}
@media(min-width:1500px){.pack-stage{height:360px}.pack-stage>.pack-art{height:245px}}
@media(max-width:1100px){.header-main{gap:17px}.notice-trigger-label{display:none}.pack-pricing .price{font-size:23px}.pack-copy{padding-inline:15px}}
@media(max-width:760px){.header-main{gap:12px}.header-main>.brand{flex:1 1 130px}.header-main>.cart-trigger{max-width:37%}.notice-trigger{margin-inline-start:auto}.pack-stage{height:315px}.pack-stage>.pack-art{height:205px}.pack-copy{padding:15px 13px 9px;max-height:calc(100% - 72px)}.pack-copy .product-name{font-size:15px}.pack-brand{font-size:10px;gap:5px}.pack-brand>img{width:19px;height:19px;flex-basis:19px}.pack-ribbon{font-size:11px;padding:7px 11px;min-height:34px}.pack-ribbon b{font-size:16px}.pack-footer{padding:10px 13px 13px}.pack-pricing{gap:7px;margin-top:13px}.pack-pricing .price{font-size:22px}.pack-pricing .price small{font-size:9px}.pack-pricing .price .decimal{font-size:12px}.original-price{font-size:11px}.pack-actions>button{font-size:11px;padding:10px 5px;gap:4px}.pack-actions>button>svg{width:15px;height:15px}.announcement{margin-top:15px;gap:10px;padding:12px}.announcement-symbol{display:none}.announcement-more{font-size:11px;max-width:27%}.announcement-copy strong{font-size:12px}.announcement-copy p{font-size:11px}.notice-dismiss{width:22px;font-size:22px}.notice-dialog{padding:24px 19px}.notice-item{padding:15px}.campaign.custom-hero>.campaign-copy{padding:20px}.campaign.custom-hero h1{font-size:23px}.product-grid{gap:13px}}
@media(max-width:460px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pack-card{min-width:0;border-radius:6px}
  .pack-stage{height:280px}.pack-stage>.pack-art{height:150px}
  .pack-stage:after{inset-block-start:62px}
  .pack-copy{padding:12px 9px 9px;max-height:calc(100% - 54px)}
  .pack-copy .product-name{font-size:13px;line-height:1.45;-webkit-line-clamp:3}
  .pack-brand{font-size:9px;gap:4px;letter-spacing:0;line-height:1.35}
  .pack-brand>img{width:17px;height:17px;flex-basis:17px}
  .pack-ribbon{min-height:33px;padding:7px 8px;gap:5px;font-size:10px}
  .pack-ribbon b{font-size:14px}.pack-ribbon .promotion-status{font-size:9px}
  .pack-contents,.pack-country,.pack-description{font-size:11px;line-height:1.65}
  .pack-country{gap:5px;margin-top:9px}.pack-country>img{width:21px;height:14px;flex-basis:21px}
  .pack-contents{padding-inline-start:13px}.pack-more{font-size:10px;gap:5px}
  .pack-footer{padding:10px 9px 12px}.pack-stock{font-size:9px;gap:6px;flex-wrap:wrap}
  .pack-pricing{gap:3px 5px;margin-top:11px;min-height:25px}
  .pack-pricing .price{font-size:19px;letter-spacing:-.4px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .pack-pricing .price .decimal{font-size:11px}.pack-pricing .price small{font-size:8px}
  .original-price{font-size:10px}
  .pack-actions{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)}
  .pack-actions>button{font-size:10px;min-height:48px;padding:8px 4px;gap:3px}
  .pack-actions>button>svg{width:13px;height:13px}
  .announcement-more{max-width:25%}.notice-trigger{padding-inline:0}.cart-trigger .cart-icon{width:17px}.header-main>.cart-trigger{gap:5px}
}
@media(prefers-reduced-motion:reduce){:root:not([data-motion="on"]) :is(.pack-card,.pack-art,.pack-reveal){transition:none!important;animation:none!important}}

/* Merchant-managed labels stay usable without stretching the page or hero. */
.nav{min-width:0;scroll-padding-inline:8px}
.category-nav{display:flex;align-items:stretch;gap:inherit;flex:0 0 auto;min-width:0}
.category-nav:empty{display:none}
.category-nav>button{padding:0 5px;font-weight:650;white-space:nowrap;max-inline-size:16rem;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}
.category-nav>button.active{color:var(--accent-text);position:relative}
.category-nav>button.active:after{content:"";position:absolute;height:3px;inset-inline-start:28%;inset-inline-end:28%;bottom:0;background:var(--red)}
.categories{min-width:0;min-height:0;max-height:380px;overflow:hidden}
.categories>h2,.categories>.aside-bottom{flex-shrink:0}
#category-menu{min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain;flex:0 1 auto;padding-inline:2px}
.category-button .category-label{min-width:0;overflow-wrap:anywhere;line-height:1.55}
.category-button.active{color:var(--accent-text);font-weight:650}
.filter-bar{min-width:0}
.filter-bar #filter-tabs{flex:1;min-width:0;max-width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scroll-padding-inline:4px;padding:3px 3px 8px}
.filter-tab{flex-shrink:0;max-inline-size:18rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.filter-bar>label{flex-shrink:0}
@media(min-width:1500px){.categories{max-height:405px}}
@media(max-width:760px){.category-nav>button{font-size:12px;padding:0;max-inline-size:13rem}.filter-bar #filter-tabs{width:100%;flex:auto;scrollbar-width:thin}.filter-tab{max-inline-size:15rem}}

/* Timed offers use server-priced catalogue snapshots; clocks never calculate a sale price. */
.pack-ribbon.tone-green{background:linear-gradient(110deg,#397d0e 0%,#148d42 70%,#18a760 100%)}
.pack-ribbon.tone-blue{background:linear-gradient(180deg,#03b9ed 0%,#0875ed 38%,#043ee9 80%,#1233cb 100%);color:#fff}
.pack-ribbon.tone-gold{background:linear-gradient(110deg,#9d691a 0%,#9b7228 60%,#745321 100%)}
.promotion-time{display:flex;align-items:flex-start;gap:5px;font-size:10px;font-variant-numeric:tabular-nums;line-height:1.6;color:var(--pack-muted);margin-bottom:8px;overflow-wrap:anywhere;min-width:0}
.promotion-time>span:last-child{min-width:0}.promotion-time>span:first-child{flex-shrink:0}
.detail-copy>.promotion-time{font-size:12px;margin:8px 0;color:var(--muted)}
.detail-videos{display:grid;gap:20px;margin:24px 0}
.detail-videos figure{margin:0;min-width:0}.detail-videos figcaption{font-size:12px;color:var(--muted);margin-bottom:8px}
.detail-videos video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#111;max-height:450px}
.hot-words{min-width:0;max-width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}
.hot-words[hidden]{display:none}.hot-words>span,.hot-words>button{flex-shrink:0}
.hot-words>button{max-width:12rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-align:start}
.ticket-entry{color:var(--gold-text);font-size:12px;border:1px solid var(--line);padding:9px 13px;border-radius:5px;flex-shrink:0}
.ticket-entry:hover{background:var(--gold-soft)}
@media(max-width:760px){.hot-words{display:flex;gap:12px;font-size:10px;margin-top:8px}.hot-words>button{font-size:10px}.ticket-entry{font-size:11px;margin-inline-start:auto}.footer-inner p{flex:1 1 50%;margin-inline-start:0}.footer-inner small{margin-top:12px}}
@media(max-width:460px){.promotion-time{font-size:9px;gap:3px;margin-bottom:7px}.pack-pricing .price{font-size:clamp(16px,4.7vw,21px)}}

/* Reference offer strips: orange timed cart offers, red flash offers, and blue best sellers. */
.pack-ribbon.tone-orange{background:linear-gradient(180deg,#ff9b25 0%,#f1760b 40%,#dd5200 100%);color:#21170f;text-shadow:none}
.pack-ribbon.tone-red{background:linear-gradient(180deg,#da4266 0%,#d8303c 34%,#cd300e 100%);color:#fff;text-shadow:none}
.pack-ribbon.tone-orange,.pack-ribbon.tone-red{display:flex;flex-direction:column;align-items:stretch;gap:3px}
.ribbon-main,.ribbon-end{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.ribbon-main{width:100%;min-height:22px}
.ribbon-end{flex-shrink:0;gap:7px}
.ribbon-label{min-width:0;overflow-wrap:anywhere;line-height:1.3}
.ribbon-note{min-width:0;font-size:10px;line-height:1.3;overflow-wrap:anywhere;opacity:.96}
.ribbon-clock{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:13px;line-height:1.3;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.ribbon-icon{display:block;width:22px;height:22px;flex:0 0 22px}
.ribbon-clock>.ribbon-icon{width:17px;height:17px;flex-basis:17px}
.tone-orange .ribbon-main>.ribbon-icon-cart{margin-inline-start:auto}
.tone-red .ribbon-main>.ribbon-discount{margin-inline-start:auto}
.pack-ribbon.tone-blue>.ribbon-label{letter-spacing:.3px;font-weight:650}
.detail-copy .ribbon-note{font-size:12px}
@media(max-width:760px){.ribbon-clock{font-size:12px}.ribbon-main,.ribbon-end{gap:5px}.ribbon-icon{width:20px;height:20px;flex-basis:20px}.ribbon-note{font-size:10px}}
@media(max-width:460px){
  .pack-ribbon{padding:6px;min-height:31px}
  .ribbon-main,.ribbon-end{gap:3px}.ribbon-main{min-height:19px}
  .ribbon-clock{font-size:10px;gap:2px}.ribbon-clock>.ribbon-icon{width:12px;height:12px;flex-basis:12px}
  .ribbon-icon{width:17px;height:17px;flex-basis:17px}
  .pack-ribbon b{font-size:13px}.ribbon-note{font-size:9px}.ribbon-label{font-size:10px}
  .pack-ribbon.tone-blue>.ribbon-end{gap:3px}
  .pack-ribbon.tone-blue:has(.ribbon-discount){flex-wrap:wrap}
}
