/* Seasonal presentation layer for the customer site. Owner pages intentionally opt out. */
body:not(.owner-ui) {
  --seasonal-pine: #345c4c;
  --seasonal-pine-soft: #edf3ef;
  --seasonal-gold: #c59645;
  --customer-surface: #fffdfb;
  background: #fffdfb;
}

body:not(.owner-ui) > header {
  position: relative;
  padding-top: 17px;
  padding-bottom: 17px;
  background: var(--customer-surface);
  border-bottom: 1px solid #eee7df;
}
body:not(.owner-ui) > header::after {
  position: absolute;
  right: 28px;
  bottom: -5px;
  left: 28px;
  z-index: 2;
  height: 10px;
  content: "";
  background:
    radial-gradient(circle, #b94c43 0 3px, transparent 3.6px) 16px 1px / 76px 9px repeat-x,
    radial-gradient(circle, #d2a24e 0 3px, transparent 3.6px) 54px 1px / 76px 9px repeat-x,
    linear-gradient(transparent 2px, #738a74 2px 3px, transparent 3px);
}
body:not(.owner-ui) > header nav { gap: 12px; }
body:not(.owner-ui) > header nav a {
  position: relative;
  padding: 8px 4px;
  border-radius: 9px;
  transition: color .16s ease, background-color .16s ease;
}
body:not(.owner-ui) > header nav a:hover,
body:not(.owner-ui) > header nav a:focus-visible {
  color: var(--seasonal-pine);
  background: var(--seasonal-pine-soft);
}
.cart-nav-link { gap: 5px; }
.cart-icon { position: relative; display: inline-grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; }
.cart-icon > svg { display: block; width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  z-index: 3;
  top: -7px;
  right: -8px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #b72e2b;
  color: white;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 4px rgb(37 24 20 / 32%);
}
.cart-count[hidden] { display: none; }

body:not(.owner-ui) .service-strip {
  position: relative;
  background: #f5f3ed;
  color: #344e41;
  border-bottom: 1px solid #e8e6db;
}
body:not(.owner-ui) .service-strip::before {
  width: 62px;
  height: 29px;
  content: "";
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  background: url("/assets/seasonal/christmas-pine-sprig.svg") left center / contain no-repeat;
}
body:not(.owner-ui) main { max-width: 1180px; padding-top: 38px; }
body:not(.owner-ui) h1 { max-width: 790px; line-height: 1.13; }
body:not(.owner-ui) h2, body:not(.owner-ui) h3 { text-wrap: pretty; }
body:not(.owner-ui) .eyebrow { color: var(--seasonal-pine); letter-spacing: 1.45px; }
body:not(.owner-ui) .hero {
  position: relative;
  isolation: isolate;
  gap: clamp(25px, 4vw, 54px);
  padding: 48px 26px 38px;
  overflow: hidden;
  border: 1px solid #dce5dc;
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 96% 0%, rgb(210 162 78 / 14%), transparent 34%),
    linear-gradient(122deg, #edf4ed 0%, #fffdfa 57%, #fff5ef 100%);
  box-shadow: 0 12px 30px rgb(47 72 54 / 6%);
}
body:not(.owner-ui) .hero::before {
  position: absolute;
  z-index: 0;
  top: 3px;
  right: calc(33.333% + 10px);
  width: 150px;
  height: 74px;
  content: "";
  background: url("/assets/seasonal/christmas-pine-sprig.svg") center / contain no-repeat;
  pointer-events: none;
}
body:not(.owner-ui) .hero > * { position: relative; z-index: 1; }
body:not(.owner-ui) .hero-side { position: relative; padding-top: 73px; }
body:not(.owner-ui) .hero-side::before {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 126px;
  height: 54px;
  content: "";
  background: url("/assets/seasonal/christmas-pine-sprig.svg") center / contain no-repeat;
  pointer-events: none;
}
body:not(.owner-ui) .hero .eyebrow::after {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin-left: 9px;
  padding: 2px 9px;
  border: 1px solid #e2cda5;
  border-radius: 999px;
  background: #fff9e9;
  color: #78521d;
  content: "Christmas in Japan";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .55px;
  vertical-align: 1px;
}
body:not(.owner-ui) .hero-side {
  border-color: #d9e4da;
  background: linear-gradient(145deg, #fff 0%, #f3f7f2 100%);
  box-shadow: 0 12px 34px rgb(49 67 53 / 7%);
}
body:not(.owner-ui) .hero-side h2 { color: var(--seasonal-pine); }
body:not(.owner-ui) .campaign-promo {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  width: min(100%, 1040px);
  margin: 38px auto 52px;
  padding: clamp(17px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid #eadfce;
  border-radius: 22px;
  background: linear-gradient(125deg, #fffaf2 0%, #fff 54%, #f6f7f2 100%);
  box-shadow: 0 10px 30px rgb(63 47 32 / 7%);
}
body:not(.owner-ui) .campaign-copy { min-width: 0; }
body:not(.owner-ui) .campaign-copy h2 { margin-bottom: 12px; color: #293c34; font-size: clamp(22px, 2.6vw, 32px); }
body:not(.owner-ui) .campaign-copy .eyebrow { margin-bottom: 12px; font-size: 11px; }
body:not(.owner-ui) .campaign-copy > p:not(.eyebrow) { margin-bottom: 13px; font-size: 15px; }
body:not(.owner-ui) .campaign-separation { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid #e9e2d8; color: #706a62; text-align: center; font-size: 13px !important; }
body:not(.owner-ui) .campaign-visit { display: flex; width: fit-content; min-width: 190px; justify-content: center; margin: 8px auto 0; text-align: center; }
body:not(.owner-ui) .campaign-artwork { min-width: 0; margin: 0; }
body:not(.owner-ui) .campaign-image-link,
body:not(.owner-ui) .campaign-image-frame {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #eee4d7;
  border-radius: 14px;
  background: #f7f3ed;
}
body:not(.owner-ui) .campaign-image-link { transition: transform .16s ease, box-shadow .16s ease; }
body:not(.owner-ui) .campaign-image-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgb(43 35 25 / 14%); }
body:not(.owner-ui) .campaign-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body:not(.owner-ui) .campaign-artwork figcaption { margin: 8px 2px 0; color: var(--muted); font-size: 12px; }
.product-card .quick-add { position: absolute; }
.product-card .product-cart-count { position: absolute; z-index: 2; top: -7px; right: -7px; display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: #b72e2b; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; box-shadow: 0 1px 4px rgb(37 24 20 / 32%); }
.product-card .product-cart-count[hidden] { display: none; }
.promotion-editor { max-width: 900px; }
.promotion-editor .promotion-preview-label { margin: 8px 0 -8px; font-weight: 650; }
.promotion-preview { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #e4ddd4; border-radius: 12px; background: #f7f3ed; }
.promotion-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.promotion-preview p { padding: 12px; color: var(--muted); }
@media (max-width: 700px) {
  .promotion-editor { padding: 16px; }
}
body:not(.owner-ui) .card,
body:not(.owner-ui) .panel {
  border-color: #e9e2dc;
  border-radius: 18px;
  background: var(--customer-surface);
  box-shadow: 0 6px 22px rgb(49 49 48 / 4%);
}
body:not(.owner-ui) .product-card {
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body:not(.owner-ui) .product-card:hover {
  transform: translateY(-2px);
  border-color: #d7e2d9;
  box-shadow: 0 12px 28px rgb(49 67 53 / 9%);
}
body:not(.owner-ui) .product-card .product-image,
body:not(.owner-ui) .product-card .placeholder {
  background: #f7f5f1;
}
body:not(.owner-ui) .product-card .copy { padding: 18px; }
body:not(.owner-ui) .product-card .copy > small { display: block; margin-bottom: 5px; }
body:not(.owner-ui) .product-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
body:not(.owner-ui) .retail-reference { color: var(--muted); font-size: 14px; }
body:not(.owner-ui) .selling-price { color: var(--seasonal-pine); }
body:not(.owner-ui) button,
body:not(.owner-ui) .button {
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform .12s ease, filter .16s ease, box-shadow .16s ease;
}
body:not(.owner-ui) button:not(:disabled):active,
body:not(.owner-ui) .button:active { transform: translateY(1px); }
body:not(.owner-ui) button:not(.secondary):not(.danger):hover,
body:not(.owner-ui) .button:not(.secondary):hover { box-shadow: 0 5px 14px rgb(160 39 35 / 17%); }
body:not(.owner-ui) input,
body:not(.owner-ui) select,
body:not(.owner-ui) textarea { border-color: #cfc5bc; border-radius: 11px; }
body:not(.owner-ui) input:focus-visible,
body:not(.owner-ui) select:focus-visible,
body:not(.owner-ui) textarea:focus-visible { border-color: var(--seasonal-pine); }
body:not(.owner-ui) .badge {
  background: var(--seasonal-pine-soft);
  border-color: #d7e2d9;
}
body:not(.owner-ui) .notice {
  background: #f5f7f3;
  border-color: #dfe7dc;
}
body:not(.owner-ui) .notice.neutral { background: #f8f6f2; }
body:not(.owner-ui) .empty { border-color: #cdd9ce; background: #fff; }
body:not(.owner-ui) .gallery-main { background: #fff; }
body:not(.owner-ui) .cart-item-card { border-color: #e9e2dc; box-shadow: 0 3px 14px rgb(49 49 48 / 3%); }
body:not(.owner-ui) .cart-item-image { background: #f7f5f1; }
body:not(.owner-ui) .cart-summary { border-top: 3px solid var(--seasonal-pine); }
body:not(.owner-ui) .provider-option-card.is-selected { border-color: var(--seasonal-pine); background: #f3f7f3; }
body:not(.owner-ui) .onegai-shipping-card,
body:not(.owner-ui) .shipping-options-card,
body:not(.owner-ui) .selected-provider-summary,
body:not(.owner-ui) .shipping-choice-section {
  border-color: #dfe7dc;
  background: #f7f9f6;
}
body:not(.owner-ui) footer { background: #f8f7f3; border-color: #e9e5dc; }
body:not(.owner-ui) footer > strong { color: var(--seasonal-pine); }
body:not(.owner-ui) #toast { box-shadow: 0 8px 26px rgb(0 0 0 / 18%); }

@media (max-width: 699px) {
  body:not(.owner-ui) > header { justify-content: space-between; padding: 12px 16px 14px; }
  body:not(.owner-ui) > header::after { right: 16px; left: 16px; }
  body:not(.owner-ui) > header nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
  }
  body:not(.owner-ui) > header nav a {
    justify-content: center;
    min-width: 0;
    min-height: 46px;
    padding: 5px 3px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }
  body:not(.owner-ui) .cart-nav-link { gap: 3px; }
  body:not(.owner-ui) .cart-count { top: -7px; right: -8px; }
  body:not(.owner-ui) main { padding-top: 28px; }
  body:not(.owner-ui) .hero { gap: 20px; padding: 48px 16px 25px; border-radius: 20px; }
  body:not(.owner-ui) .hero::before { right: 12px; }
  body:not(.owner-ui) .hero::before { top: 2px; right: 12px; width: 126px; height: 42px; }
  body:not(.owner-ui) .hero .eyebrow { max-width: calc(100% - 36px); padding-right: 3px; }
  body:not(.owner-ui) .hero .eyebrow::after { margin-top: 5px; margin-left: 0; }
  body:not(.owner-ui) .hero h1 { padding-right: 0; }
  body:not(.owner-ui) .hero-side { padding: 67px 21px 21px; }
  body:not(.owner-ui) .hero-side::before { top: 9px; right: 12px; width: 105px; height: 48px; }
  body:not(.owner-ui) .campaign-promo { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 28px auto 38px; padding: 16px; border-radius: 17px; }
  body:not(.owner-ui) .campaign-copy h2 { font-size: 24px; }
  body:not(.owner-ui) .campaign-copy > p:not(.eyebrow) { font-size: 14px; }
  body:not(.owner-ui) .campaign-artwork figcaption { font-size: 11px; }
  body:not(.owner-ui) .product-card .copy { padding: 13px; }
  body:not(.owner-ui) .detail-prices .selling-price { font-size: 25px; }
  body:not(.owner-ui) .cart-item-card { background: #fff; }
}

@media (max-width: 379px) {
  body:not(.owner-ui) .hero .eyebrow::after { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.owner-ui) *, body:not(.owner-ui) *::before, body:not(.owner-ui) *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
