/* Reuse the contact page's Graphik faces and KODAK palette on this surface only. */
@font-face { font-family: Graphik; src: url('/GraphikRegular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Graphik; src: url('/GraphikBold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Graphik; src: url('/GraphikSuper.woff2') format('woff2'); font-weight: 900; font-display: swap; }

.customer-page {
  --yellow: #ffd500;
  --line: #d8d6ce;
  --ink: #111;
  --red: #ed1c24;
  --cream: #f5f0e6;
  background: #fff;
  color: var(--ink);
  font-family: Graphik, 'PingFang HK', 'Noto Sans TC', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  caret-color: var(--red);
}
.customer-page ::selection { background: var(--yellow); color: var(--ink); }
.customer-page a { text-underline-offset: 5px; }
.customer-page header {
  background: #ffb700;
  min-height: 94px;
  padding: 20px clamp(24px, 4vw, 64px);
  border: 0;
  gap: 24px;
}
.customer-page .brand { flex: 0 0 auto; }
.customer-page .brand img { width: 56px; height: 56px; object-fit: contain; display: block; }
.customer-page .brand-name { flex: 1; font-size: 16px; font-weight: 700; text-align: left; letter-spacing: .04em; }
.customer-page .brand-help { color: var(--ink); font-weight: 700; font-size: 16px; min-height: 44px; display: flex; align-items: center; }
.customer-page header:has(.brand-name) { flex-direction: row; align-items: center; }
.customer-page .customer { max-width: none; padding: 0; display: block; }
.customer-page .intro { background: var(--yellow); margin: 0; padding: 36px max(24px, calc((100vw - 1060px) / 2)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 44px; }
.customer-page h1 { font-weight: 900; font-size: clamp(30px, 3vw, 40px); line-height: 1.3; letter-spacing: -.03em; margin: 0 0 18px; }
.customer-page .intro p { max-width: 52ch; margin: 0 0 10px; }
.customer-page .intro .english { color: #3d3500; }
.customer-page .intro p:last-child { margin-bottom: 0; }
.customer-page .campaign-art { display: block; grid-column: 1; grid-row: 1; width: 100%; height: auto; max-width: 300px; margin-bottom: 20px; }
.customer-page .intro-copy { grid-column: 1; grid-row: 2; }
.customer-page .intro-copy, .customer-page .intro-photos { min-width: 0; }
.customer-page .intro-photos { display: grid; grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.customer-page .intro-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; }
.customer-page .review-workspace { min-width: 0; max-width: 1108px; margin: auto; padding: 32px 24px 48px; }
.customer-page .customer-email { display: block; max-width: 600px; margin-bottom: 28px; font-weight: 700; }
.customer-page .customer-email input { display: block; width: 100%; min-height: 52px; margin-top: 8px; font: inherit; font-size: 16px; font-weight: 400; border: 1px solid #777; border-radius: 0; background: #fff; padding: 12px; }
.customer-page .customer-email input:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.customer-page .customer:has(.intro[hidden]) { max-width: 760px; }
.customer-page #message:empty { display: none; }
.customer-page #message:not(:empty) { padding: 16px; background: var(--cream); overflow-wrap: anywhere; }
.customer-page form section { padding-top: 32px; margin: 0 0 40px; border-top: 1px solid var(--line); }
.customer-page form section[data-section='items'] { border: 0; padding-top: 0; }
.customer-page .step { gap: 16px; margin-bottom: 18px; }
.customer-page .step > span { width: 36px; height: 36px; border-radius: 0; border: 0; background: var(--ink); color: var(--yellow); font-variant-numeric: tabular-nums; }
.customer-page h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.customer-page .step small { font-size: 16px; letter-spacing: 0; margin-top: 6px; color: #555; }
.customer-page .english { color: #555; }
.customer-page #order-number { margin-bottom: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.customer-page .select-all { font-weight: 700; padding: 10px 0; }
.customer-page .items-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.customer-page .items-toolbar p { margin: 0; }
.customer-page .items-help { margin-top: 0; margin-bottom: 10px; }
.customer-page .upload-rules { color: #555; margin: 10px 0 24px; }
.customer-page .product-reviews { border-top: 1px solid var(--line); }
.customer-page .review-product { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px 36px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.customer-page .product-summary { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.customer-page .product-heading h3 { font-size: 17px; font-weight: 700; line-height: 1.45; margin: 0 0 6px; overflow-wrap: anywhere; }
.customer-page .ordered-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 0 0; border: 0; }
.customer-page .ordered-item:has(input:checked) { background: transparent; }
.customer-page .ordered-item:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.customer-page .ordered-item img { width: 144px; height: 118px; object-fit: contain; mix-blend-mode: multiply; }
.customer-page .product-select { display: flex; align-items: center; gap: 8px; min-height: 44px; line-height: 1.4; }
.customer-page .product-select input { margin: 0; width: 22px; height: 22px; accent-color: var(--ink); flex-shrink: 0; }
.customer-page .upload-area { grid-column: 2; min-width: 0; }
.customer-page .upload { background: var(--cream); border: 1px dashed #777065; padding: 24px 16px; gap: 4px; min-height: 148px; justify-content: center; }
.customer-page .upload strong { font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.customer-page .upload .english { color: var(--ink); }
.customer-page .upload-count { margin-top: 8px; color: #555; }
.customer-page .upload:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.customer-page .upload:hover { background: #eee7da; }
.customer-page .thumbnails:empty { display: none; }
.customer-page .thumbnails { gap: 8px; margin-top: 10px; }
.customer-page .thumbnails img, .customer-page .thumbnails video { width: 64px; height: 72px; border-radius: 0; }
.customer-page .item-review { grid-column: 2; min-width: 0; margin: 0; padding: 0; border: 0; }
.customer-page .item-stars { gap: 8px; margin: 0 0 12px; }
.customer-page .item-stars legend { margin-bottom: 8px; }
.customer-page .item-stars span { min-height: 52px; border-radius: 0; color: var(--ink); border-color: #777; padding: 12px 0; }
.customer-page .comment-label > span { display: block; font-weight: 400; }
.customer-page .comment-label textarea, .customer-page select { font-size: 16px; font-weight: 400; border-radius: 0; border-color: #777; }
.customer-page .comment-label textarea { margin-top: 4px; }
.customer-page .comment-label textarea::placeholder { color: #626262; opacity: 1; }
.customer-page .reward { border-radius: 0; padding: 22px 18px; border-color: #aaa69e; }
.customer-page .reward:has(input:checked) { border: 2px solid var(--ink); background: #fff9d6; padding: 21px 17px; }
.customer-page .reward .reward-benefit { display: block; margin: 14px 0; }
.customer-page .reward strong { font-size: 21px; line-height: 1.35; }
.customer-page .reward input, .customer-page .permission input { accent-color: var(--ink); }
.customer-page .reward:has(input[value='free_shipping']) { background: var(--cream); }
.customer-page .permission strong { font-weight: 400; }
.customer-page .permission p { padding-left: 0; }
.customer-page .permission em { font-style: normal; }
.customer-page .primary, .customer-page .secondary { border-radius: 0; justify-content: center; text-align: center; padding: 18px 20px; min-height: 56px; }
.customer-page .primary { background: #d71920; color: #fff; }
.customer-page .primary:hover { background: #be151c; }
.customer-page #submit { text-align: center; font-size: 19px; }
.customer-page #submit span[lang='en'] { font-size: 16px; }
.customer-page .primary:disabled { background: #777; opacity: 1; }
.customer-page .footnote { color: #555; margin-top: 18px; }
.customer-page .receipt { padding: 0; background: #fff; border: 0; }
.customer-page .receipt h2 { font-size: 36px; }
.customer-page footer { background: var(--ink); color: #fff; padding: 32px clamp(24px, 4vw, 64px); margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; font-size: 16px; }
.customer-page footer strong { color: var(--yellow); }
.customer-page footer a { color: #fff; }
.customer-page .preview { background: #fff; color: #555; padding: 8px 20px; border-bottom: 1px solid var(--line); font-size: 16px; }

@media (max-width: 900px) {
  .customer-page .intro { padding: 30px 24px; gap: 0 28px; }
  .customer-page header { padding: 16px 24px; min-height: 80px; gap: 14px; }
  .customer-page .brand img { width: 44px; height: 44px; }
  .customer-page .brand-name { max-width: 18ch; line-height: 1.4; }
  .customer-page .brand-help { margin-left: auto; font-weight: 400; }
  .customer-page footer { align-items: flex-start; }
  .customer-page .review-product { grid-template-columns: 170px minmax(0, 1fr); gap: 16px 24px; }
}
@media (max-width: 620px) {
  .customer-page header { flex-wrap: nowrap; }
  .customer-page .brand-name { max-width: none; }
  .customer-page .brand-help { display: none; }
  .customer-page .intro { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 28px 24px; }
  .customer-page .campaign-art { max-width: 260px; margin-bottom: 0; }
  .customer-page .intro-photos img { aspect-ratio: 1; }
  .customer-page h1 { font-size: clamp(28px, 7.4vw, 34px); margin-bottom: 16px; }
  .customer-page .review-workspace { padding: 28px 24px 40px; }
  .customer-page .step { gap: 12px; }
  .customer-page .items-toolbar { align-items: flex-start; gap: 8px; flex-wrap: wrap; }
  .customer-page .items-toolbar p { padding-top: 10px; }
  .customer-page .review-product { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .customer-page .product-summary { display: contents; }
  .customer-page .product-heading { grid-column: 1 / -1; }
  .customer-page .product-heading h3 { font-size: 16px; }
  .customer-page .ordered-item { grid-column: 1; grid-row: 2; padding: 0; gap: 4px; }
  .customer-page .ordered-item img { width: 96px; height: 100px; }
  .customer-page .product-select { gap: 6px; }
  .customer-page .product-select span { font-size: 16px; }
  .customer-page .upload-area { grid-column: 2; grid-row: 2; }
  .customer-page .upload { padding: 16px 10px; min-height: 148px; }
  .customer-page .upload strong { font-size: 17px; }
  .customer-page .thumbnails { gap: 6px; }
  .customer-page .thumbnails img, .customer-page .thumbnails video { width: 44px; height: 52px; }
  .customer-page .item-review { grid-column: 1 / -1; }
  .customer-page .item-stars { gap: 6px; }
  .customer-page .reward { padding: 20px 14px; }
  .customer-page .reward:has(input:checked) { padding: 19px 13px; }
  .customer-page footer { flex-direction: column; gap: 18px; }
}
@media print {
  .customer-page header { min-height: 60px; padding: 12px 24px; }
  .customer-page .intro { display: grid; grid-template-columns: 1fr 1fr; padding: 24px; gap: 0 24px; }
  .customer-page h1 { font-size: 30px; }
  .customer-page .campaign-art { max-width: 230px; margin-bottom: 12px; }
  .customer-page .intro-photos img { aspect-ratio: 1; }
  .customer-page .review-workspace { padding: 24px; }
  .customer-page form section { margin-bottom: 24px; padding-top: 20px; }
  .customer-page form section[data-section='items'] { break-inside: auto; }
  .customer-page form section[data-section='reward'] { break-before: page; }
  .customer-page .review-product { break-inside: avoid; grid-template-columns: 180px minmax(0, 1fr); padding: 18px 0; gap: 12px 28px; }
  .customer-page .product-summary { display: block; grid-column: 1; grid-row: 1 / span 2; }
  .customer-page .upload-area, .customer-page .item-review { grid-column: 2; grid-row: auto; }
  .customer-page .ordered-item { display: flex; }
  .customer-page .reward, .customer-page .reward:has(input:checked) { padding: 14px 12px; margin: 8px 0; line-height: 1.45; }
  .customer-page .reward .reward-benefit { margin: 8px 0; }
  .customer-page .brand-help, .customer-page footer a { display: none; }
  .customer-page #submit { display: flex !important; }
  .customer-page footer { padding: 20px 24px; }
}

.customer-page .thumbnails video { width: 150px; height: 100px; object-fit: contain; background: #171717; }

/* The approved range uses product photographs and the existing KODAK palette. */
.customer-page .gift-range { margin: 24px 0 32px; }
.customer-page .gift-range-heading h3 { font-size: 18px; margin: 0; }
.customer-page .gift-range-heading h3 span { font-size: 16px; font-weight: 400; }
.customer-page .gift-range-heading p { margin: 8px 0 20px; color: #555; }
.customer-page .gift-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 20px; }
.customer-page .gift-card { min-width: 0; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.customer-page .gift-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--cream); padding: 16px; box-sizing: border-box; }
.customer-page .gift-card-name { font-weight: 700; line-height: 1.4; margin-top: 12px; }
.customer-page .gift-card-detail { color: #555; line-height: 1.4; margin: 6px 0 12px; }
.customer-page .gift-card-cta { margin-top: auto; text-decoration: underline; text-underline-offset: 5px; }
.customer-page .gift-card:focus-visible, .customer-page .gift-product-link:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.customer-page .fixed-collection { border-left: 3px solid var(--yellow); padding: 4px 20px; margin: 20px 0; }
.customer-page .fixed-collection p { margin: 8px 0; }
.gift-view-open { overflow: hidden; }
.customer-page .gift-quick-view { width: min(820px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; color: var(--ink); background: #fff; }
.customer-page .gift-quick-view::backdrop { background: #0009; }
.customer-page .gift-view-panel { display: grid; grid-template-columns: 1fr 1fr; position: relative; gap: 24px; padding: 64px 28px 28px; }
.customer-page .gift-view-close { position: absolute; top: 12px; right: 16px; min-height: 44px; font: inherit; background: white; border: 0; text-decoration: underline; cursor: pointer; }
.customer-page .gift-view-image { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--cream); }
.customer-page .gift-view-copy h3 { font-size: 24px; line-height: 1.3; margin: 0 0 12px; }
.customer-page .gift-view-note { margin-top: 24px; }
.customer-page .gift-product-link { display: inline-block; color: var(--ink); padding: 12px 0; font-weight: 700; }
@media(max-width:600px) {
  .customer-page .gift-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
  .customer-page .gift-card img { padding: 10px; }
  .customer-page .gift-view-panel { grid-template-columns: 1fr; gap: 20px; padding: 60px 20px 24px; }
  .customer-page .gift-view-image { height: min(32dvh,280px); aspect-ratio: auto; }
}
@media print { .gift-quick-view { display: none !important; } }
