@import url("assets/vendor/fonts/plus-jakarta-sans/index.css");

:root {
  --locale-glow: #d3ebcd;
  --locale-accent: #17613f;
  --locale-deep: #123e31;
  --locale-canvas: #f3f6ed;
  --locale-pattern: repeating-linear-gradient(130deg, transparent 0 42px, rgba(255,255,255,.035) 43px 44px, transparent 45px 85px);
  --world-dark: #123e31;
  --world-accent: #17613f;
  --world-pale: #e6f1dd;
  --world-warm: #e7ae54;
  --world-ink: #143b2c;
  --locale-font: "Plus Jakarta Sans Variable", system-ui, sans-serif;
}
body[data-culture="ms-MY"] { --locale-glow: #e9edc9; --locale-accent: #4a6128; --locale-deep: #263d20; --locale-canvas: #f7f7eb; --locale-pattern: repeating-linear-gradient(45deg, transparent 0 38px, rgba(255,255,255,.045) 39px 40px, transparent 41px 76px); }
body[data-culture="zh-CN"] { --locale-glow: #f5dfd4; --locale-accent: #963b2b; --locale-deep: #68291f; --locale-canvas: #fbf4ef; --locale-pattern: repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.04) 39px 40px, transparent 41px 80px); --locale-font: "Noto Sans SC Variable", "Microsoft YaHei", sans-serif; }
body[data-culture="zh-TW"] { --locale-glow: #d6ebe6; --locale-accent: #21655f; --locale-deep: #174542; --locale-canvas: #f0f7f3; --locale-pattern: repeating-linear-gradient(90deg, transparent 0 48px, rgba(255,255,255,.035) 49px 50px, transparent 51px 98px); --locale-font: "Noto Sans TC Variable", "Microsoft JhengHei", sans-serif; }
body[data-culture="ja"] { --locale-glow: #dce5f3; --locale-accent: #3c5985; --locale-deep: #23395e; --locale-canvas: #f1f4f9; --locale-pattern: repeating-linear-gradient(0deg, transparent 0 57px, rgba(255,255,255,.04) 58px 59px, transparent 60px 116px); --locale-font: "Noto Sans JP Variable", "Yu Gothic", sans-serif; }
body[data-culture="ko"] { --locale-glow: #ebdff0; --locale-accent: #6b4c7b; --locale-deep: #473354; --locale-canvas: #f8f3f8; --locale-pattern: repeating-linear-gradient(135deg, transparent 0 55px, rgba(255,255,255,.035) 56px 57px, transparent 58px 110px); --locale-font: "Noto Sans KR Variable", "Malgun Gothic", sans-serif; }
body[data-promotion="7savers"] { --world-dark: var(--locale-deep); --world-accent: var(--locale-accent); --world-pale: #e9f4d5; --world-warm: #e5ba54; --world-ink: var(--locale-deep); }
body[data-promotion="7meals"] { --world-dark: var(--locale-deep); --world-accent: var(--locale-accent); --world-pale: #fae9d8; --world-warm: #d78a42; --world-ink: var(--locale-deep); }
body {
  --theme-accent: var(--locale-accent);
  --theme-accent-soft: var(--locale-glow);
  font-family: var(--locale-font);
  background: var(--locale-canvas);
}
body[data-promotion="7savers"], body[data-promotion="7meals"] {
  --forest: var(--world-accent);
  --forest-deep: var(--world-dark);
  --theme-accent: var(--world-accent);
  --theme-accent-soft: var(--world-pale);
}
.app-shell { background: transparent; }
.topbar { background: linear-gradient(100deg, #fdfcf9 50%, var(--locale-glow)); }
.brand-mark { background: var(--locale-deep); }
.staff-studio-link:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--locale-deep);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 430px) {
  .staff-tools-enabled .brand-copy { display: none; }
}
.currency-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 254, 250, .88);
  color: var(--muted);
  font-size: 11px;
}
.currency-toolbar label { font-weight: 800; }
.currency-toolbar select {
  min-height: 44px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-strong);
  font-weight: 800;
}
.currency-toolbar small { flex: 1 1 210px; font-size: 10px; line-height: 1.4; }
.currency-estimate:not([hidden]) { display: block; color: #53665b; font-size: 10px; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.price-tag { flex-wrap: wrap; gap: 3px 7px; max-width: 100%; }
.price-tag .price-regular { color: #6b6251; font-weight: 650; }
.price-tag .price-demo-label { flex-basis: 100%; color: #674510; font-size: 10px; }
.price-tag .price-current { color: #8d432b; font-size: 13px; font-weight: 850; }
.price-tag .currency-estimate:not([hidden]) { flex-basis: 100%; }
.list-copy .price-tag { margin-top: 6px; }
.promo-price.promo-price--pending { font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.main-content { position: relative; }
.hero {
  isolation: isolate;
  background: linear-gradient(118deg, var(--locale-deep) 0%, var(--locale-accent) 100%);
  border-radius: 30px;
}
body[data-culture] .hero {
  background: linear-gradient(118deg, var(--locale-deep) 0%, var(--locale-accent) 100%);
  border-radius: 30px;
}
.hero::before, body[data-culture] .hero::before {
  background: radial-gradient(circle at 85% 22%, rgba(255, 239, 211, .2), transparent 28%), var(--locale-pattern);
}
.hero::after { border-color: rgba(255,255,255,.14); }
.hero .eyebrow { color: #fff; }
.hero h1 {
  max-width: 610px;
  font-family: var(--locale-font);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero p { max-width: 490px; color: #fff; }
.hero-foot { color: #fff; }
.hero-art-panel { border-color: #fffdf3; }
.hero-art-panel img { object-fit: contain; }
.hero-art-panel.image-failed::before { content: attr(data-fallback); font-size: 30px; }
.hero-art-panel-main { transform: rotate(4deg); }
.hero-art-panel-small { transform: rotate(-6deg); }
.hero-help { background: rgba(255,255,255,.12); }
.hero-image-note { display: block; margin-top: 9px; color: #fff; font-size: 10px; line-height: 1.4; }
.section-head h2, .quick-flow-head h2, .promo-title-line h3,
.builder-heading h1, .content-panel h2, .help-sheet h2 {
  font-family: var(--locale-font);
  line-height: 1.2;
}
.section-kicker, .mini-eyebrow { color: var(--locale-accent); }
.locale-commerce-cue { max-width: 480px; margin: 8px 0 0; color: #52665a; font-size: 12px; line-height: 1.45; }
.promo-grid { gap: 16px; }
.promo-card {
  position: relative;
  border: 1px solid #e1e4d7;
  border-radius: 24px;
  background: #fffefa;
  box-shadow: 0 12px 30px rgba(27, 45, 28, .07);
}
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  z-index: 3;
  background: #77aa54;
}
.promo-card-7meals::before { background: #df8c4c; }
.promo-card-7savers .promo-media { background: #e4efd7; }
.promo-card-7meals .promo-media { background: #f4dfca; }
.promo-card:hover { border-color: #c8d5c4; }
.promo-media::after { display: none; }
.promo-preview { position: absolute; inset: 0; min-height: 0; width: 100%; height: 100%; object-fit: contain; }
.promo-card:hover .promo-preview { transform: none; }
.promo-image-label {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 7px;
  left: 7px;
  width: fit-content;
  max-width: calc(100% - 14px);
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 254, 250, .96);
  color: #233b30;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.3;
}
.promo-title-line h3 { font-weight: 800; }
.promo-price-row { flex-wrap: wrap; row-gap: 4px; }
.promo-price { color: #ad3025; font-family: var(--locale-font); }
.promo-card .primary-button { justify-content: space-between; padding-inline: 16px; }
.promo-card-7savers .primary-button { background: #175f3b; }
.promo-card-7meals .primary-button { background: #8d432b; }
.primary-button { transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.primary-button:active { transform: scale(.98); }
.primary-button:disabled { background: #e1e8df; color: #5d6e60; }
.quick-flow { border-radius: 22px; background: rgba(255,254,250,.9); }
.quick-flow-item > span { background: var(--locale-glow); color: var(--locale-deep); }
.home-note { background: var(--locale-glow); }
.builder-heading h1 { color: var(--world-ink); }
.switch-promo { margin-left: 6px; border-color: var(--world-accent); color: var(--world-ink); }
body.has-builder .main-content { background: radial-gradient(ellipse at 85% 0, var(--world-pale), transparent 330px), linear-gradient(145deg, var(--locale-glow), transparent 440px); }
body.has-builder .step-chip.active { background: var(--world-dark); border-color: var(--world-dark); }
body.has-builder .primary-button:not(:disabled) { background: var(--world-accent); }
body.has-builder .sticky-inner .primary-button:disabled {
  background: #e1e8df;
  border-color: #a9b9ac;
  color: #314b38;
  opacity: 1;
}
body.has-builder .content-panel { border-color: var(--line); background: #fffefa; }
body.has-builder .product-card.selected, body.has-builder .list-card.selected {
  border-color: var(--world-accent);
  background: var(--world-pale);
  box-shadow: 0 0 0 2px var(--world-pale);
}
body.has-builder .product-card.selected::after, body.has-builder .selected .radio-dot {
  background: var(--world-accent);
  border-color: var(--world-accent);
  color: white;
}
.summary-head { background: var(--world-dark); }
.summary-price { color: #ad3025; }
.sticky-action { border-color: rgba(190, 204, 184, .8); }

.immersive-curtain {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
  color: #fffdf4;
}
.curtain-panel { position: absolute; inset: 0; background: #123e31; }
.immersive-curtain--7savers .curtain-panel { background: linear-gradient(135deg, var(--locale-deep) 20%, var(--locale-accent) 72%, #486f39); }
.immersive-curtain--7meals .curtain-panel { background: linear-gradient(135deg, var(--locale-deep) 20%, var(--locale-accent) 72%, #87523a); }
.immersive-curtain--locale .curtain-panel { background: var(--locale-deep); }
.immersive-curtain--locale .curtain-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--locale-accent), transparent 70%), var(--locale-pattern);
}
.curtain-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(76vw, 460px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255,255,255,.035), 0 0 0 75px rgba(255,255,255,.025);
}
.curtain-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  font-family: var(--locale-font);
}
.curtain-copy span { font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.curtain-copy strong { font-size: clamp(36px, 11vw, 76px); line-height: 1.15; letter-spacing: -.045em; }
.curtain-copy i { width: 44px; height: 3px; border-radius: 2px; background: #e7b45d; }

body[data-culture="ms-MY"] .hero-art-panel-main { border-radius: 28px 8px 28px 8px; }
body[data-culture="ms-MY"] .promo-body .primary-button { border-radius: 16px 16px 6px 16px; }
body[data-culture="zh-CN"] .hero-art-panel-main { border-radius: 12px; transform: rotate(0deg); }
body[data-culture="zh-CN"] .promo-card { border-radius: 12px; }
body[data-culture="zh-CN"] .promo-price-row { padding: 8px; border-radius: 8px; background: var(--locale-canvas); }
body[data-culture="zh-CN"] .locale-commerce-cue { padding-left: 9px; border-left: 3px solid var(--locale-accent); color: var(--locale-deep); }
body[data-culture="zh-TW"] .hero-art-panel-main { border-radius: 26px; transform: rotate(-2deg); }
body[data-culture="zh-TW"] .promo-card { grid-template-columns: minmax(0, 1.16fr) minmax(90px, .84fr); border-radius: 28px; }
body[data-culture="zh-TW"] .promo-media { order: 2; }
body[data-culture="zh-TW"] .promo-body { order: 1; }
body[data-culture="ja"] .hero-art-panel-main { border-radius: 6px; transform: rotate(0deg); }
body[data-culture="ja"] .promo-card, body[data-culture="ja"] .product-card { border-radius: 10px; }
body[data-culture="ja"] .hero h1 { letter-spacing: -.025em; }
body[data-culture="ja"] .locale-commerce-cue { padding-bottom: 5px; border-bottom: 1px solid var(--locale-glow); }
body[data-culture="ko"] .hero-art-panel-main { border-radius: 34px; transform: rotate(3deg); }
body[data-culture="ko"] .promo-card, body[data-culture="ko"] .product-card { border-radius: 26px; }
body[data-culture="ko"] .hero h1 { letter-spacing: -.025em; }
body[data-culture="ko"] .promo-body { background: linear-gradient(165deg, #fffefa 60%, var(--locale-canvas)); }
body[data-culture="ko"] .locale-commerce-cue { color: var(--locale-deep); }
body[data-culture="ja"] .curtain-orbit { border-radius: 12%; }
body[data-culture="ko"] .curtain-orbit { border-radius: 34%; }
.list-card { grid-template-columns: 64px minmax(0, 1fr) 23px; }
.product-thumb { height: auto; max-height: 200px; aspect-ratio: 1; background: #f8f2e7; }
.list-icon { width: 64px; height: 64px; overflow: hidden; }
.list-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.list-icon.image-failed::before { content: attr(data-fallback); }
.image-disclosure {
  display: block;
  width: fit-content;
  padding: 3px 6px;
  border-radius: 6px;
  background: #f7edda;
  color: #60430f;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}
.list-copy .image-disclosure { margin-top: 5px; }
.source-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--locale-accent); font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .topbar { box-shadow: 0 1px 0 rgba(255,255,255,.8); }
  .main-content { padding-top: 16px; }
  body[data-culture] .hero {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 4px;
    padding: 23px 20px;
    border-radius: 23px;
  }
  .hero h1 { font-size: clamp(28px, 7.8vw, 36px); line-height: 1.13; }
  .hero p { font-size: 13px; }
  .hero-art-panel-main { top: 24px; width: 100px; height: 94px; }
  .hero-art-panel-small { width: 54px; height: 54px; }
  .section-head h2 { font-size: 22px; }
  .promo-card { border-radius: 20px; }
  .promo-body { padding: 15px 14px 11px; }
  .promo-title-line h3 { font-size: 19px; }
  .promo-price { font-size: 28px; }
  .promo-card .primary-button { font-size: 13px; }
  .builder-heading h1 { font-size: 26px; }
  .content-panel h2 { font-size: 23px; }
  .sticky-inner .primary-button:not(:disabled) { background: var(--world-accent); }
  body[data-culture="ja"] .option-grid { grid-template-columns: 1fr; }
  body[data-culture="ja"] .product-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-content: start;
    min-height: 108px;
  }
  body[data-culture="ja"] .product-thumb { grid-column: 1; grid-row: 1 / 6; height: 88px; }
  body[data-culture="ja"] .product-card > :not(.product-thumb) { grid-column: 2; }
}
@media (max-width: 370px) {
  body[data-culture] .hero { grid-template-columns: minmax(0, 1fr) 74px; padding: 20px 16px; }
  .hero h1 { font-size: 26px; }
  .hero-art-panel-main { width: 82px; height: 80px; }
  .list-card { grid-template-columns: 54px minmax(0, 1fr) 23px; }
  .list-icon { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .immersive-curtain { display: none; }
}
@media (forced-colors: active) {
  .product-card.selected, .list-card.selected { outline: 3px solid Highlight; outline-offset: -3px; }
}
