:root {
  --green: #064629;
  --green-2: #0d6b43;
  --mint: #e9f3ec;
  --paper: #fffefa;
  --cream: #fbf8ef;
  --ink: #092e20;
  --muted: #68766e;
  --line: #dfe5df;
  --coral: #f2645a;
  --yellow: #f5c928;
  --blue: #3b9fdb;
  --max: 1600px;
  --shell-gutter: 24px;
  --shadow: 0 12px 34px rgba(6, 70, 41, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid rgba(13, 107, 67, .55); outline-offset: 3px; }

.nav,
.container,
.hero-content,
.footer-grid {
  width: min(var(--max), calc(100% - var(--shell-gutter) - var(--shell-gutter)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  background: rgba(255, 254, 250, .94);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(6, 70, 41, .1);
}
.nav {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 900; white-space: nowrap; }
.logo-mark { width: 29px; height: 29px; border-radius: 50% 50% 45% 45%; color: white; background: var(--green); display: grid; place-items: center; transform: rotate(-8deg); font-size: 16px; }
.logo.logo-artailo {
  width: 156px;
  height: 70px;
  flex: 0 0 156px;
  gap: 0;
  overflow: hidden;
  transition: opacity .12s ease-out;
}
.logo.logo-artailo:hover { opacity: .76; }
.logo-artailo-image {
  width: 150px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}
.footer-artailo {
  height: 76px;
  margin-bottom: 8px;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.account-action {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s, background .16s, transform .1s;
}
.account-action:hover { background: var(--mint); }
.account-action:active { transform: scale(.97); }
.account-action.is-logout { color: var(--muted); font-weight: 700; }
.account-action.is-logout:hover { color: var(--green); }
.site-header .nav-actions .account-action {
  height: 44px;
  padding-block: 0;
  line-height: 20px;
}
.site-header .nav-actions .account-action-label {
  display: inline-block;
  transform: translateY(1px);
}
.site-header .nav-actions .icon-btn .icon { transform: none; }
.mobile-account-link { display: none; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; color: var(--green); cursor: pointer; transition: background .16s, transform .1s; }
.icon-btn:hover { background: var(--mint); }
.icon-btn:active, .btn:active { transform: scale(.97); }
.icon { width: 20px; height: 20px; display: block; }
.mobile-menu { display: none; }
.mobile-nav-popover { display: none; }
.search-popover { position: absolute; top: 64px; right: 0; width: min(380px, 100%); padding: 18px; background: rgba(255,254,250,.94); border: 1px solid rgba(6,70,41,.14); border-radius: 8px; box-shadow: 0 18px 50px rgba(9,46,32,.16); backdrop-filter: blur(24px) saturate(170%); transform-origin: top right; transform: translateY(-6px) scale(.97); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s, transform .24s cubic-bezier(.2,.8,.2,1), visibility 0s linear .24s; }
.search-popover.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.site-search-form label { display: block; margin-bottom: 10px; font-size: 16px; }
.site-search-form > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.site-search-form input { min-width: 0; }
.search-quick { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 12px; }
.search-quick span { width: 100%; color: var(--muted); font-weight: 800; }
.search-quick a { color: var(--green); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

main { min-height: 70vh; }
.narrow { width: min(760px, calc(100% - var(--shell-gutter) - var(--shell-gutter))); margin-inline: auto; }
.page-head { padding: 64px 0 34px; text-align: center; }
.eyebrow { margin: 0 0 9px; color: var(--green-2); font-size: 13px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: break-word; }
h1 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 58px); line-height: 1.15; font-weight: 900; }
h2 { margin-bottom: 14px; font-size: 30px; line-height: 1.25; font-weight: 900; }
h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.35; }
.lead { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-title h2, .section-title p { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.result-decoration {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  display: inline-block;
  overflow: visible;
  vertical-align: -1px;
  flex: 0 0 auto;
  stroke-width: 1.65;
  shape-rendering: geometricPrecision;
  pointer-events: none;
}
.result-title h1 .result-decoration { width: 22px; height: 22px; vertical-align: 1px; }
.wallpaper-mobile h3 .result-decoration { width: 18px; height: 12px; vertical-align: 1px; }
.wallpaper-desktop h3 .result-decoration { width: 16px; height: 16px; vertical-align: -2px; }
.result-care-panel h2 .result-decoration { width: 17px; height: 17px; margin-left: 5px; vertical-align: 0; }
.result-product-card h3 .result-decoration { width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; }
.scribble { color: var(--coral); stroke-width: 1.5; }

.btn { min-height: 46px; padding: 0 20px; border: 1px solid var(--green); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: white; color: var(--green); font-weight: 800; cursor: pointer; transition: background .16s, color .16s, transform .1s; }
.btn:hover { background: var(--mint); }
.btn.primary { background: var(--green); color: white; }
.btn.primary:hover { background: #0a5735; }
.btn.coral { border-color: var(--coral); background: var(--coral); color: white; }
.btn.wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.hero { min-height: 650px; position: relative; overflow: hidden; display: flex; align-items: center; background: #f6faf4; }
.hero-photo { position: absolute; inset: 0 0 0 50%; width: 50%; height: 100%; object-fit: cover; object-position: center 38%; border-left: 1px solid rgba(6,70,41,.08); }
.hero::after { display: none; }
.hero-content { position: relative; z-index: 2; }
.hero-copy { width: 44%; max-width: 540px; }
.hero h1 { max-width: 600px; margin-bottom: 20px; font-size: 62px; line-height: 1.12; font-weight: 800; }
.hero .lead { margin: 0 0 28px; max-width: 520px; }
.hero-kicker { margin-bottom: 13px; color: var(--green-2); font-size: 14px; font-weight: 800; }
.home-actions { align-items: center; }
.home-primary { min-height: 50px; padding-inline: 22px; box-shadow: 0 8px 22px rgba(6,70,41,.14); }
.home-secondary-link { min-height: 50px; padding: 0 8px; display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.home-secondary-link:active { transform: scale(.98); }
.hero-assurance { margin: 15px 0 0; color: #52665b; font-size: 12px; font-weight: 650; }
.trust-strip { border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 64px; padding: 12px 20px; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; font-size: 14px; font-weight: 750; border-right: 1px solid var(--line); }
.trust-item span { color: var(--green-2); font-size: 11px; font-weight: 900; }
.trust-item:last-child { border: 0; }

.home-products { padding-top: 68px; padding-bottom: 76px; }
.home-products .section-title { align-items: center; margin-bottom: 28px; }
.home-products .section-description { margin: 8px 0 0; color: var(--muted); }
.home-products .text-link { white-space: nowrap; }
.home-products .card { transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, border-color .22s; }
.home-products .card-image { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.home-products .card:active { transform: scale(.985); }

@media (min-width: 901px) {
  body[data-page="01"] .home-hero { height: clamp(520px, calc(100svh - 340px), 580px); min-height: 520px; }
  body[data-page="01"] .hero-copy { width: 46%; max-width: 580px; }
  body[data-page="01"] .hero h1 { max-width: 620px; font-size: 58px; }
  body[data-page="01"] .trust-item { min-height: 60px; }
  body[data-page="01"] .home-products { padding-top: 56px; padding-bottom: 72px; }
  body[data-page="01"] .home-products .grid { gap: 16px; }
  body[data-page="01"] .home-products .card-image.tall { aspect-ratio: 4 / 3; }
  body[data-page="10"] .page-head { padding: 44px 0 26px; }
  body[data-page="10"] .page-head h1 { font-size: 50px; }
}

@media (hover:hover) and (pointer:fine) {
  .home-products .card:hover { transform: translateY(-4px); border-color: rgba(6,70,41,.32); box-shadow: 0 16px 38px rgba(6,70,41,.11); }
  .home-products .card:hover .card-image { transform: scale(1.015); }
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; border: 1px solid var(--line); border-radius: 7px; background: white; overflow: hidden; }
.card-body { padding: 22px; }
.card-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-image.tall { aspect-ratio: 4 / 5; }
.card-image.wide { aspect-ratio: 16 / 8; }
.card-actions { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.price { font-size: 22px; font-weight: 900; color: var(--green); }
.old-price { color: #9ca7a1; text-decoration: line-through; font-size: 13px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 12px; font-weight: 800; }
.tag.coral { background: #fff0ec; color: #bd3f36; }
.tag.yellow { background: #fff7cf; color: #745f00; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split-media { min-height: 540px; width: 100%; height: 100%; object-fit: cover; }
.split-copy { padding: clamp(40px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; background: var(--cream); }
.steps { counter-reset: step; }
.step { position: relative; padding: 22px 0 22px 56px; border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 20px; width: 34px; height: 34px; border: 1px solid var(--green); border-radius: 50%; display: grid; place-items: center; font-weight: 900; }

.form-shell { border: 1px solid var(--line); border-radius: 7px; padding: 30px; background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: white; border: 1px solid #cfd8d1; border-radius: 5px; outline: none; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(6,70,41,.1); }
.upload-zone { min-height: 260px; border: 1px dashed #8ba594; border-radius: 7px; display: grid; place-items: center; text-align: center; background: #fbfdf9; padding: 32px; transition: border-color .2s ease, background .2s ease; }
.upload-zone.is-dragging { border-color: var(--green); background: #f0f7f2; }
.upload-empty { display: grid; justify-items: center; cursor: pointer; }
.upload-empty strong { font-size: 20px; }
.upload-zone.has-file .upload-empty { display: none; }
.upload-selected { width: 100%; display: grid; grid-template-columns: minmax(0, 220px) 1fr; align-items: center; gap: 28px; text-align: left; }
.upload-selected[hidden] { display: none; }
.upload-selected img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #e8eee9; }
.upload-selected strong { display: block; overflow-wrap: anywhere; margin-bottom: 8px; }
.upload-selected .btn { cursor: pointer; margin-top: 8px; }
.upload-zone.is-loading { opacity: .7; pointer-events: none; }
.upload-zone:focus-within { outline: 3px solid rgba(6,70,41,.18); outline-offset: 3px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.check-row input { width: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--green); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.choice { border: 1px solid var(--line); border-radius: 6px; padding: 16px; cursor: pointer; background: white; transition: transform .1s ease, border-color .14s ease, background-color .14s ease, box-shadow .14s ease; }
.choice:hover { border-color: rgba(6,70,41,.38); background: #f9fbf8; }
.choice:active { transform: scale(.98); background: #edf3ee; }
.choice:focus-visible { outline: 3px solid rgba(6,70,41,.22); outline-offset: 2px; }
.choice.active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: var(--mint); }

.progress { display: flex; justify-content: center; gap: 8px; padding: 26px 0; }
.progress span { width: 54px; height: 5px; border-radius: 99px; background: #d9dfdb; }
.progress span.active { background: var(--green); }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-row.total { font-size: 20px; font-weight: 900; border-bottom: 0; }

.result-wrap { padding: 40px 0 70px; }
.result-title { text-align: center; margin-bottom: 30px; }
.wallpaper-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "mobile desktop"; align-items: start; column-gap: 28px; }
.wallpaper-grid.has-save { grid-template-areas: "mobile desktop" "save desktop"; row-gap: 16px; }
.wallpaper-mobile, .wallpaper-desktop { min-width: 0; }
.wallpaper-mobile { grid-area: mobile; }
.wallpaper-desktop { grid-area: desktop; }
.wallpaper-grid > .result-save-row { grid-area: save; width: 100%; max-width: none; min-height: 82px; margin: 0; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
.phone-card { min-width: 0; }
.phone { position: relative; aspect-ratio: 9 / 19.5; border: 1px solid #334a3d; border-radius: 16px; overflow: hidden; background: #eef2ee; }
.phone img { width: 100%; height: 100%; object-fit: contain; background: #eef2ee; }
.desktop-main { position: relative; aspect-ratio: 16 / 9; border: 1px solid #334a3d; border-radius: 8px; overflow: hidden; background: #eef2ee; }
.desktop-main img, .desktop-thumb img { width: 100%; height: 100%; object-fit: contain; background: #eef2ee; }
.result-wrap.is-sample .phone img,
.result-wrap.is-sample .desktop-main img,
.result-wrap.is-sample .desktop-thumb img { object-fit: cover; }
.desktop-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.desktop-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid #aab7af; border-radius: 6px; overflow: hidden; background: #eef2ee; color: inherit; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .1s ease; }
.desktop-thumb > span { position: absolute; inset: 0; display: block; }
.desktop-thumb:hover { border-color: var(--green); }
.desktop-thumb:active { transform: scale(.985); }
.desktop-thumb.is-selected { border: 2px solid var(--green); box-shadow: 0 0 0 3px rgba(6,70,41,.12); }
.desktop-thumb:focus-visible { outline: 3px solid rgba(6,70,41,.28); outline-offset: 3px; }
.desktop-help { margin: 9px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.slot-reroll { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 36px; margin-top: 8px; padding: 7px 8px; border: 1px solid #b8c4bc; border-radius: 6px; color: var(--green); background: #fffefa; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: 0; cursor: pointer; }
.reroll-label-short { display: none; }
.slot-reroll:hover:not(:disabled) { border-color: var(--green); background: #f4f8f5; }
.slot-reroll:active:not(:disabled) { transform: scale(.985); }
.slot-reroll:disabled { color: #89948d; cursor: default; }
.phone > img, .desktop-main > img, .desktop-thumb > img { animation: slot-reveal .38s ease-out both; }
.wallpaper-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 9px; padding: 16px; text-align: center; color: var(--green); background: #f1f5f1; }
.wallpaper-placeholder strong { max-width: 13ch; font-size: 13px; line-height: 1.35; letter-spacing: 0; }
.wallpaper-placeholder small { max-width: 24ch; color: #52645a; font-size: 11px; line-height: 1.45; letter-spacing: 0; }
.wallpaper-placeholder.is-failed { color: #9f3029; background: #fff6f4; }
.slot-spinner { width: 25px; height: 25px; border: 2px solid rgba(6,70,41,.16); border-top-color: var(--green); border-radius: 50%; animation: slot-spin .9s linear infinite; }
.wallpaper-placeholder.is-failed .slot-spinner { border: 0; animation: none; }
.wallpaper-placeholder.is-failed .slot-spinner::before { content: '!'; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(159,48,41,.36); border-radius: 50%; font-weight: 900; }
.desktop-thumb .wallpaper-placeholder { gap: 5px; padding: 6px; }
.desktop-thumb .wallpaper-placeholder strong { font-size: 10px; }
.desktop-thumb .slot-spinner { width: 18px; height: 18px; }
.slot-state { position: absolute; top: 8px; right: 8px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); box-shadow: 0 4px 14px rgba(6,70,41,.24); font-size: 13px; font-weight: 900; }
.desktop-thumb .slot-state { top: 5px; right: 5px; width: 20px; height: 20px; font-size: 10px; }
.generation-overview { margin: 0 0 30px; padding: 22px 0; border-block: 1px solid var(--line); }
.generation-overview-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.generation-overview h2 { margin: 2px 0 5px; font-size: 24px; letter-spacing: 0; }
.generation-overview p { margin: 0; color: var(--muted); }
.generation-count { flex: 0 0 auto; color: var(--green); font-size: 32px; line-height: 1; letter-spacing: 0; }
.generation-count span { color: var(--muted); font-size: 15px; }
.generation-meter { height: 7px; margin-top: 18px; overflow: hidden; border-radius: 99px; background: #dde5df; }
.generation-meter span { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width .38s ease-out; }
.generation-overview.is-failed .generation-meter span { background: var(--coral); }
.generation-actions { display: flex; gap: 10px; margin-top: 18px; }
.reroll-policy { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -8px 0 24px; padding: 10px 14px; border-block: 1px solid var(--line); color: var(--green); font-size: 12px; text-align: center; }
.reroll-policy span { color: var(--muted); }
@keyframes slot-spin { to { transform: rotate(360deg); } }
@keyframes slot-reveal { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
.result-purchase-bar {
  min-height: 86px;
  margin-top: 24px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  align-items: center;
  gap: 24px;
  border-block: 1px solid var(--line);
  background: #f7faf7;
}
.result-purchase-copy { min-width: 0; }
.result-purchase-copy .eyebrow { margin-bottom: 2px; font-size: 11px; }
.result-purchase-copy strong { display: block; font-size: 17px; line-height: 1.35; }
.result-purchase-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.download-bar { width: 100%; max-width: none; min-height: 52px; margin: 0; display: flex; border-radius: 7px; box-shadow: 0 8px 22px rgba(6,70,41,.14); }
.result-support-grid { margin-top: 24px; border: 1px solid #bfc9c1; border-radius: 7px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; background: #fff; }
.result-support-grid > * { min-width: 0; }
.result-care-panel { grid-column: 1 / -1; padding: 18px 28px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(5,auto); column-gap: 28px; background: #f7faf7; }
.result-care-panel > .eyebrow { margin-bottom: 4px; }
.result-care-panel > .eyebrow, .result-care-panel > h2, .result-care-panel > .care-breed, .result-care-panel > .care-disclaimer { grid-column: 1 / -1; }
.result-care-panel h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.result-product-card { padding: 18px; display: grid; grid-template-columns: 220px minmax(0,1fr); grid-template-areas: "preview title" "preview meta" "preview note" "preview action"; column-gap: 18px; align-content: start; border-top: 1px solid var(--line); cursor: pointer; transition: background-color .18s ease, transform .1s ease; }
.result-product-card + .result-product-card { border-left: 1px solid var(--line); }
.result-product-card:hover { background: #fbfcf8; }
.result-product-card:active { transform: scale(.995); }
.result-product-card h3 { grid-area: title; min-height: 0; margin: 0 0 4px; font-size: 18px; line-height: 1.35; }
.result-product-meta { grid-area: meta; margin: 0 0 8px; display: grid; gap: 1px; }
.result-product-meta strong { color: var(--green); font-size: 16px; }
.result-product-meta span { color: var(--muted); font-size: 11px; font-weight: 700; }
.care-note { display: grid; grid-template-columns: 36px 1fr; gap: 10px; margin-top: 15px; }
.care-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #ffe7e4; color: var(--coral); font-weight: 900; }
.care-icon .care-note-heart { width: 16px; height: 16px; }
.care-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.care-breed { display: inline-flex; margin-top: 6px; padding: 4px 7px; border-radius: 4px; color: var(--green); background: #eaf3ed; font-size: 11px; font-weight: 800; }
.care-breed.is-working { animation: care-pulse 1.3s ease-in-out infinite alternate; }
.care-disclaimer { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.result-product-preview { margin-top: 14px; border-radius: 4px; background: transparent; }
.result-product-preview img { margin: 0; }
.result-product-preview.is-pending img { filter: saturate(.75); opacity: .72; }
.preview-badge { position: static; min-height: 34px; margin-top: 10px; padding: 9px 0 0; display: flex; align-items: center; border-top: 1px solid var(--line); color: var(--green); background: transparent; font-size: 10px; font-weight: 800; line-height: 1.35; }
.product-example-note { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.result-care-panel .care-note { grid-template-columns: 44px 1fr; gap: 14px; margin-top: 14px; }
.result-care-panel .care-note + .care-note { padding-left: 28px; border-left: 1px solid rgba(6,70,41,.12); }
.result-care-panel .care-icon { width: 40px; height: 40px; }
.result-care-panel .care-note strong { font-size: 16px; line-height: 1.4; }
.result-care-panel .care-note p { margin-top: 4px; font-size: 14px; line-height: 1.65; }
.result-care-panel .care-breed { margin-top: 8px; font-size: 12px; }
.result-care-panel .care-disclaimer { margin-top: 14px; font-size: 11px; }
.result-product-card .result-product-preview { grid-area: preview; margin: 0; }
.result-product-card .result-product-preview img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 5px; background: #f4f5f1; transition: transform .24s ease; }
.result-product-card:hover .result-product-preview img { transform: scale(1.012); }
.result-product-card .preview-badge { font-size: 10px; }
.result-product-card .product-example-note { grid-area: note; margin-top: 4px; font-size: 11px; }
.result-product-link { grid-area: action; width: 100%; min-height: 44px; margin-top: 6px; padding-top: 6px; display: inline-flex; align-items: center; align-self: end; justify-content: space-between; border-top: 1px solid var(--line); color: var(--green); font-size: 12px; font-weight: 800; }
.product-preview-action { width: 100%; min-height: 34px; margin-top: 7px; padding: 7px; }
.product-preview-action:disabled { color: #78847c; border-color: #bcc5bf; cursor: wait; }
.field-help { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
@keyframes care-pulse { from { opacity: .55; } to { opacity: 1; } }

.profile-hero { padding: 44px 0; border-bottom: 1px solid var(--line); }
.profile-row { display: flex; align-items: center; gap: 26px; }
.avatar { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 5px solid white; box-shadow: 0 0 0 1px var(--line); }
.avatar.small { width: 58px; height: 58px; border-width: 2px; }
.profile-actions { margin-left: auto; }
.stat-row { display: flex; gap: 32px; margin-top: 15px; }
.stat strong { display: block; font-size: 20px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { padding: 15px 18px 13px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 800; white-space: nowrap; }
.tab.active { color: var(--green); border-color: var(--green); }

.report-cover { position: relative; min-height: 470px; display: grid; place-items: end center; text-align: center; overflow: hidden; color: white; }
.report-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
.report-cover .cover-copy { position: relative; z-index: 1; padding: 50px; }
.report-cover h1 { font-size: 54px; }
.report-chapter { display: grid; grid-template-columns: 160px 1fr; gap: 36px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.chapter-no { color: var(--coral); font-size: 50px; font-weight: 900; }

.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 44px; padding: 46px 0 70px; }
.side-nav { position: sticky; top: 98px; align-self: start; }
.side-nav h3 { padding: 0 12px 13px; border-bottom: 1px solid var(--line); }
.side-nav a { display: block; padding: 12px; color: var(--muted); font-size: 14px; font-weight: 700; }
.side-nav a.active { color: var(--green); background: var(--mint); border-radius: 5px; }
.side-nav-account { margin: 24px 12px 0; padding-top: 16px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.side-nav-account span { color: var(--muted); font-size: 11px; font-weight: 700; }
.side-nav-account strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.side-nav-account button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--green); font-weight: 800; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.list { border-top: 1px solid var(--ink); }
.list-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.thumb { width: 92px; height: 92px; border-radius: 5px; object-fit: cover; }
.status { font-weight: 800; color: var(--green-2); }

.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; padding: 44px 0 70px; }
.product-gallery { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.gallery-thumbs { display: grid; align-content: start; gap: 9px; }
.gallery-thumb { width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #f4f5f1; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .1s ease; }
.gallery-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-thumb:hover { border-color: #7b9484; }
.gallery-thumb:active { transform: scale(.97); }
.gallery-thumb.is-active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(6,70,41,.14); }
.gallery-thumb:focus-visible { outline: 3px solid rgba(6,70,41,.2); outline-offset: 2px; }
.product-main { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f4f5f1; }
.product-gallery .sample-frame { display: flex; flex-direction: column; }
.product-gallery .sample-note { position: static; margin-top: 8px; padding: 7px 0 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.product-preview-progress { position: absolute; inset: 0 0 30px; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; color: var(--green); background: rgba(255,254,250,.88); text-align: center; backdrop-filter: blur(14px) saturate(125%); }
.product-preview-progress[hidden] { display: none; }
.product-preview-progress small { max-width: 260px; color: var(--muted); }
body[data-page="20"] .page-head { padding: 48px 0 26px; }
body[data-page="20"] .page-head h1 { font-size: clamp(36px, 3.5vw, 50px); }
.store-category-navigation { max-width: var(--max); }
.store-category-navigation-head {
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}
.store-category-navigation-head strong { color: var(--ink); font-size: 14px; }
.store-category-architecture {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.store-category-architecture a {
  min-width: 0;
  min-height: 82px;
  padding: 14px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  align-content: center;
  align-items: center;
  column-gap: 12px;
  border: 1px solid rgba(6,70,41,.16);
  border-radius: 8px;
  background: #f9fbf8;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(6,70,41,.03);
  transition: transform .12s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.store-category-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green);
}
.store-category-icon .icon {
  width: 21px;
  height: 21px;
}
.store-category-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.store-category-arrow {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--green-2);
}
.store-category-arrow .icon {
  width: 17px;
  height: 17px;
}
.store-category-architecture a:hover {
  transform: translateY(-2px);
  border-color: rgba(6,70,41,.42);
  background: #fff;
  box-shadow: 0 8px 20px rgba(6,70,41,.08);
}
.store-category-architecture a:hover .store-category-icon {
  color: white;
  background: var(--green);
}
.store-category-architecture a:active {
  transform: scale(.985);
  background: #edf3ee;
  box-shadow: none;
  transition-duration: .08s;
}
.store-category-architecture a:focus-visible { position: relative; z-index: 1; outline: 3px solid rgba(6,70,41,.22); outline-offset: 2px; }
.store-category-architecture strong { min-width: 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.store-category-architecture small { min-width: 0; color: var(--muted); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.physical-store-section { max-width: var(--max); padding-top: 24px; padding-bottom: 48px; }
.physical-family-card {
  grid-template-columns: clamp(360px, 28vw, 430px) minmax(420px, 1fr);
  align-items: stretch;
  border-color: rgba(6,70,41,.18);
  border-radius: 7px;
  overflow: hidden;
  background: white;
}
.physical-family-media { min-width: 0; display: flex; overflow: hidden; background: #f4f5f1; }
.physical-family-media .split-media { width: 100%; height: 100%; min-height: 360px; max-height: 430px; object-fit: contain; }
.physical-family-media .sample-note { left: 14px; bottom: 14px; }
.physical-family-copy { min-width: 0; padding: 28px 34px; display: flex; flex-direction: column; background: #fbfcf8; }
.physical-family-copy .meta { align-items: center; justify-content: space-between; gap: 12px; }
.physical-family-copy h2 { margin: 12px 0 7px; font-size: 29px; }
.physical-family-copy > p { margin-bottom: 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.physical-family-variant-list { border-top: 1px solid var(--line); }
.physical-family-variant-list .summary-row { min-height: 44px; align-items: center; padding: 8px 0; }
.physical-family-variant-list .summary-row > span { min-width: 0; display: grid; gap: 3px; }
.physical-family-variant-list small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.physical-variant-status {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--green);
  background: var(--mint);
  font-size: 11px;
  line-height: 18px;
  white-space: nowrap;
}
.physical-variant-status.is-preparing { color: #68766e; background: #eef1ee; }
.physical-variant-status.is-reservation { color: #225c3e; background: #eaf3eb; }
.physical-variant-status.is-pending { color: #68766e; background: #f0f2ef; }
.physical-variant-status.is-paused { color: #7c7169; background: #f3efec; }
.physical-family-action { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.physical-family-action > strong { color: var(--green); font-size: 22px; }
.physical-family-price { display: grid; gap: 1px; line-height: 1.25; }
.physical-family-price span { color: var(--muted); font-size: 10px; font-weight: 750; }
.physical-family-action .btn { min-width: 230px; }
.store-secondary-products { max-width: var(--max); padding-top: 46px; }
.store-secondary-grid { gap: 18px; }
.store-secondary-card {
  min-width: 0;
  min-height: 270px;
  display: grid;
  grid-template-columns: minmax(178px, .72fr) minmax(0, 1.28fr);
  border-radius: 7px;
  background: #fff;
}
.store-secondary-card.is-paused { background: #fbfbf8; }
.store-secondary-media { min-width: 0; background: #f2f4f0; }
.store-secondary-media .card-image { height: 100%; min-height: 270px; aspect-ratio: auto; object-fit: cover; }
.store-secondary-media .sample-note { left: 10px; right: 10px; bottom: 10px; text-align: center; }
.store-secondary-copy { min-width: 0; padding: 22px; display: flex; flex-direction: column; }
.store-secondary-copy .meta { justify-content: flex-start; }
.store-secondary-copy h3 { margin: 10px 0 6px; font-size: 20px; }
.store-secondary-copy > p { margin-bottom: 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.store-secondary-status { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px; }
.store-secondary-lead { color: #52665b; font-size: 12px; font-weight: 700; }
.store-secondary-action {
  min-width: 0;
  margin-top: auto;
  padding-top: 14px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.store-secondary-action > strong { display: grid; gap: 1px; color: var(--green); font-size: 18px; line-height: 1.25; white-space: nowrap; }
.store-secondary-action > strong span { color: var(--muted); font-size: 10px; font-weight: 750; }
.store-secondary-link { width: 100%; min-height: 44px; padding-inline: 14px; border-color: var(--green); background: white; }
.store-secondary-link:hover { border-color: var(--green); background: var(--mint); }
.store-secondary-disabled { width: 100%; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #f3f5f2; font-size: 13px; font-weight: 750; text-align: center; }
.store-next-categories { max-width: var(--max); }
.store-roadmap-groups { display: grid; gap: 38px; }
.store-roadmap-group { min-width: 0; }
.store-roadmap-group-head { min-height: 34px; margin-bottom: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.store-roadmap-group-head h3 { margin: 0; color: var(--ink); font-size: 18px; line-height: 1.35; }
.store-roadmap-group-head span { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 750; }
.store-roadmap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.store-roadmap-card { min-width: 0; min-height: 236px; display: grid; grid-template-columns: 190px minmax(0, 1fr); border-radius: 7px; background: #fbfcfa; }
.store-roadmap-media { min-width: 0; min-height: 234px; overflow: hidden; background: #edf1ed; }
.store-roadmap-media .card-image { width: 100%; height: 100%; min-height: 234px; aspect-ratio: auto; object-fit: cover; }
.store-roadmap-media .sample-note { left: 9px; right: 9px; bottom: 9px; text-align: center; }
.store-roadmap-media.is-placeholder { padding: 20px; display: grid; place-content: center; gap: 4px; color: var(--muted); text-align: center; }
.store-roadmap-media.is-placeholder span { color: var(--green-2); font-size: 9px; font-weight: 850; }
.store-roadmap-media.is-placeholder strong { font-size: 13px; }
.store-roadmap-card .card-body { min-width: 0; padding: 20px; display: flex; flex-direction: column; }
.store-roadmap-card .meta { align-items: center; justify-content: space-between; gap: 10px; }
.store-roadmap-status { color: #66736c; font-size: 11px; font-weight: 750; text-align: right; }
.store-roadmap-card h3 { margin: 12px 0 7px; font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }
.store-roadmap-card .card-body > p { margin: 0 0 14px; font-size: 13px; line-height: 1.55; }
.store-roadmap-gate { margin-top: auto; padding-top: 12px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.store-roadmap-gate span { color: var(--muted); font-size: 11px; font-weight: 800; }
.store-roadmap-gate strong { font-size: 13px; line-height: 1.5; }
.store-roadmap-footer { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.store-roadmap-footer b { min-height: 24px; padding: 3px 7px; display: inline-flex; align-items: center; border-radius: 5px; color: #6f756f; background: #ecefeb; font-size: 10px; white-space: nowrap; }
.store-roadmap-message { min-height: 236px; padding: 32px; display: grid; place-content: center; justify-items: center; gap: 5px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; }
.store-roadmap-message strong { color: var(--ink); font-size: 15px; }
.store-roadmap-message span { font-size: 12px; }
.store-launch-products { max-width: var(--max); }
.store-launch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.store-launch-card { min-width: 0; min-height: 250px; display: grid; grid-template-columns: 190px minmax(0, 1fr); border-color: rgba(6,70,41,.2); background: #fff; }
.store-launch-card.is-unavailable { border-color: var(--line); background: #fafbf9; }
.store-launch-media { min-width: 0; min-height: 248px; overflow: hidden; background: #edf1ed; }
.store-launch-media .card-image { width: 100%; height: 100%; min-height: 248px; aspect-ratio: auto; object-fit: cover; }
.store-launch-media .sample-note { left: 9px; right: 9px; bottom: 9px; text-align: center; }
.store-launch-media.is-placeholder { padding: 20px; display: grid; place-content: center; gap: 4px; color: var(--muted); text-align: center; }
.store-launch-media.is-placeholder span { color: var(--green-2); font-size: 9px; font-weight: 850; }
.store-launch-media.is-placeholder strong { font-size: 13px; }
.store-launch-card .card-body { min-width: 0; padding: 21px; display: flex; flex-direction: column; }
.store-launch-card .meta { align-items: center; justify-content: space-between; gap: 10px; }
.store-launch-card h3 { margin: 12px 0 7px; font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.store-launch-card .card-body > p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.58; }
.store-launch-lead { color: #52665b; font-size: 11px; font-weight: 750; }
.store-launch-commerce { margin-top: auto; padding-top: 14px; display: grid; gap: 11px; border-top: 1px solid var(--line); }
.store-launch-commerce > strong { color: var(--green); font-size: 18px; }
.store-launch-card.is-unavailable .store-launch-commerce > strong { color: var(--muted); font-size: 14px; }
.store-launch-actions { min-height: 44px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.store-launch-actions .btn { min-height: 44px; }
.store-launch-actions.is-unavailable { justify-content: flex-start; color: var(--muted); font-size: 12px; font-weight: 750; }
.expansion-product-message { min-height: 430px; padding-block: 80px; display: grid; place-content: center; justify-items: center; gap: 7px; color: var(--muted); text-align: center; }
.expansion-product-message strong { color: var(--ink); font-size: 21px; }
.expansion-product-message .text-link { margin-top: 10px; }
.expansion-product-hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); gap: 44px; align-items: start; padding: 44px 0 68px; }
.expansion-product-media { min-width: 0; overflow: hidden; background: #f1f3ef; }
.expansion-product-media .card-image { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.expansion-product-media .sample-note { left: 12px; right: auto; bottom: 12px; }
.expansion-product-media.is-placeholder { min-height: 440px; padding: 24px; display: grid; place-content: center; gap: 5px; color: var(--muted); text-align: center; }
.expansion-product-media.is-placeholder span { color: var(--green-2); font-size: 10px; font-weight: 850; }
.expansion-product-copy { min-width: 0; padding-top: 8px; }
.expansion-product-copy .meta { justify-content: space-between; }
.expansion-product-copy h1 { margin: 18px 0 12px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: 0; }
.expansion-product-copy .lead { margin: 0; max-width: 520px; }
.expansion-product-price { margin-top: 24px; padding: 18px 0; display: flex; align-items: end; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.expansion-product-price strong { color: var(--green); font-size: 25px; }
.expansion-product-hero.is-unavailable .expansion-product-price strong,
.expansion-product-hero.is-roadmap .expansion-product-price strong { color: var(--muted); font-size: 17px; }
.expansion-product-price span { color: var(--muted); font-size: 12px; font-weight: 700; text-align: right; }
.expansion-product-actions { margin-top: 14px; min-height: 44px; display: flex; align-items: center; justify-content: flex-end; }
.expansion-product-actions .btn { min-width: 180px; min-height: 44px; }
.expansion-product-actions.is-unavailable { justify-content: flex-start; color: var(--muted); font-size: 13px; font-weight: 750; }
.expansion-product-checks { margin-top: 16px; padding: 14px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.expansion-product-checks span { color: var(--muted); font-size: 11px; font-weight: 800; }
.expansion-product-checks strong { font-size: 13px; line-height: 1.55; }
.expansion-product-variants { max-width: var(--max); }
.expansion-variant-list { border-top: 1px solid var(--ink); }
.expansion-variant-row { min-height: 104px; padding: 18px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.expansion-variant-row > div:first-child { min-width: 0; }
.expansion-variant-row strong { font-size: 15px; }
.expansion-variant-row p { margin: 5px 0 0; max-width: 760px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.expansion-variant-row small { display: block; margin-top: 5px; color: #52665b; font-size: 11px; font-weight: 700; }
.expansion-variant-row > div:last-child { display: grid; justify-items: end; gap: 8px; }
.expansion-variant-row > div:last-child > span { color: var(--green); font-size: 13px; font-weight: 800; }
.expansion-product-related { max-width: var(--max); padding-top: 12px; padding-bottom: 64px; display: flex; justify-content: flex-end; gap: 22px; border-top: 1px solid var(--line); }
.cushion-product-layout { grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); gap: 44px; align-items: start; }
.cushion-family-lead { margin: 0 0 20px; max-width: 560px; }
.cushion-selected-summary {
  margin-bottom: 22px;
  padding: 16px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.cushion-selected-summary > div { display: grid; gap: 4px; }
.cushion-selected-summary > div:last-child { justify-items: end; }
.cushion-selected-summary span { color: var(--muted); font-size: 12px; font-weight: 750; }
.cushion-selected-summary p { margin: 0; }
.cushion-selected-summary .price { font-size: 21px; }
.cushion-variant-option { padding-top: 0; border-top: 0; }
.cushion-variant-grid { margin-top: 9px; }
.cushion-variant-choice {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  color: var(--ink);
  text-align: left;
  transition: border-color .16s, background .16s, transform .1s;
}
.cushion-variant-choice:hover { border-color: #7b9484; }
.cushion-variant-choice:active { transform: scale(.985); }
.cushion-variant-choice-head { display: grid; gap: 6px; }
.cushion-variant-choice-head strong { font-size: 14px; line-height: 1.4; }
.cushion-variant-choice-head b { color: var(--green-2); font-size: 11px; }
.cushion-variant-choice > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.cushion-variant-choice.is-preparing:not(.active) { background: #fbfcfa; }
.cushion-variant-choice.is-preparing .cushion-variant-choice-head b { color: var(--muted); }
.cushion-variant-description { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.cushion-color-grid { margin-top: 8px; }
.cushion-cart-cta { margin-top: 8px; }
.cushion-quota-note { margin-top: 14px; }
.physical-direct-action {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.physical-direct-action > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.physical-direct-action .btn { min-height: 50px; }
.product-sales-paused {
  margin: 20px 0 24px;
  padding: 18px;
  display: grid;
  justify-items: start;
  gap: 8px;
  border: 1px solid #dfd7d1;
  background: #faf8f6;
}
.product-sales-paused strong { color: var(--ink); font-size: 15px; }
.product-sales-paused p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.product-sales-paused .btn { margin-top: 4px; }
.source-upload.is-disabled { border-color: #b9c3bc; color: var(--muted); background: #f1f3f1; cursor: default; }
.btn[data-variant-unavailable="true"]:disabled { border-color: #b7c0ba; color: #68766e; background: #eef1ee; opacity: 1; cursor: default; }
.product-detail-specs,
.product-photo-guide,
.product-policy,
.product-related,
body[data-page="21"] [data-studio-case-section] { max-width: 1180px; }
body[data-page="21"] [data-studio-case-section] .grid-3 { grid-template-columns: minmax(0, 720px); }
.related-product-row {
  min-height: 146px;
  padding: 12px;
  display: grid;
  grid-template-columns: 164px minmax(0,1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  transition: border-color .16s, background .16s, transform .1s;
}
.related-product-row:hover { border-color: #7b9484; background: #fbfcf8; }
.related-product-row:active { transform: scale(.985); }
.related-product-row .sample-frame > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.related-product-row .sample-note { left: 6px; right: 6px; bottom: 6px; padding: 5px 6px; font-size: 9px; }
.related-product-row > span:last-child { display: grid; gap: 5px; }
.related-product-row > span:last-child > strong { font-size: 17px; }
.related-product-row > span:last-child > small { color: var(--muted); line-height: 1.45; }
.gift-hero { display: grid; grid-template-columns: 1.18fr .82fr; gap: 48px; padding: 44px 0 74px; }
.gift-main { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 7px; }
.gift-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 10px; }
.gift-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.gift-tier-list { display: grid; gap: 8px; margin: 20px 0; }
.gift-tier { width: 100%; min-height: 68px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: white; color: var(--ink); text-align: left; cursor: pointer; }
.gift-tier span { display: grid; gap: 2px; }
.gift-tier small { color: var(--muted); }
.gift-tier b { white-space: nowrap; }
.gift-tier.active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: var(--mint); }
.gift-wide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; }
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.tier-grid article { min-height: 270px; padding: 24px; border-right: 1px solid var(--line); }
.tier-grid article:last-child { border-right: 0; }
.tier-grid article.featured { background: #f3f8f4; }
.tier-grid span { color: var(--coral); font-size: 12px; font-weight: 900; }
.tier-grid strong { display: block; margin: 12px 0; color: var(--green); }
.tier-grid p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.gift-products { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.gift-products article { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.gift-products img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }

.felt-custom { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 44px; align-items: start; padding-bottom: 74px; }
.felt-custom > * { min-width: 0; }
.felt-form { padding: 28px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.felt-step { padding: 26px 0; border-top: 1px solid var(--line); }
.felt-form > .felt-step:first-of-type { margin-top: 22px; padding-top: 0; border-top: 0; }
.felt-step:last-child { padding-bottom: 0; }
.felt-step-head { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 12px; align-items: start; }
.felt-step-head h2 { margin: 0 0 5px; font-size: 22px; }
.felt-step-head p { margin: 0; color: var(--muted); font-size: 13px; }
.felt-step-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 12px; font-weight: 900; }
.felt-reference { margin: 18px 0 0; }
.felt-reference > img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; }
.felt-reference-labels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 8px; }
.felt-reference-labels span { min-width: 0; text-align: center; }
.felt-reference-labels b, .felt-reference-labels small { display: block; }
.felt-reference-labels b { font-size: 13px; }
.felt-reference-labels small { margin-top: 1px; color: var(--muted); font-size: 10px; }
.felt-reference figcaption { margin-top: 9px; color: var(--green); font-size: 11px; font-weight: 750; }
.felt-uploads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.felt-upload { min-height: 132px; padding: 18px 10px; position: relative; border: 1px dashed #95a69b; border-radius: 6px; display: grid; place-items: center; align-content: center; gap: 4px; background: #fbfdf9; color: var(--ink); cursor: pointer; }
.felt-upload.required { border-color: var(--green); background: var(--mint); }
.felt-upload span { font-size: 25px; color: var(--green); }
.felt-upload small { color: var(--muted); }
.felt-upload-index { position: absolute; top: 8px; left: 8px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: white; font-size: 10px; box-shadow: 0 1px 4px rgba(6,70,41,.12); }
.felt-step .form-grid { margin-top: 16px; }
.felt-step-action .product-ai-consent { margin: 16px 0; }
.felt-quota-note { margin: 12px 0 0; }
.felt-direct-action { margin-top: 18px; }
.felt-preview { position: relative; scroll-margin-top: 96px; }
.preview-label { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 11px; border-radius: 4px; background: var(--green); color: white; font-size: 12px; font-weight: 900; }
.felt-preview .product-gallery { grid-template-columns: 82px 1fr; }
.felt-preview .product-gallery.is-single-sample { grid-template-columns: 1fr; }
.felt-preview .product-gallery.is-single-sample > .gallery-thumb.is-generated { display: none; }
.felt-template-gallery .sample-frame { min-width: 0; }
.felt-stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 7px; background: #f4f5f1; }
.felt-preview-image { width: 100%; height: 100%; object-fit: cover; background: #f4f5f1; }
.felt-preview-image[hidden] { display: none !important; }
.felt-stage .product-preview-progress { inset: 0; border-radius: 7px; }
.felt-template-gallery .gallery-thumb.is-generated { position: relative; }
.felt-template-gallery .gallery-thumb.is-generated::after { content: '내 미리보기'; position: absolute; right: 3px; bottom: 3px; left: 3px; padding: 3px 2px; border-radius: 3px; color: white; background: rgba(6,70,41,.88); font-size: 8px; font-weight: 800; line-height: 1.2; text-align: center; }
.felt-template-gallery .gallery-thumb.is-sample { position: relative; }
.felt-template-gallery .gallery-thumb.is-sample::after { content: '보리 상품 예시'; position: absolute; right: 3px; bottom: 3px; left: 3px; padding: 3px 2px; border-radius: 3px; color: white; background: rgba(61,54,46,.84); font-size: 8px; font-weight: 800; line-height: 1.2; text-align: center; }
.preview-note { padding: 18px 0; border-bottom: 1px solid var(--line); }
.preview-note strong { color: var(--green); }
.preview-note p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.felt-order-guidance { padding: 18px 0; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 12px; align-items: start; }
.felt-order-guidance strong { display: block; color: var(--green); }
.felt-order-guidance p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.felt-sale-panel { margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: #f7f8f5; }
.felt-sale-panel > strong { display: block; margin-top: 10px; color: var(--green); font-size: 17px; }
.felt-sale-panel > p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.felt-sale-panel.is-reservation { border-color: rgba(170,122,20,.32); background: #fffaf0; }
.felt-sale-panel.is-reservation .tag { color: #76500d; background: #f4dfaa; }
.felt-sale-panel.is-ready { border-color: rgba(6,70,41,.28); background: var(--mint); }
.felt-form > .felt-order-guidance { margin-top: 8px; padding: 24px 0 18px; border-top: 1px solid var(--line); }
.felt-form .felt-checkout-cta { width: 100%; min-height: 50px; margin-top: 4px; }
.felt-checkout-cta[hidden] { display: none !important; }
.reservation-summary .tag { margin-bottom: 12px; }
.reservation-confirmation .logic-note { margin-top: 0; }
.felt-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.felt-facts > div { min-height: 145px; padding: 22px; border-right: 1px solid var(--line); }
.felt-facts > div:last-child { border-right: 0; }
.felt-facts span { color: var(--muted); font-size: 12px; font-weight: 800; }
.felt-facts strong { display: block; margin: 8px 0; font-size: 18px; }
.felt-facts p { margin: 0; color: var(--muted); font-size: 13px; }
.product-info { padding-top: 10px; }
.product-info h1 { font-size: 40px; }
.option { padding: 16px 0; border-top: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: white; cursor: pointer; }
.qty span { min-width: 36px; text-align: center; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 370px; gap: 36px; padding-bottom: 70px; }
.order-summary { position: sticky; top: 98px; align-self: start; border: 1px solid var(--line); border-radius: 7px; padding: 24px; background: white; }
.checkout-product-review { margin-bottom: 18px; padding: 20px; display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fbfcf8; }
.checkout-product-image img { width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #eef2ee; }
.checkout-product-copy h2 { margin-bottom: 12px; font-size: 24px; }
.checkout-product-copy dl { margin: 0 0 14px; }
.checkout-product-copy dl > div { padding: 6px 0; display: grid; grid-template-columns: 88px 1fr; gap: 8px; border-top: 1px solid var(--line); font-size: 13px; }
.checkout-product-copy dt { color: var(--muted); }
.checkout-product-copy dd { margin: 0; font-weight: 750; }
.checkout-section-title { margin-bottom: 20px; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 12px; align-items: start; }
.checkout-section-title > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 12px; font-weight: 900; }
.checkout-section-title h2 { margin: 0 0 3px; font-size: 24px; }
.checkout-section-title p { margin: 0; color: var(--muted); font-size: 13px; }
.checkout-payment { margin-top: 18px; }
.checkout-final-consent { margin-top: 20px; align-items: flex-start; }
.checkout-final-consent input { flex: 0 0 auto; margin-top: 4px; }
.cart-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 130px; height: 130px; object-fit: cover; border-radius: 5px; }

.success { padding: 70px 0 90px; text-align: center; }
.success-mark { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; font-size: 36px; }
.receipt { max-width: 660px; margin: 36px auto 0; padding: 26px; text-align: left; border: 1px solid var(--line); border-radius: 7px; background: white; }
.timeline { max-width: 760px; margin: 36px auto; }
.timeline-item { position: relative; padding: 0 0 34px 42px; }
.timeline-item::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: -8px; width: 1px; background: #bfcac2; }
.timeline-item::after { content: ""; position: absolute; left: 7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: white; border: 3px solid var(--green); }
.timeline-item:last-child::before { display: none; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 5px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 5px 20px; color: var(--muted); }
.article-card .card-body { min-height: 190px; }

.overview-head { padding: 64px 0 24px; }
.overview-note { padding: 18px 20px; border-left: 4px solid var(--yellow); background: #fff9dd; }
.page-index { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; padding: 28px 0 80px; }
.page-link { min-height: 118px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: white; transition: transform .16s, box-shadow .16s, border-color .16s; }
.page-link:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow); }
.page-no { color: var(--coral); font-weight: 900; font-size: 12px; }

.site-footer { border-top: 1px solid var(--line); background: #fbfaf5; }
.footer-grid { padding: 44px 0; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid h3 { font-size: 14px; }
.footer-grid a, .footer-grid p { display: block; margin: 7px 0; color: var(--muted); font-size: 13px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 17px 0; color: var(--muted); font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 6px; background: var(--green); color: white; font-size: 13px; font-weight: 800; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  :root { --shell-gutter: 18px; }
  .site-header { height: 64px; }
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .mobile-account-link { min-width: 68px; min-height: 44px; padding: 0 6px; display: inline-flex; font-size: 13px; font-weight: 750; }
  .mobile-menu { display: grid; }
  .mobile-nav-popover { position: absolute; top: 58px; right: 0; width: min(310px, 100%); display: grid; padding: 8px; background: rgba(255,254,250,.98); border: 1px solid rgba(6,70,41,.14); border-radius: 8px; box-shadow: 0 18px 50px rgba(9,46,32,.16); backdrop-filter: blur(24px) saturate(170%); transform-origin: top right; transform: translateY(-6px) scale(.97); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s, transform .24s cubic-bezier(.2,.8,.2,1), visibility 0s linear .24s; }
  .mobile-nav-popover.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .mobile-nav-popover a, .mobile-nav-popover button { min-height: 64px; padding: 11px 12px; border: 0; display: grid; align-content: center; border-radius: 6px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
  .mobile-nav-popover a:hover, .mobile-nav-popover a:focus-visible, .mobile-nav-popover button:hover, .mobile-nav-popover button:focus-visible { background: var(--mint); }
  .mobile-nav-popover strong { font-size: 15px; }
  .mobile-nav-popover span { color: var(--muted); font-size: 12px; }
  .hero { min-height: 684px; align-items: flex-end; padding-bottom: 42px; }
  .hero-photo { inset: 0 0 auto 0; width: 100%; height: 46%; object-position: 58% 32%; border-left: 0; border-bottom: 1px solid rgba(6,70,41,.08); }
  .hero-copy { width: 100%; max-width: none; }
  .hero h1 { max-width: 560px; font-size: 48px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 380px; }
  .wallpaper-grid { display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
  .wallpaper-grid > .result-save-row { width: 100%; margin: 0; }
  .product-layout, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .gift-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 28px; }
  .gift-hero .btn-row { display: grid; grid-template-columns: 1fr; }
  .gift-hero .btn { width: 100%; white-space: normal; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid article:nth-child(2) { border-right: 0; }
  .tier-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gift-products article { grid-template-columns: 1fr; gap: 14px; }
  .felt-custom { grid-template-columns: 1fr; gap: 34px; padding-bottom: 50px; }
  .felt-preview { scroll-margin-top: 80px; }
  .felt-form { padding: 20px; }
  .felt-uploads { grid-template-columns: 1fr; }
  .felt-upload { min-height: 100px; }
  .felt-facts { grid-template-columns: 1fr; }
  .felt-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .felt-facts > div:last-child { border-bottom: 0; }
  .result-support-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .result-support-grid > * + * { border-left: 0; }
  .result-care-panel { grid-column: 1 / -1; }
  .result-product-card { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
  .result-product-card + .result-product-card { border-left: 1px solid var(--line); }
  .account-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; gap: 4px; overflow: auto; border-bottom: 1px solid var(--line); }
  .side-nav h3 { display: none; }
  .side-nav a { white-space: nowrap; }
  .side-nav-account { display: none; }
  .order-summary { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-index { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .felt-custom { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 44px; }
  .felt-form { padding: 28px; }
  .felt-uploads { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .felt-upload { min-height: 132px; }
}

@media (max-width: 620px) {
  :root { --shell-gutter: 16px; }
  .page-head { padding: 42px 0 26px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .hero { height: min(590px, calc(100svh - 150px)); min-height: 480px; padding-bottom: 28px; }
  .hero-photo { height: 43%; object-position: 58% 30%; }
  .hero h1 { margin-bottom: 12px; font-size: 38px; line-height: 1.13; }
  .hero-kicker { margin-bottom: 8px; font-size: 12px; }
  .hero .lead { margin-bottom: 18px; font-size: 15px; line-height: 1.48; }
  .home-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .home-actions .btn, .home-actions .home-secondary-link { width: 100%; min-height: 46px; padding-inline: 12px; justify-content: center; font-size: 14px; }
  .hero-assurance { margin-top: 11px; line-height: 1.4; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item { min-height: 52px; padding: 8px 6px; gap: 6px; font-size: 12px; }
  .home-products { padding-top: 48px; padding-bottom: 58px; overflow: hidden; }
  .home-products .section-title { align-items: flex-end; gap: 12px; margin-bottom: 20px; }
  .home-products .section-title h2 { font-size: 25px; }
  .home-products .section-description { max-width: 245px; font-size: 13px; }
  .home-products .text-link { font-size: 13px; }
  .home-products .grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 84vw); gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding: 0 16px 12px 0; }
  .home-products .grid::-webkit-scrollbar { display: none; }
  .home-products .card { scroll-snap-align: start; }
  .home-products .card-image.tall { aspect-ratio: 4 / 4.35; }
  .grid-2, .grid-3, .grid-4, .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .phones { gap: 6px; }
  .phone { border-radius: 9px; }
  .result-support-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .result-care-panel { padding: 24px 20px; display: block; }
  .result-product-card { padding: 14px; }
  .result-product-card + .result-product-card { border-left: 1px solid var(--line); }
  .profile-row { flex-wrap: wrap; text-align: center; justify-content: center; }
  .profile-actions { margin: auto; width: 100%; }
  .stat-row { width: 100%; justify-content: center; gap: 20px; }
  .report-chapter { grid-template-columns: 1fr; gap: 8px; }
  .list-row { grid-template-columns: 76px 1fr; }
  .list-row > :last-child { grid-column: 2; }
  .thumb { width: 72px; height: 72px; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery .gallery-thumbs { grid-row: 2; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
  .product-gallery .gallery-thumb { flex: 0 0 72px; }
  .cart-item { grid-template-columns: 88px 1fr; }
  .cart-item img { width: 88px; height: 88px; }
  .cart-item > :last-child { grid-column: 2; }
  .page-index { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .home-products .card:active, .icon-btn:active, .btn:active { transform: none; }
  .slot-spinner { animation: none !important; border-color: rgba(6,70,41,.28); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .mobile-nav-popover, .search-popover { background: var(--paper); backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  .site-header, .card, .btn, .mobile-nav-popover, .search-popover { border-color: var(--green); }
  .muted, .hero-assurance, .section-description { color: #294b3d; }
  :focus-visible { outline-color: var(--green); outline-width: 4px; }
}

@media (max-width: 380px) {
  .hero { height: 570px; min-height: 570px; }
  .hero-photo { height: 34%; }
  .hero h1 { font-size: 34px; }
  .home-actions { grid-template-columns: 1fr; }
  .hero-assurance { display: none; }
  .home-products .section-title { align-items: flex-start; flex-direction: column; }
  .site-search-form > div { grid-template-columns: 1fr; }
}


/* Mobile layout system v2: compact, task-first, and touch-native. */
@media (max-width: 900px) {
  .page-head { padding: 44px 0 26px; text-align: left; }
  .page-head .lead { margin-left: 0; }
  .section { padding: 44px 0; }
  .article-card .card-body { min-height: auto; }
}

@media (max-width: 620px) {
  body { font-size: 15px; line-height: 1.5; }
  main { min-height: 0; }
  .site-header { background: rgba(255,254,250,.96); }
  .logo { font-size: 18px; }
  .logo { min-height: 44px; }
  .logo-mark { width: 28px; height: 28px; }
  .nav-actions { gap: 2px; }
  .search-quick a { min-height: 44px; display: inline-flex; align-items: center; }

  .page-head { padding: 32px 0 22px; text-align: left; }
  .page-head .eyebrow { margin-bottom: 6px; }
  .page-head .lead { margin: 0; max-width: none; font-size: 15px; line-height: 1.55; }
  h1 { margin-bottom: 10px; font-size: 32px; line-height: 1.18; font-weight: 800; }
  h2 { margin-bottom: 10px; font-size: 24px; line-height: 1.28; }
  h3 { font-size: 18px; line-height: 1.35; }
  .section { padding: 38px 0; }
  .section-title { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .section-title > div { min-width: 0; }
  .section-title .text-link { flex: 0 0 auto; }
  .eyebrow { font-size: 12px; }
  .lead { font-size: 15px; }

  .btn { min-height: 48px; padding-inline: 16px; white-space: normal; text-align: center; }
  .btn-row:not(.home-actions) { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .btn-row:not(.home-actions) .btn { width: 100%; padding-inline: 10px; }
  .text-link { min-height: 44px; display: inline-flex; align-items: center; }

  .card { border-radius: 7px; }
  .card-body { padding: 16px; }
  .grid { gap: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .price { font-size: 20px; }

  .form-shell { padding: 18px; border-radius: 7px; box-shadow: none; }
  .form-grid { gap: 16px; }
  .field { gap: 6px; }
  input, select, textarea { min-height: 50px; font-size: 16px; }
  textarea { min-height: 104px; }
  .upload-zone { min-height: 166px; padding: 22px 16px; }
  .choice-grid { gap: 8px; }
  .choice { min-height: 50px; padding: 13px; }
  .check-row { padding: 13px 0; }
  .check-row label { line-height: 1.45; }
  .progress { padding: 18px 0 22px; }
  .progress span { width: 46px; }

  .tabs { width: 100vw; max-width: none; margin-left: calc((100vw - 100%) / -2); margin-right: 0; padding-inline: 16px; gap: 0; scrollbar-width: none; background: var(--paper); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { min-height: 48px; padding: 0 15px; display: inline-flex; align-items: center; }
  .tab { min-width: 44px; justify-content: center; }
  body[data-page="08"] .tabs,
  body[data-page="14"] .tabs,
  body[data-page="18"] .tabs,
  body[data-page="20"] .tabs { position: sticky; top: 64px; z-index: 20; background: rgba(255,254,250,.96); backdrop-filter: blur(18px) saturate(150%); }

  .result-wrap { padding: 30px 0 48px; }
  .result-title { margin-bottom: 24px; text-align: left; }
  .wallpaper-grid { gap: 30px; }
  .phones { gap: 7px; }
  .phone { border-radius: 12px; }
  .desktop-thumbs { gap: 6px; }
  .result-purchase-bar { margin-top: 22px; }
  .download-bar { position: static; border-radius: 7px; }
  .result-support-grid { margin-top: 24px; }
  .result-care-panel h2 { font-size: 24px; }
  .result-care-panel .care-note { grid-template-columns: 40px 1fr; gap: 12px; }
  .result-care-panel .care-note + .care-note { padding-top: 20px; padding-left: 0; border-top: 1px solid rgba(6,70,41,.12); border-left: 0; }
  .result-care-panel .care-icon { width: 36px; height: 36px; }
  .result-care-panel .care-note p { font-size: 13px; line-height: 1.6; }
  .result-product-card { padding: 14px; }
  .result-product-card h3 { min-height: 46px; margin-bottom: 4px; font-size: 16px; }
  .result-product-meta { margin-bottom: 9px; }
  .result-product-meta strong { font-size: 15px; }
  .result-product-card .result-product-preview img { aspect-ratio: 1; }
  .result-product-card .preview-badge { font-size: 9px; }
  .result-product-card .product-example-note { font-size: 10px; }
  .result-product-link { min-height: 44px; margin-top: 8px; font-size: 11px; }

  .profile-hero { padding: 24px 0; }
  .profile-row { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 14px; text-align: left; justify-content: stretch; }
  .avatar { width: 86px; height: 86px; border-width: 3px; }
  .profile-row h1 { font-size: 30px !important; }
  .stat-row { width: auto; justify-content: flex-start; gap: 20px; margin-top: 10px; }
  .stat strong { font-size: 18px; }
  .profile-actions { grid-column: 1 / -1; width: 100%; margin: 2px 0 0; }
  .profile-actions .btn { width: 100%; }
  body[data-page="08"] .section .grid-3 { width: 100%; max-width: 100%; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 12px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  body[data-page="08"] .section .card { scroll-snap-align: start; }

  .report-cover { min-height: 360px; place-items: end start; text-align: left; }
  .report-cover .cover-copy { padding: 26px 20px; }
  .report-cover h1 { font-size: 36px; }
  .report-chapter { grid-template-columns: 1fr; gap: 6px; padding: 32px 0; }
  .chapter-no { font-size: 34px; }

  .account-layout { gap: 22px; padding: 24px 0 48px; }
  .side-nav { position: sticky; top: 64px; z-index: 18; margin-inline: -16px; padding-inline: 16px; background: rgba(255,254,250,.96); backdrop-filter: blur(18px) saturate(150%); scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav a { min-height: 46px; padding: 0 13px; display: inline-flex; align-items: center; }
  .side-nav-account { display: none; }
  .list-row { grid-template-columns: 72px minmax(0,1fr); gap: 12px; padding: 16px 0; }
  .list-row > :last-child { grid-column: 2; justify-self: start; }
  .thumb { width: 72px; height: 72px; }
  .status { font-size: 13px; }

  .product-layout { gap: 22px; padding: 20px 0 46px; }
  .product-gallery { grid-template-columns: 1fr; gap: 8px; }
  .product-main { aspect-ratio: 1; border-radius: 7px; }
  .gallery-thumbs { grid-row: 2; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .product-info { padding-top: 0; }
  .product-info h1 { font-size: 32px; }
  .option { padding: 15px 0; }
  .qty button { width: 44px; height: 44px; }
  body[data-page="21"] .product-info .btn-row { position: static; margin: 18px 0 0; padding: 0; background: transparent; border: 0; }

  .gift-hero { gap: 24px; padding: 20px 0 48px; }
  .gift-main { aspect-ratio: 4 / 3; }
  .gift-hero > * { min-width: 0; }
  .gift-thumbs { width: 100%; max-width: 100%; grid-template-columns: repeat(4, 28vw); padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .gift-tier-list { width: 100%; max-width: 100%; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82vw; gap: 10px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gift-tier { min-height: 82px; scroll-snap-align: start; }
  .gift-tier b { font-size: 13px; }
  .gift-wide { aspect-ratio: 4 / 3; }
  .tier-grid { width: 100%; max-width: 100%; min-width: 0; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 0; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; border: 0; scrollbar-width: none; }
  .tier-grid article, .tier-grid article:nth-child(n) { min-height: 250px; padding: 20px; border: 1px solid var(--line); border-right: 0; scroll-snap-align: start; }
  .tier-grid article:last-child { border-right: 1px solid var(--line); }
  .gift-products article { grid-template-columns: 112px minmax(0,1fr); gap: 14px; padding: 18px 0; }
  .gift-products img { aspect-ratio: 1; }

  .felt-custom { gap: 24px; padding-bottom: 44px; }
  .felt-form { padding: 0; border: 0; }
  .felt-step { padding: 22px 0; }
  .felt-form > .felt-step:first-of-type { margin-top: 18px; }
  .felt-step-head { grid-template-columns: 28px minmax(0,1fr); gap: 10px; }
  .felt-step-head h2 { font-size: 19px; }
  .felt-reference { margin-top: 14px; }
  .felt-reference-labels { gap: 4px; }
  .felt-reference-labels b { font-size: 11px; }
  .felt-reference-labels small { font-size: 9px; }
  .felt-uploads { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .felt-upload { min-height: 112px; padding: 10px 5px; text-align: center; }
  .felt-upload strong { font-size: 13px; }
  .felt-upload small { font-size: 10px; }
  .felt-preview .product-gallery { grid-template-columns: minmax(0,1fr); }
  .felt-template-gallery .sample-frame { grid-column: 1; grid-row: 1; }
  .felt-template-gallery .gallery-thumbs { grid-column: 1; grid-row: 2; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
  .felt-stage { aspect-ratio: 1; }
  .felt-facts > div { min-height: auto; padding: 18px 0; }

  .cart-layout, .checkout-layout { gap: 24px; padding-bottom: 48px; }
  .cart-item { grid-template-columns: 88px minmax(0,1fr); gap: 12px; padding: 16px 0; }
  .cart-item img { width: 88px; height: 88px; }
  .cart-item > :last-child { grid-column: 2; }
  .order-summary { padding: 18px; box-shadow: none; }
  body[data-page="23"] .checkout-layout .order-summary { order: -1; }
  body[data-page="23"] .checkout-direct .order-summary { order: initial; }
  .checkout-product-review { padding: 14px; grid-template-columns: 106px minmax(0,1fr); gap: 14px; }
  .checkout-product-image img { width: 106px; }
  .checkout-product-copy h2 { font-size: 19px; }
  .checkout-product-copy dl > div { grid-template-columns: 72px 1fr; font-size: 12px; }
  .checkout-section-title h2 { font-size: 21px; }
  .summary-row { align-items: flex-start; gap: 12px; }
  .summary-row > :last-child { max-width: 58%; text-align: right; overflow-wrap: anywhere; }
  .summary-row input[type="checkbox"] { appearance: none; width: 52px !important; min-width: 52px; height: 44px; min-height: 44px !important; margin: -8px 0; position: relative; border: 8px solid transparent; border-radius: 999px; background: #cfd8d1; background-clip: content-box; cursor: pointer; transition: background-color .16s; }
  .summary-row input[type="checkbox"]::after { content: ""; position: absolute; top: 12px; left: 12px; width: 20px; height: 20px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(9,46,32,.25); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
  .summary-row input[type="checkbox"]:checked { background-color: var(--green); }
  .summary-row input[type="checkbox"]:checked::after { transform: translateX(16px); }

  .success { padding: 44px 0 56px; }
  .success-mark { width: 64px; height: 64px; margin-bottom: 16px; font-size: 30px; }
  .receipt { margin-top: 26px; padding: 18px; }
  .timeline { margin: 28px auto; }
  .timeline-item { padding: 0 0 28px 36px; }
  .faq summary { min-height: 58px; padding: 16px 4px; }
  .faq p { padding: 0 4px 18px; }

  .split-media { min-height: 250px; }
  .split-copy { padding: 28px 20px; }
  body[data-page="04"] main > .grid .card:nth-child(3) { order: -1; }
  body[data-page="05"] .card-image.tall { aspect-ratio: 1; object-position: center 28%; }
  body[data-page="10"] .page-head { padding-bottom: 26px; }
  body[data-page="14"] .account-layout .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  body[data-page="14"] .card-body { padding: 12px; }
  body[data-page="14"] .card h3 { font-size: 15px; }
  body[data-page="14"] .card-image.tall { aspect-ratio: 4 / 5; }
  body[data-page="20"] .section > .grid-3,
  body[data-page="27"] .section > .grid-3 { width: 100%; max-width: 100%; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82vw; gap: 12px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  body[data-page="20"] .section > .grid-3 .card,
  body[data-page="27"] .section > .grid-3 .card { scroll-snap-align: start; }
  body[data-page="20"] .card-image.tall { aspect-ratio: 1; }
  body[data-page="20"] .split { margin-top: 38px !important; }
  body[data-page="27"] .split-media { min-height: 240px; }
  body[data-page="27"] .split-copy { padding: 24px 18px; }

  .overview-head { padding: 38px 0 18px; }
  .overview-note { padding: 15px 16px; }
  .page-index { gap: 9px; padding: 22px 0 50px; }
  .page-link { min-height: 104px; padding: 16px; }

  .footer-grid { padding: 30px 0 26px; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px 12px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .footer-grid h3 { margin-bottom: 4px; font-size: 13px; }
  .footer-grid a { min-height: 44px; margin: 0; display: flex; align-items: center; font-size: 12px; line-height: 1.35; }
  .footer-grid p { margin: 8px 0 0; font-size: 12px; }
  .footer-bottom { padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); font-size: 10px; }
  .toast { width: max-content; max-width: calc(100% - 32px); bottom: calc(18px + env(safe-area-inset-bottom)); text-align: center; }
}

@media (max-width: 380px) {
  .site-header .logo-word { display: none; }
  .page-head { padding-top: 28px; }
  h1 { font-size: 29px; }
  .btn-row:not(.home-actions) { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .felt-upload strong { font-size: 12px; }
  .gift-tier-list { grid-auto-columns: 88vw; }
}

/* Business-state clarity: samples, ownership, login and customization gates. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* My Page: one wallpaper work is the complete 3 mobile + 3 PC set. */
.artwork-list { display: grid; gap: 28px; }
.artwork-pack { display: grid; grid-template-columns: minmax(300px,.78fr) minmax(0,1.35fr); border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.artwork-pack-head { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--line); }
.artwork-pack-head h2 { margin: 9px 0 4px; font-size: 24px; }
.artwork-pack-status { flex: none; padding: 7px 10px; border-radius: 999px; background: #f1f2ef; color: var(--muted); font-size: 12px; }
.artwork-pack-status.is-complete { background: var(--mint); color: var(--green); }
.artwork-pack-actions { flex: none; display: flex; align-items: center; gap: 10px; }
.artwork-pack-actions .btn { min-height: 40px; padding: 9px 13px; font-size: 12px; }
.artwork-format { min-width: 0; padding: 22px; }
.artwork-format + .artwork-format { border-left: 1px solid var(--line); }
.artwork-format-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.artwork-format-title span { color: var(--green); font-size: 22px; line-height: 1; }
.artwork-format-title h3 { margin: 0; font-size: 15px; }
.artwork-mobile-set, .artwork-desktop-set { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.artwork-mobile-set figure, .artwork-desktop-set figure { min-width: 0; margin: 0; }
.artwork-preview-trigger { width: 100%; padding: 0; position: relative; display: block; border: 0; border-radius: 5px; overflow: hidden; color: var(--green); background: #eef1ed; cursor: zoom-in; }
.artwork-preview-trigger:focus-visible { outline: 3px solid rgba(6,70,41,.3); outline-offset: 3px; }
.artwork-zoom-mark { width: 30px; height: 30px; position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; border-radius: 50%; color: white; background: rgba(6,45,29,.82); font-size: 18px; opacity: 0; transform: scale(.9); transition: opacity .16s ease, transform .16s ease; }
.artwork-preview-trigger:hover .artwork-zoom-mark, .artwork-preview-trigger:focus-visible .artwork-zoom-mark { opacity: 1; transform: scale(1); }
.artwork-mobile-set img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 5px; background: #eef1ed; }
.artwork-desktop-set img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; background: #eef1ed; }
.artwork-pack figcaption { padding-top: 7px; color: var(--muted); font-size: 11px; text-align: center; }
.artwork-file-actions { min-width: 0; padding-top: 7px; display: grid; gap: 6px; }
.artwork-file-actions figcaption { padding: 0; }
.artwork-file-state { min-height: 19px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 10px; font-weight: 750; line-height: 1.2; }
.artwork-file-state.is-active { color: var(--green); }
.artwork-file-state.is-complete { color: var(--green); }
.artwork-file-state.is-failed { color: #9f3029; }
.artwork-file-download { width: 100%; min-height: 40px; padding: 6px 8px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 5px; color: var(--green); background: white; font-size: 11px; font-weight: 800; cursor: pointer; }
.artwork-file-download .icon { width: 15px; height: 15px; }
.artwork-file-download:hover { border-color: var(--green); background: var(--mint); }
.artwork-file-download:focus-visible { outline: 3px solid rgba(6,70,41,.22); outline-offset: 2px; }
.artwork-file-download.is-upgrade { border-color: var(--green); background: var(--green); color: #fff; }
.artwork-file-download.is-upgrade:hover { background: #043c23; }
.artwork-file-download.is-progress:disabled { border-color: transparent; background: #f1f4f1; color: var(--muted); cursor: wait; opacity: 1; }
.artwork-slot-missing { display: grid; place-items: center; align-content: center; gap: 5px; aspect-ratio: 9 / 19.5; border: 1px dashed var(--line); border-radius: 5px; background: #f7f8f5; color: var(--muted); font-size: 11px; text-align: center; }
.artwork-slot-missing.is-desktop { aspect-ratio: 16 / 9; }
.artwork-slot-missing span { font-weight: 800; color: var(--green); }
body.lightbox-open { overflow: hidden; }
.artwork-lightbox[hidden] { display: none !important; }
.artwork-lightbox { position: fixed; inset: 0; z-index: 1000; padding: 28px 78px; display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 18px; background: rgba(5,18,12,.92); backdrop-filter: blur(18px) saturate(120%); }
.artwork-lightbox figure { min-width: 0; max-width: min(1180px,88vw); max-height: calc(100vh - 56px); margin: 0 auto; display: grid; justify-items: center; gap: 12px; }
.artwork-lightbox img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border-radius: 6px; box-shadow: 0 24px 70px rgba(0,0,0,.38); }
.artwork-lightbox figcaption { color: rgba(255,255,255,.82); font-size: 13px; }
.artwork-lightbox-close, .artwork-lightbox-nav { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: white; background: rgba(255,255,255,.1); cursor: pointer; backdrop-filter: blur(12px); }
.artwork-lightbox-close:hover, .artwork-lightbox-nav:hover { background: rgba(255,255,255,.2); }
.artwork-lightbox-close:focus-visible, .artwork-lightbox-nav:focus-visible { outline: 3px solid rgba(255,255,255,.5); outline-offset: 2px; }
.artwork-lightbox-close { position: absolute; top: 22px; right: 22px; font-size: 28px; }
.artwork-lightbox-nav { font-size: 34px; }

@media (max-width: 700px) {
  .artwork-list { gap: 18px; }
  .artwork-pack { grid-template-columns: 1fr; }
  .artwork-pack-head { padding: 18px 16px; }
  .artwork-pack-head h2 { font-size: 20px; }
  .artwork-pack-status { padding: 6px 8px; }
  .artwork-pack-head { align-items: stretch; flex-direction: column; }
  .artwork-pack-actions { justify-content: space-between; }
  .artwork-pack-actions .btn { flex: 1; }
  .artwork-format { padding: 18px 16px; }
  .artwork-format + .artwork-format { border-left: 0; border-top: 1px solid var(--line); }
  .artwork-mobile-set { gap: 7px; }
  .artwork-desktop-set { grid-template-columns: 1fr; gap: 12px; }
  .artwork-file-download { min-height: 44px; }
  .artwork-zoom-mark { opacity: 1; transform: none; }
  .artwork-lightbox { padding: 72px 12px 20px; grid-template-columns: 42px minmax(0,1fr) 42px; gap: 6px; }
  .artwork-lightbox figure { max-width: 100%; max-height: calc(100vh - 92px); }
  .artwork-lightbox img { max-height: calc(100vh - 128px); }
  .artwork-lightbox-close { top: 14px; right: 14px; }
}
.hero-model-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255,254,250,.9);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}
.sample-frame { position: relative; min-width: 0; }
.runtime-image-host { position: relative; min-height: 168px; background: #eef1ed; }
.runtime-image-error {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  color: var(--ink);
  background: rgba(255,254,250,.94);
  text-align: center;
}
.runtime-image-error strong { font-size: 14px; }
.runtime-image-error button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.runtime-image-error button:hover { color: #fff; background: var(--green); }
.sample-note {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 6px 8px;
  border-radius: 5px;
  background: rgba(255,254,250,.92);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(9,46,32,.1);
}
.card > .sample-note { left: 10px; top: 10px; bottom: auto; }
.logic-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  background: var(--mint);
}

.generation-status {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf7;
  color: var(--green);
  font-size: 14px;
  line-height: 1.55;
}

.generation-status.is-working {
  border-color: rgba(6, 70, 41, .28);
}

.generation-status.is-error {
  border-color: rgba(190, 55, 46, .35);
  background: #fff6f4;
  color: #9f3029;
}

.ai-consent {
  align-items: flex-start;
  cursor: pointer;
}

.ai-consent input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.prototype-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 20px;
  border-bottom: 1px solid #eadfbd;
  background: #fff9e7;
  color: #5e4b13;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.prototype-notice strong {
  color: var(--green);
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .prototype-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 9px 16px;
    text-align: left;
  }
}
.logic-note p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.logic-note.centered { max-width: 680px; margin: 26px auto 0; text-align: center; border-left: 0; }
.logic-note.centered .btn { margin-top: 14px; }
.result-save-row {
  max-width: 780px;
  margin: 16px auto 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  background: white;
}
.result-save-row p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.auth-gate { padding-bottom: 80px; }
.auth-gate .card-body { padding: 34px; }
.auth-back { margin-top: 14px; justify-content: center; width: 100%; }
.account-access { max-width: 560px; padding-bottom: 80px; }
.auth-shell { box-shadow: none; }
.auth-claim-summary {
  margin: -4px 0 22px;
  padding: 0 0 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.auth-claim-summary span { color: var(--muted); font-size: 12px; }
.auth-claim-summary strong { text-align: right; font-size: 13px; }
.auth-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #eef3ee;
}
.auth-segment {
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.auth-segment.is-active {
  background: white;
  color: var(--green);
  box-shadow: 0 1px 5px rgba(9,46,32,.1);
}
.auth-panel { margin-top: 26px; }
.auth-panel[hidden] { display: none; }
.auth-panel-head { margin-bottom: 20px; }
.auth-panel-head h2 { margin: 0 0 5px; font-size: 24px; }
.auth-panel-head p { margin: 0; color: var(--muted); font-size: 14px; }
.auth-social, .auth-form { display: grid; gap: 12px; }
.auth-divider {
  margin: 22px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.auth-divider span { height: 1px; background: var(--line); }
.auth-form .btn { margin-top: 4px; }
.auth-retention-note, .account-access-footnote {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.auth-retention-note { margin: 18px 0 0; }
.account-access-footnote { margin: 14px 4px 0; text-align: center; }
.order-lookup-status {
  margin: 2px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--green);
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
}
.order-lookup-status.is-error {
  border-left-color: var(--coral);
  background: #fff4f2;
  color: #913b34;
}
.order-lookup-results { margin-top: 24px; }
.order-lookup-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.order-lookup-item {
  width: 100%;
  min-height: 56px;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}
a.order-lookup-item, button.order-lookup-item { cursor: pointer; }
a.order-lookup-item:hover, button.order-lookup-item:hover { background: var(--mint); }
.order-lookup-item-main { min-width: 0; display: grid; gap: 2px; }
.order-lookup-item-main strong { overflow-wrap: anywhere; }
.order-lookup-item-meta {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .order-lookup-results { margin-top: 20px; }
  .order-lookup-item { min-height: 52px; padding: 12px 2px; gap: 12px; }
  .order-lookup-item-meta { white-space: normal; }
}

@media (max-width: 340px) {
  .order-lookup-item { align-items: flex-start; flex-direction: column; gap: 5px; }
  .order-lookup-item-meta { width: 100%; text-align: left; }
}
.checkout-account-note {
  margin-bottom: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 3px solid var(--green);
  background: var(--mint);
}
.checkout-account-note p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.checkout-account-note .text-link { flex: 0 0 auto; }
.checkout-account-note.is-compact { margin: 22px 0 0; }
.order-complete .receipt { margin-bottom: 0; }
.order-complete-actions {
  max-width: 660px;
  margin: 32px auto 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.order-complete-actions .btn { min-width: 220px; }
.order-claim {
  max-width: 660px;
  margin: 28px auto 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 3px solid var(--green);
  background: var(--mint);
  text-align: left;
}
.order-claim strong { display: block; }
.order-claim p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.order-claim small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.order-claim-actions {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.guest-order-lookup-link {
  width: max-content;
  margin: 16px auto 0;
  display: flex;
}
.order-detail-body .order-claim { max-width: none; }
.order-detail-actions, .download-account-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.download-account-actions { justify-content: center; }
.empty-state {
  min-height: 280px;
  padding: 48px 24px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  border: 1px dashed rgba(6,70,41,.25);
  background: #fbfcf8;
}
.source-panel {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fbfcf8;
}
.product-draft-resume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 20px;
  padding: 11px 12px;
  border: 1px solid #dce6de;
  border-radius: 6px;
  background: #f7faf7;
  color: var(--muted);
  font-size: 13px;
}
.product-draft-resume a {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}
.product-draft-resume a:hover { text-decoration: underline; }
.source-upload {
  min-height: 112px;
  margin: 14px 0 10px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 1px dashed var(--green);
  background: var(--paper);
  cursor: pointer;
}
.source-upload span { font-size: 25px; }
.source-upload small { color: var(--muted); }
.source-upload img, .felt-upload img { width: 72px; height: 72px; object-fit: cover; border-radius: 5px; background: #eef2ee; }
.source-upload [data-upload-thumb][hidden], .felt-upload [data-upload-thumb][hidden] { display: none !important; }
.source-upload.has-file { min-height: 98px; padding: 12px 14px; grid-template-columns: 72px minmax(0,1fr); grid-template-rows: auto auto; justify-items: start; place-items: center start; column-gap: 14px; text-align: left; }
.source-upload.has-file > span { display: none; }
.source-upload.has-file > img { grid-row: 1 / 3; }
.source-upload.has-file strong, .source-upload.has-file small { overflow-wrap: anywhere; }
.felt-upload.has-file { padding: 8px; grid-template-columns: 1fr; }
.felt-upload.has-file > span { display: none; }
.felt-upload.has-file img { width: 100%; height: 72px; }
.felt-upload.has-file strong { max-width: 100%; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.felt-upload.has-file small { font-size: 9px; }
.product-ai-consent { margin-top: 14px; align-items: flex-start; }
.product-ai-consent input { flex: 0 0 auto; margin-top: 3px; }
.product-preview-status { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid var(--green); color: var(--green); background: var(--mint); font-size: 12px; line-height: 1.55; }
.product-preview-status.is-error { border-left-color: var(--coral); color: #96372f; background: #fff3f1; }
.product-preview-status.is-ready { border-left-color: var(--green); }
.upload-placeholder {
  min-height: 360px;
  padding: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: #f2f4f0;
}
.btn:disabled,
button:disabled,
.btn.disabled {
  opacity: .46;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}
.felt-upload { cursor: pointer; }

.product-example-note { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.photo-check-layout { width: min(980px, calc(100% - var(--shell-gutter) - var(--shell-gutter))); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 34px; align-items: start; }
.photo-check-card { overflow: hidden; position: sticky; top: 92px; }
.photo-check-media { position: relative; background: #eef2ee; }
.photo-check-media img { display: block; width: 100%; height: auto; margin: 0; background: #eef2ee; }
.subject-marker { position: absolute; width: 34px; height: 34px; display: grid; place-items: center; translate: -50% -50%; border: 2px solid white; border-radius: 50%; color: white; background: rgba(6,70,41,.9); font-size: 13px; font-weight: 800; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.subject-marker.is-selected { background: var(--coral); transform: scale(1.12); }
.photo-check-controls { min-width: 0; }
.photo-preflight { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcf8; }
.photo-preflight strong { display: block; font-size: 17px; }
.photo-preflight p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.photo-preflight > span { display: block; margin-top: 10px; color: var(--green); font-size: 11px; font-weight: 800; }
.photo-preflight.is-error { border-color: rgba(190,55,46,.32); background: #fff6f4; }
.photo-preflight.is-error > span { color: #9f3029; }
.photo-preflight.is-ready { border-color: rgba(6,70,41,.3); background: var(--mint); }
.preflight-warning { padding-top: 10px; border-top: 1px solid rgba(6,70,41,.14); }
.subject-choice-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.subject-choice { min-height: 68px; padding: 10px; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; border: 1px solid #bdc8c0; border-radius: 7px; color: var(--ink); background: white; text-align: left; cursor: pointer; }
.subject-choice > span { grid-row: 1 / 3; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 11px; font-weight: 800; }
.subject-choice strong { font-size: 13px; }
.subject-choice small { color: var(--muted); }
.subject-choice.is-selected { border-color: var(--green); background: var(--mint); box-shadow: 0 0 0 2px rgba(6,70,41,.1); }
.breed-confirmation { margin-top: 14px; padding: 14px; border: 1px solid rgba(6,70,41,.2); border-radius: 6px; background: white; }
.breed-confirmation > label,
.breed-confirmation > span { display: block; margin-bottom: 7px; color: var(--green); font-size: 11px; font-weight: 800; }
.breed-confirmation-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.breed-confirmation-row input { min-width: 0; min-height: 44px; }
.breed-confirmation-row .btn { min-height: 44px; white-space: nowrap; }
.breed-confirmation > small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.breed-confirmation.is-confirmed { display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 10px; align-items: center; }
.breed-confirmation.is-confirmed > span { margin: 0; }
.breed-confirmation.is-confirmed > strong { font-size: 14px; }
.breed-confirmation.is-confirmed > small { grid-column: 1 / -1; }
.photo-check-notice { margin-top: 18px; }
.photo-check-notice .card-body { padding: 20px; }
.photo-check-controls .ai-consent { margin-top: 14px; }
.photo-check-actions { margin-top: 18px; }

@media (max-width: 620px) {
  .hero-model-note { right: 12px; top: 76px; bottom: auto; }
  .generation-overview { margin-bottom: 24px; padding: 18px 0; }
  .generation-overview-copy { align-items: flex-start; gap: 14px; }
  .generation-overview h2 { font-size: 19px; }
  .generation-overview p { font-size: 12px; line-height: 1.5; }
  .generation-count { font-size: 27px; }
  .generation-actions { flex-direction: column; }
  .generation-actions .btn { width: 100%; }
  .reroll-policy { align-items: flex-start; flex-direction: column; gap: 2px; margin-bottom: 20px; text-align: left; }
  .phone .wallpaper-placeholder { gap: 6px; padding: 7px; }
  .phone .wallpaper-placeholder strong { font-size: 10px; }
  .phone .wallpaper-placeholder small { display: none; }
  .phone .slot-spinner { width: 20px; height: 20px; }
  .slot-reroll { min-height: 44px; padding-inline: 4px; }
  .breed-confirmation-row { grid-template-columns: 1fr; }
  .breed-confirmation-row .btn { width: 100%; }
  .reroll-label-full { display: none; }
  .reroll-label-short { display: inline; }
  .desktop-main .wallpaper-placeholder { gap: 7px; padding: 12px; }
  .desktop-main .wallpaper-placeholder small { font-size: 10px; }
  .result-save-row { align-items: stretch; flex-direction: column; }
  .result-save-row .btn { width: 100%; }
  .result-purchase-bar { min-height: 0; padding: 16px; grid-template-columns: 1fr; gap: 14px; }
  .result-purchase-copy strong { font-size: 16px; }
  .download-bar { max-width: none; }
  .source-panel { padding: 16px; }
  .empty-state { min-height: 240px; padding: 36px 18px; }
  .photo-check-layout { grid-template-columns: 1fr; gap: 20px; }
  .photo-check-card { position: static; }
  .subject-choice-grid { grid-template-columns: 1fr; }
  .photo-check-actions { display: grid; grid-template-columns: 1fr; }
  .photo-check-actions .btn { width: 100%; }
}

/* Birthday collection v2: realistic bundles, restrained merchandising. */
.gift-hero-v2 { grid-template-columns: minmax(0,1.15fr) minmax(400px,.85fr); gap: 56px; align-items: start; padding-top: 38px; }
.gift-hero-v2 > * { min-width: 0; }
.gift-gallery-v2 { min-width: 0; position: sticky; top: 94px; }
.gift-gallery-v2 .sample-frame { background: #f4f5f1; }
.gift-gallery-v2 .gift-main { aspect-ratio: 4 / 3; object-fit: contain; background: #f4f5f1; }
.gift-thumbs-v2 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.gift-tier-thumb { min-width: 0; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--ink); background: white; cursor: pointer; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, transform .1s ease; }
.gift-tier-thumb:active { transform: scale(.985); }
.gift-tier-thumb.is-selected { border-color: var(--green); box-shadow: 0 0 0 2px rgba(6,70,41,.12); }
.gift-tier-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gift-tier-thumb span { min-height: 38px; padding: 8px 9px; display: flex; align-items: center; color: var(--green); font-size: 11px; font-weight: 800; }
.gift-image-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.gift-buy-panel > .lead { margin: 0 0 22px; max-width: 500px; }
.gift-tier-list-v2 { display: grid; gap: 8px; }
.gift-tier-v2 { width: 100%; min-height: 76px; padding: 13px 14px; display: grid; grid-template-columns: minmax(0,1fr) auto 26px; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; text-align: left; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .1s ease, box-shadow .16s ease; }
.gift-tier-v2:hover { border-color: rgba(6,70,41,.42); background: #f9fbf8; }
.gift-tier-v2:active { transform: scale(.99); }
.gift-tier-v2:focus-visible { outline: 3px solid rgba(6,70,41,.22); outline-offset: 2px; }
.gift-tier-v2.is-selected { border-color: var(--green); background: #f2f7f3; box-shadow: inset 0 0 0 1px var(--green); }
.gift-tier-v2.is-unavailable { border-color: #dfe4df; background: #fafbf9; }
.gift-tier-v2.is-unavailable.is-selected { border-color: #7f8d85; background: #f3f5f2; box-shadow: inset 0 0 0 1px #7f8d85; }
.gift-tier-v2 .gift-tier-copy { min-width: 0; display: grid; gap: 2px; }
.gift-tier-v2 .gift-tier-copy strong, .gift-tier-v2 .gift-tier-copy small { overflow-wrap: break-word; }
.gift-tier-v2 small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.gift-tier-v2 strong { font-size: 15px; line-height: 1.35; }
.gift-tier-v2 b { flex: 0 0 auto; white-space: nowrap; color: var(--green); font-size: 16px; }
.gift-tier-v2 em { display: block; color: var(--muted); font-size: 10px; font-style: normal; text-align: right; }
.gift-tier-v2.is-unavailable b { color: var(--muted); }
.gift-tier-choice-state { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #aab7af; border-radius: 50%; color: transparent; background: #fff; font-size: 12px; font-weight: 900; }
.gift-tier-v2.is-selected .gift-tier-choice-state { border-color: var(--green); color: white; background: var(--green); }
.gift-tier-v2.is-unavailable .gift-tier-choice-state { border-color: #cdd4cf; background: #f5f7f4; }
.gift-tier-thumb.is-unavailable img { opacity: .76; filter: saturate(.72); }
.gift-tier-thumb.is-unavailable span { color: var(--muted); }
.gift-current { margin: 22px 0; padding: 20px 0; display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.gift-current.is-unavailable { border-top-color: #7f8d85; }
.gift-current h2 { margin-bottom: 5px; font-size: 24px; }
.gift-current p { margin: 0; color: var(--muted); font-size: 13px; }
.gift-current-price { color: var(--green); font-size: 25px; white-space: nowrap; }
.gift-current-commerce { display: grid; justify-items: end; align-content: start; gap: 8px; }
.gift-current.is-unavailable .gift-current-price { color: var(--muted); }
.gift-current-price small { display: block; color: var(--muted); font-size: 11px; text-align: right; }
.gift-current [data-gift-inclusions], .gift-current-meta { grid-column: 1 / -1; }
.gift-inclusion-list { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.gift-inclusion-list li { display: grid; grid-template-columns: 18px 1fr; gap: 7px; color: #3e5147; font-size: 13px; line-height: 1.45; }
.gift-inclusion-list li span { color: var(--green-2); font-weight: 900; }
.gift-current-meta { padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--green); font-size: 12px; font-weight: 750; }
.gift-source-panel { display: grid; grid-template-columns: 1fr 118px; gap: 12px 18px; align-items: start; }
.gift-source-panel.is-unavailable { background: #fafbf9; }
.gift-source-panel .source-upload.is-disabled { border-color: #dfe4df; background: #f4f5f3; color: var(--muted); cursor: not-allowed; }
.gift-source-panel > div:first-child { min-width: 0; }
.gift-source-preview { grid-column: 2; grid-row: 1 / 3; width: 118px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; }
.gift-source-preview img { width: 100%; height: 100%; object-fit: cover; }
.gift-source-empty { width: 100%; height: 100%; padding: 10px; display: grid; align-content: center; justify-items: center; gap: 4px; color: var(--muted); text-align: center; }
.gift-source-empty span { color: var(--green); font-size: 24px; }
.gift-source-empty strong { font-size: 10px; line-height: 1.4; }
.gift-source-panel .source-upload { grid-column: 1; margin: 0; min-height: 90px; }
.gift-source-panel .text-link { grid-column: 1 / -1; }
.gift-delivery-band { padding: 58px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f6f8f4; }
.gift-delivery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--ink); }
.gift-delivery-grid > div { min-height: 150px; padding: 24px 28px 16px 0; border-right: 1px solid var(--line); }
.gift-delivery-grid > div + div { padding-left: 28px; }
.gift-delivery-grid > div:last-child { border-right: 0; }
.gift-delivery-grid span { color: var(--coral); font-size: 12px; font-weight: 900; }
.gift-delivery-grid strong { display: block; margin-top: 12px; font-size: 17px; }
.gift-delivery-grid p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.gift-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.gift-plan { min-width: 0; padding: 26px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.gift-plan:last-child { border-right: 0; }
.gift-plan.is-selected { background: #f3f8f4; }
.gift-plan.is-unavailable { background: #fafbf9; }
.gift-plan.is-unavailable.is-selected { background: #f3f5f2; }
.gift-plan-heading { min-height: 58px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gift-plan h3 { min-height: 52px; margin-bottom: 8px; }
.gift-plan .gift-plan-heading h3 { min-height: 0; margin: 0; }
.gift-plan > strong { color: var(--green); font-size: 22px; }
.gift-plan.is-unavailable > strong { color: var(--muted); }
.gift-plan > p:not(.eyebrow) { min-height: 66px; margin: 10px 0 18px; color: var(--muted); font-size: 13px; }
.gift-plan .gift-inclusion-list { flex: 1; padding-top: 17px; border-top: 1px solid var(--line); }
.gift-plan-meta { min-height: 62px; margin: 18px 0; padding-top: 12px; display: grid; gap: 3px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.gift-plan .btn { width: 100%; }
.gift-product-lines { border-top: 1px solid var(--ink); }
.gift-product-lines article { padding: 30px 0; display: grid; grid-template-columns: minmax(280px,.92fr) minmax(0,1.08fr); gap: 38px; align-items: center; border-bottom: 1px solid var(--line); }
.gift-product-lines img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; }
.gift-product-lines p:not(.eyebrow) { color: var(--muted); }
.gift-product-lines dl { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.gift-product-lines dl > div { padding: 12px 10px 0 0; }
.gift-product-lines dt { color: var(--muted); font-size: 10px; }
.gift-product-lines dd { margin: 2px 0 0; color: var(--green); font-size: 13px; font-weight: 800; }

@media (max-width: 980px) {
  .gift-hero-v2 { grid-template-columns: 1fr; gap: 34px; }
  .gift-gallery-v2 { position: static; }
  .gift-plan-grid { grid-template-columns: 1fr; }
  .gift-plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .gift-plan:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .gift-hero-v2 { padding-top: 20px; }
  .gift-thumbs-v2 { gap: 6px; }
  .gift-tier-thumb span { min-height: 44px; padding: 7px; font-size: 9px; }
  .gift-current { grid-template-columns: 1fr; }
  .gift-current-commerce { justify-items: start; }
  .gift-current-price { justify-self: start; }
  .gift-current-price small { display: inline; margin-left: 4px; }
  .gift-source-panel { grid-template-columns: 1fr 92px; }
  .gift-source-preview { width: 92px; }
  .gift-delivery-band { padding: 42px 0; }
  .gift-delivery-grid { grid-template-columns: 1fr; }
  .gift-delivery-grid > div, .gift-delivery-grid > div + div { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .gift-delivery-grid > div:last-child { border-bottom: 0; }
  .gift-plan { padding: 22px 0; }
  .gift-plan-heading { min-height: 0; }
  .gift-plan > p:not(.eyebrow), .gift-plan h3 { min-height: 0; }
  .gift-product-lines article { grid-template-columns: 1fr; gap: 18px; }
  .gift-product-lines dl { grid-template-columns: 1fr; }
  .gift-product-lines dl > div { padding: 9px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
}

@media (max-width: 340px) {
  .result-support-grid { grid-template-columns: 1fr; }
  .result-product-card { padding: 12px; display: grid; grid-template-columns: 120px minmax(0,1fr); grid-template-areas: "preview title" "preview meta" "preview action" "note note"; column-gap: 12px; }
  .result-product-card + .result-product-card { border-left: 0; }
  .result-product-card h3 { grid-area: title; min-height: 0; }
  .result-product-meta { grid-area: meta; }
  .result-product-card .result-product-preview { grid-area: preview; }
  .result-product-card .product-example-note { grid-area: note; }
  .result-product-link { grid-area: action; align-self: end; }
}

@media (max-width: 640px) {
  .account-access { padding-bottom: 56px; }
  .auth-shell { padding: 18px 16px; }
  .auth-claim-summary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .auth-claim-summary strong { text-align: left; }
  .auth-segment { min-height: 44px; padding-inline: 5px; font-size: 12px; }
  .auth-panel { margin-top: 24px; }
  .auth-panel-head h2 { font-size: 22px; }
  .checkout-account-note { align-items: flex-start; flex-direction: column; gap: 8px; }
  .order-complete-actions { margin-top: 24px; }
  .order-complete-actions .btn { width: 100%; min-width: 0; min-height: 50px; }
  .order-claim {
    margin-top: 24px;
    padding: 16px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .order-claim-actions { justify-items: stretch; }
  .order-claim-actions .btn { width: 100%; min-height: 46px; }
  .order-detail-actions { align-items: stretch; flex-direction: column; }
}

/* Production cases: evidence stays secondary to the primary product task. */
[data-studio-case-section] {
  border-top: 1px solid var(--line);
}
[data-studio-case-section] .section-description {
  margin: 7px 0 0;
  color: var(--muted);
}
[data-studio-case-section] .grid,
body[data-page="28"] main > .section.container > .grid {
  gap: 42px 24px;
}
[data-studio-case-section] .card,
body[data-page="28"] main > .section.container > .grid > .card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
[data-studio-case-section] .card-image,
body[data-page="28"] main > .section.container > .grid > .card .card-image {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: #f2f4f0 !important;
  object-fit: cover !important;
}
[data-studio-case-section] .card-body,
body[data-page="28"] main > .section.container > .grid > .card .card-body {
  padding: 14px 0 0;
}
[data-studio-case-section] .card-body .meta,
body[data-page="28"] main > .section.container > .grid > .card .meta {
  margin-bottom: 10px;
}
[data-studio-case-section] .card-body .tag,
body[data-page="28"] main > .section.container > .grid > .card .tag {
  min-height: 24px;
  border-radius: 4px;
  background: #e8f2ea;
}
[data-studio-case-section] .card-body h3,
body[data-page="28"] main > .section.container > .grid > .card h3 {
  margin-bottom: 7px;
  font-size: 20px;
}
[data-studio-case-section] .card-body p,
body[data-page="28"] main > .section.container > .grid > .card p {
  margin-bottom: 7px;
}

body[data-page="28"] .page-head {
  padding-bottom: 30px;
}
body[data-page="28"] .tabs {
  min-height: 48px;
  padding: 0;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
body[data-page="28"] .tabs::-webkit-scrollbar { display: none; }
body[data-page="28"] .tab {
  min-width: 44px;
  min-height: 48px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
}
body[data-page="28"] .tab:hover { color: var(--green); background: #f5f8f5; }
body[data-page="28"] .tab:active { transform: scale(.97); }
body[data-page="28"] .tab.active {
  border-bottom-color: var(--green);
  background: transparent;
}

.studio-case-page-section {
  padding-top: 28px;
}

.studio-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.studio-case-grid.is-count-1 {
  width: min(720px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.studio-case-grid .studio-case-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-self: stretch;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.studio-case-grid .card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: contain !important;
  background: #f2f4f0 !important;
}

.studio-case-grid .card-body {
  min-width: 0;
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
}

.studio-case-grid .meta {
  margin: 12px 0 0;
}

.studio-case-primary {
  min-width: 0;
}

.studio-case-grid .studio-case-primary h3 {
  min-height: 49px;
  margin: 0;
  font-size: 18px;
  line-height: 1.36;
  overflow-wrap: anywhere;
}

.studio-case-price {
  margin-top: 5px;
  display: block;
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.studio-case-price.is-pending {
  color: var(--muted);
  font-size: 14px;
  line-height: 27px;
}

.studio-case-example-title {
  min-height: 38px;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.studio-case-grid .studio-case-description {
  min-height: 58px;
  margin: 10px 0 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.studio-case-commerce {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.studio-case-details {
  margin: 0;
  display: grid;
  gap: 7px;
}

.studio-case-details > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.studio-case-details dt,
.studio-case-details dd {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.studio-case-details dt {
  color: var(--muted);
  font-weight: 750;
}

.studio-case-details dd {
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.studio-case-link {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(6,70,41,.34);
  border-radius: 6px;
  background: #fffefa;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.studio-case-link:hover {
  border-color: var(--green);
  background: #f1f6f2;
}

.studio-case-link:active {
  background: #e8f0ea;
}

.studio-case-link:focus-visible {
  outline: 3px solid rgba(6,70,41,.2);
  outline-offset: 2px;
}

.studio-case-link.is-disabled {
  justify-content: center;
  border-color: var(--line);
  background: #f4f5f2;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .studio-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 24px;
  }
  .studio-case-grid .studio-case-primary h3,
  .studio-case-example-title,
  .studio-case-grid .studio-case-description { min-height: 0; }
}

@media (max-width: 680px) {
  .studio-case-grid {
    width: min(560px, 100%);
    margin-inline: auto;
    grid-template-columns: 1fr;
  }
}

body[data-page="28"] .logic-note.centered {
  padding: 30px 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}
body[data-page="28"] .logic-note.centered .btn {
  margin-top: 14px;
}

body[data-page="29"] .account-layout > div {
  min-width: 0;
}
body[data-page="29"] [data-case-submission-form] {
  max-width: 860px;
}
[data-case-upload] {
  min-height: 220px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
}
[data-case-upload].has-file {
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  justify-items: start;
  text-align: left;
}
[data-case-upload] [data-upload-thumb] {
  width: 100%;
  height: auto;
  max-height: 210px;
  aspect-ratio: 4 / 3;
  grid-row: 1 / 4;
  object-fit: cover;
  border-radius: 6px;
}
[data-case-upload] [data-upload-thumb][hidden] { display: none !important; }
body[data-page="29"] .check-row {
  min-height: 50px;
}
body[data-page="29"] [data-case-submit] {
  min-height: 50px;
}
body[data-page="14"] .artwork-list + .section {
  margin-top: 40px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
body[data-page="14"] .artwork-list + .section .section-title {
  align-items: center;
}
[data-case-media-shell] {
  width: 86px;
  height: 86px;
  border-radius: 6px;
}
.case-submission-actions {
  margin-left: auto;
  display: grid;
  justify-items: end;
  gap: 8px;
}
.case-submission-actions .text-link {
  min-height: 44px;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}
.case-public-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  color: var(--muted);
  background: #f2f4f0;
  font-size: 12px;
}
.case-public-image .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}
.case-customer-section .card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.case-customer-section .card-body { padding: 14px 0 0; }

@media (max-width: 900px) {
  [data-studio-case-section] .grid,
  body[data-page="28"] main > .section.container > .grid {
    grid-template-columns: 1fr;
  }
  body[data-page="28"] main > .section.container > .grid > .card:first-child {
    grid-column: auto;
  }
}

/* Unified wallpaper storefront and purchase flow. */
body[data-page="30"] main {
  min-height: 0;
}

.wallpaper-page {
  padding-top: 54px;
  padding-bottom: 60px;
}

.wallpaper-page-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.wallpaper-page-head .lead {
  max-width: 660px;
}

.wallpaper-mode-switch {
  width: min(520px, 100%);
  margin: 0 auto 42px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f5f1;
}

.wallpaper-mode-switch a {
  min-height: 48px;
  padding: 8px 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
}

.wallpaper-mode-switch a.is-active {
  color: var(--ink);
  background: white;
  box-shadow: 0 2px 10px rgba(9, 46, 32, .08);
}

.wallpaper-mode-switch a:active {
  transform: scale(.985);
  transition: transform .08s ease-out;
}

.wallpaper-mode-switch strong,
.wallpaper-mode-switch span {
  display: block;
}

.wallpaper-mode-switch strong {
  font-size: 15px;
}

.wallpaper-mode-switch span {
  margin-top: 2px;
  font-size: 12px;
}

.wallpaper-product-grid,
.home-ready-grid,
.home-custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wallpaper-product-card {
  min-width: 0;
  min-height: 100%;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: white;
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.wallpaper-product-card:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(6, 70, 41, .12);
}

.wallpaper-product-card.is-unavailable {
  background: #fafaf7;
}

.wallpaper-catalog-card {
  min-height: 0;
}

.wallpaper-catalog-link {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
}

.wallpaper-catalog-cover {
  min-width: 0;
  display: block;
  background: #f3f5f1;
}

.wallpaper-catalog-cover-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eef2ee;
}

.wallpaper-catalog-cover-media img {
  object-fit: cover;
}

.wallpaper-catalog-cover > small {
  min-height: 30px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f8faf7;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

.wallpaper-catalog-card .wallpaper-product-body {
  padding: 14px;
}

.wallpaper-catalog-title {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.3;
}

.wallpaper-catalog-card .wallpaper-card-summary {
  min-height: 40px;
  margin: 7px 0 12px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wallpaper-catalog-foot {
  min-width: 0;
  margin-top: auto;
  padding-top: 11px;
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
}

.wallpaper-catalog-foot b,
.wallpaper-catalog-foot em {
  min-width: 0;
  font-style: normal;
  line-height: 1.4;
}

.wallpaper-catalog-foot b {
  color: var(--ink);
  font-size: 11px;
}

.wallpaper-catalog-foot em {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.wallpaper-catalog-card .wallpaper-availability {
  min-height: 16px;
  margin-top: 5px;
  text-align: left;
  font-size: 9px;
}

.wallpaper-filter-shell {
  margin: -10px 0 24px;
}

.wallpaper-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wallpaper-filter-control {
  position: relative;
  z-index: 12;
}

.wallpaper-filter-trigger {
  min-height: 40px;
  padding: 0 10px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(6,70,41,.2);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
}

.wallpaper-filter-trigger:hover,
.wallpaper-filter-trigger[aria-expanded="true"] {
  border-color: rgba(6,70,41,.45);
  background: #f8faf7;
}

.wallpaper-filter-trigger:active {
  transform: scale(.98);
}

.wallpaper-filter-trigger:focus-visible,
.wallpaper-filter-option:focus-visible,
.wallpaper-active-filter-remove:focus-visible,
.wallpaper-filter-reset:focus-visible {
  outline: 3px solid rgba(6,70,41,.2);
  outline-offset: 2px;
}

.wallpaper-filter-trigger .icon {
  width: 16px;
  height: 16px;
}

.wallpaper-filter-trigger b {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green);
  background: var(--mint);
  font-size: 10px;
  line-height: 1;
}

.wallpaper-filter-popover {
  width: 224px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(6,70,41,.16);
  border-radius: 8px;
  background: rgba(255,255,252,.98);
  box-shadow: 0 16px 38px rgba(9,46,32,.14);
  backdrop-filter: blur(18px) saturate(150%);
  transform-origin: top left;
}

.wallpaper-filter-popover[hidden] {
  display: none;
}

.wallpaper-filter-option {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  color: #30493b;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
}

.wallpaper-filter-option:hover,
.wallpaper-filter-option.is-selected {
  color: var(--green);
  background: var(--mint);
}

.wallpaper-filter-option:active {
  transform: scale(.985);
}

.wallpaper-filter-option small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.wallpaper-filter-result-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.wallpaper-active-filter-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallpaper-active-filter-chip {
  min-height: 32px;
  padding: 0 3px 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(6,70,41,.2);
  border-radius: 16px;
  color: var(--green);
  background: var(--mint);
  font-size: 11px;
  font-weight: 780;
}

.wallpaper-active-filter-remove {
  width: 26px;
  height: 26px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  background: transparent;
  cursor: pointer;
}

.wallpaper-active-filter-remove:hover {
  background: rgba(6,70,41,.1);
}

.wallpaper-active-filter-remove .icon {
  width: 14px;
  height: 14px;
}

.wallpaper-filter-reset {
  min-height: 32px;
  padding: 0 3px;
  border: 0;
  color: var(--green);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ready-device-switch {
  width: min(100%, 260px);
  margin: -10px 0 28px;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1f4ef;
}

.ready-device-switch a {
  min-height: 42px;
  padding: 6px 12px;
  display: grid;
  place-content: center;
  color: var(--muted);
  border-radius: 6px;
  text-align: center;
}

.ready-device-switch a.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(9, 46, 32, .08);
}

.ready-device-switch a:active {
  transform: scale(.98);
  transition: transform .08s ease-out;
}

.ready-device-switch strong,
.ready-device-switch span {
  display: block;
}

.ready-device-switch strong {
  font-size: 13px;
}

.ready-device-switch span {
  margin-top: 1px;
  font-size: 10px;
}

.ready-gallery-section {
  padding-bottom: 88px;
}

.ready-gallery-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.ready-gallery-heading h2,
.ready-gallery-heading p {
  margin: 0;
}

.ready-gallery-heading h2 {
  font-size: 23px;
}

.ready-gallery-heading p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.ready-gallery-heading > strong {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 12px;
}

.ready-wallpaper-gallery {
  display: grid;
  gap: 14px;
}

.ready-wallpaper-gallery.is-mobile {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ready-wallpaper-gallery.is-desktop {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ready-gallery-item {
  min-width: 0;
}

.ready-gallery-select {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}

.ready-gallery-select:not(:disabled) {
  cursor: pointer;
}

.ready-gallery-select:not(:disabled):hover {
  transform: translateY(-2px);
  border-color: rgba(6, 70, 41, .5);
  box-shadow: 0 8px 20px rgba(6, 70, 41, .08);
}

.ready-gallery-select:focus-visible {
  outline: 3px solid rgba(6, 70, 41, .18);
  outline-offset: 2px;
}

.ready-gallery-item.is-chosen .ready-gallery-select {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.ready-gallery-media,
.ready-gallery-media .wallpaper-asset-shell {
  width: 100%;
  display: block;
}

.ready-gallery-item.is-mobile .ready-gallery-media .wallpaper-asset-shell {
  aspect-ratio: 9 / 19.5;
}

.ready-gallery-item.is-desktop .ready-gallery-media .wallpaper-asset-shell {
  aspect-ratio: 16 / 9;
}

.ready-gallery-media img {
  object-fit: cover;
}

.ready-gallery-copy {
  min-width: 0;
  padding: 10px 10px 11px;
  display: grid;
  align-content: start;
  gap: 3px;
}

.ready-gallery-copy strong,
.ready-gallery-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ready-gallery-copy strong {
  font-size: 12px;
}

.ready-gallery-copy small {
  color: var(--muted);
  font-size: 9px;
}

.ready-gallery-state {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 42px;
  min-height: 24px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: rgba(7, 34, 23, .7);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
}

.ready-gallery-item.is-chosen .ready-gallery-state {
  background: var(--green);
}

.wallpaper-asset-shell {
  position: relative;
  min-width: 0;
  display: block;
  overflow: hidden;
  color: #607168;
  background: #eef2ee;
}

.wallpaper-asset-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallpaper-asset-placeholder {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: grid;
  place-items: center;
  color: #617068;
  background:
    linear-gradient(135deg, rgba(255,255,255,.58), transparent 55%),
    #e8eee9;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.wallpaper-asset-placeholder[hidden] {
  display: none;
}

.wallpaper-product-mosaic {
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 96px 138px;
  gap: 1px;
  background: var(--line);
}

.wallpaper-product-mosaic .wallpaper-asset-shell {
  min-height: 0;
  background: #f4f5f1;
}

.wallpaper-product-mosaic .wallpaper-asset-shell img {
  object-fit: contain;
}

.ready-selector {
  min-width: 0;
  padding: 10px;
  background: #f4f6f2;
  border-bottom: 1px solid var(--line);
}

.ready-selector-main {
  min-width: 0;
  margin: 0;
}

.ready-selector-main [data-ready-main-content],
.ready-selector-main-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: #fff;
}

.ready-selector-main .wallpaper-asset-shell img {
  object-fit: contain;
}

.ready-selector-main figcaption {
  min-height: 28px;
  padding: 7px 2px 4px;
  color: var(--muted);
  font-size: 11px;
}

.ready-selector-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.ready-selector-thumb {
  position: relative;
  min-width: 0;
  min-height: 44px;
  padding: 2px;
  border: 1px solid #bcc7bf;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.ready-selector-thumb .wallpaper-asset-shell {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3px;
}

.ready-selector-thumb .wallpaper-asset-shell img {
  object-fit: contain;
}

.ready-selector-thumb.is-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(6, 70, 41, .14);
}

.ready-selector-thumb.is-chosen::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  box-shadow: 0 2px 7px rgba(13, 42, 28, .24);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.is-ready-product .wallpaper-product-body {
  padding: 16px 18px 18px;
}

.is-ready-product .wallpaper-card-summary {
  min-height: 60px;
  margin-bottom: 10px;
}

.ready-card-selection,
.ready-detail-selection {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.ready-card-selection strong,
.ready-detail-selection strong {
  color: var(--ink);
}

.ready-card-actions {
  min-width: 0;
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.ready-card-actions .btn {
  min-width: 0;
  min-height: 44px;
  padding-inline: 14px;
}

.ready-select-toggle.is-selected {
  color: var(--green);
  border-color: var(--green);
  background: #edf5ef;
}

.ready-card-foot {
  margin-top: 12px;
  padding-top: 10px;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.ready-card-foot span:last-child {
  color: var(--green);
  font-weight: 800;
}

.custom-card-actions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.custom-card-actions .btn {
  min-height: 44px;
}

.custom-card-actions .text-link {
  width: fit-content;
  font-size: 12px;
}

.wallpaper-card-model {
  width: fit-content;
  min-height: 0;
  margin: 0 0 12px;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--green);
  background: #edf5ef;
  font-size: 11px;
  font-weight: 800;
}

.wallpaper-product-body {
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.wallpaper-product-body h3 {
  font-size: 22px;
}

.wallpaper-card-summary {
  min-height: 72px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.wallpaper-type-tag {
  border-radius: 4px;
}

.wallpaper-card-facts {
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}

.wallpaper-card-facts > div {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.wallpaper-card-facts dt,
.wallpaper-card-facts dd {
  margin: 0;
  font-size: 12px;
}

.wallpaper-card-facts dt {
  color: var(--muted);
}

.wallpaper-card-facts dd {
  color: var(--ink);
  font-weight: 750;
  text-align: right;
}

.wallpaper-card-foot {
  min-height: 52px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallpaper-card-foot strong {
  color: var(--green);
  font-size: 20px;
}

.wallpaper-card-foot span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.wallpaper-product-card.is-unavailable .wallpaper-card-foot span {
  color: #8a5752;
}

.wallpaper-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.wallpaper-catalog-card.is-ready-product .wallpaper-product-body,
.wallpaper-catalog-card.is-custom-product .wallpaper-product-body {
  padding: 14px;
}

.wallpaper-catalog-card.is-ready-product .wallpaper-card-summary,
.wallpaper-catalog-card.is-custom-product .wallpaper-card-summary {
  min-height: 40px;
  margin: 7px 0 12px;
}

.wallpaper-back-link {
  min-height: 44px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.wallpaper-detail-toolbar {
  margin: -18px 0 28px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(360px, 560px) minmax(180px, 1fr);
  align-items: center;
}

.wallpaper-detail-toolbar .wallpaper-back-link {
  grid-column: 1;
}

.wallpaper-style-stepper {
  grid-column: 2;
  min-height: 58px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 116px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #f7f8f5;
}

.wallpaper-style-stepper > div {
  min-width: 0;
  padding: 9px 12px;
  display: grid;
  place-content: center;
  text-align: center;
}

.wallpaper-style-stepper > div span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.wallpaper-style-stepper > div strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallpaper-style-step {
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  background: white;
  font-size: 14px;
  font-weight: 850;
}

.wallpaper-style-step.is-next {
  flex-direction: row-reverse;
  text-align: right;
}

.wallpaper-style-step small {
  font-size: 10px;
  line-height: 1.3;
}

.wallpaper-style-step.is-disabled {
  color: #adb6b0;
  background: #f7f8f5;
}

.wallpaper-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(330px, .66fr);
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
}

.wallpaper-detail-gallery {
  min-width: 0;
  display: grid;
  gap: 26px;
}

.wallpaper-detail-gallery.is-ready-selector {
  gap: 0;
}

.wallpaper-detail-gallery.is-ready-selector .ready-selector {
  padding: 0;
  border: 0;
  background: transparent;
}

.wallpaper-detail-gallery.is-ready-selector .ready-selector-main figcaption {
  text-align: center;
}

.wallpaper-detail-gallery.is-ready-selector .ready-selector-strip {
  margin-top: 8px;
}

.custom-device-gallery {
  gap: 18px;
}

.custom-device-gallery-head {
  padding-bottom: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr);
  align-items: end;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.custom-device-gallery-head span,
.custom-device-gallery-head h2,
.custom-device-gallery-head p {
  margin: 0;
}

.custom-device-gallery-head span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.custom-device-gallery-head h2 {
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.3;
}

.custom-device-gallery-head p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.custom-device-sample-grid {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr);
  align-items: end;
  gap: 18px;
}

.custom-device-sample {
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 12px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f6f8f5;
}

.custom-device-frame {
  position: relative;
  min-width: 0;
  margin: auto;
}

.custom-device-sample.is-mobile .custom-device-frame {
  width: min(100%, 238px);
}

.custom-device-sample.is-mobile .custom-device-media {
  aspect-ratio: 9 / 19.5;
  border: 5px solid #16231d;
  border-radius: 24px;
  background: #16231d;
}

.custom-device-sample.is-desktop .custom-device-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 7px solid #16231d;
  border-radius: 7px;
  background: #16231d;
}

.custom-device-media img {
  object-fit: contain;
}

.custom-device-safe-zone {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px dashed rgba(255, 255, 255, .9);
  border-radius: 5px;
  background: rgba(7, 34, 23, .28);
  backdrop-filter: blur(3px);
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
}

.custom-device-sample.is-mobile .custom-device-safe-zone {
  top: 16px;
  left: 15px;
  right: 15px;
  height: 20%;
}

.custom-device-sample.is-desktop .custom-device-safe-zone {
  top: 15px;
  right: 15px;
  bottom: 15px;
  width: 29%;
}

.custom-device-sample figcaption {
  min-width: 0;
  padding: 11px 1px 1px;
}

.custom-device-sample figcaption span,
.custom-device-sample figcaption strong,
.custom-device-sample figcaption small {
  display: block;
}

.custom-device-sample figcaption strong {
  font-size: 14px;
}

.custom-device-sample figcaption small {
  margin-top: 2px;
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
}

.custom-device-sample figcaption p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.wallpaper-detail-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.wallpaper-detail-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.ready-selection-bar {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: 18px;
  width: min(760px, calc(100vw - 40px));
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(6, 70, 41, .25);
  border-radius: 8px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 14px 38px rgba(13, 42, 28, .18);
  transform: translateX(-50%);
}

.ready-selection-bar[hidden] {
  display: none;
}

.ready-selection-summary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

.ready-selection-summary span,
.ready-selection-summary strong,
.ready-selection-summary small {
  display: block;
}

.ready-selection-summary small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.ready-selection-summary b {
  color: var(--green);
  font-size: 21px;
  white-space: nowrap;
}

.ready-selection-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ready-selection-actions .btn {
  min-height: 44px;
  white-space: nowrap;
}

body:has(.ready-selection-bar:not([hidden])) main {
  padding-bottom: 92px;
}


.wallpaper-detail-focus {
  margin: 0;
}

.wallpaper-detail-focus-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
}

.wallpaper-detail-focus figcaption {
  padding-top: 9px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.wallpaper-format-heading {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallpaper-format-heading span {
  font-size: 18px;
  font-weight: 900;
}

.wallpaper-format-heading strong {
  color: var(--muted);
  font-size: 12px;
}

.wallpaper-detail-mobile,
.wallpaper-detail-desktop {
  display: grid;
  gap: 10px;
}

.wallpaper-detail-mobile,
.wallpaper-detail-desktop {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wallpaper-detail-thumb {
  min-width: 0;
  padding: 0;
  border: 1px solid #bac5bd;
  border-radius: 7px;
  overflow: hidden;
  background: #eef2ee;
  cursor: pointer;
}

.wallpaper-detail-thumb.is-selected {
  border: 2px solid var(--green);
  box-shadow: 0 0 0 3px rgba(6, 70, 41, .11);
}

.wallpaper-detail-thumb.is-mobile .wallpaper-asset-shell {
  aspect-ratio: 9 / 19.5;
}

.wallpaper-detail-thumb.is-desktop .wallpaper-asset-shell {
  aspect-ratio: 16 / 9;
}

.wallpaper-detail-thumb .wallpaper-asset-shell img {
  object-fit: contain;
}

.wallpaper-detail-copy {
  position: sticky;
  top: 100px;
  padding-top: 8px;
}

.wallpaper-detail-copy h1 {
  margin-top: 18px;
  font-size: 46px;
}

.wallpaper-detail-copy .lead {
  margin: 0 0 28px;
  font-size: 16px;
}

.wallpaper-detail-spec {
  margin-bottom: 22px;
  border-top: 1px solid var(--ink);
}

.wallpaper-detail-spec > div {
  min-height: 58px;
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.wallpaper-detail-spec span {
  color: var(--muted);
  font-size: 12px;
}

.wallpaper-detail-spec strong {
  font-size: 14px;
  text-align: right;
}

.wallpaper-bori-note,
.wallpaper-sample-note,
.wallpaper-availability {
  color: var(--muted);
  font-size: 12px;
}

.wallpaper-bori-note,
.wallpaper-sample-note {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  background: #f2f7f3;
}

.wallpaper-availability {
  margin: 9px 0 0;
  text-align: center;
}

.home-wallpaper-entrances {
  padding-top: 58px;
  padding-bottom: 26px;
}

.home-wallpaper-entrance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-wallpaper-entrance {
  min-width: 0;
  min-height: 214px;
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  transition: transform .12s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-wallpaper-entrance-image {
  min-height: 100%;
}

.home-wallpaper-entrance-image img {
  object-fit: cover;
}

.home-wallpaper-entrance-copy {
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-wallpaper-entrance-copy small {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}

.home-wallpaper-entrance-copy strong {
  margin-top: 7px;
  font-size: 24px;
  line-height: 1.2;
}

.home-wallpaper-entrance-copy span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.home-wallpaper-entrance-copy b {
  margin-top: 16px;
  color: var(--green);
  font-size: 13px;
}

.home-ready-wallpapers {
  padding-top: 54px;
  padding-bottom: 34px;
}

.home-wallpaper-desktop-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.home-wallpaper-mobile-link {
  display: none;
}

.home-ready-pricing {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.home-ready-pricing span + span::before {
  content: '';
  width: 1px;
  height: 12px;
  margin: 0 14px;
  display: inline-block;
  vertical-align: -2px;
  background: var(--line);
}

.home-ready-wallpapers .wallpaper-product-body,
.home-custom-wallpapers .wallpaper-product-body {
  padding: 16px;
}

.home-ready-wallpapers .wallpaper-card-summary,
.home-custom-wallpapers .wallpaper-card-summary {
  min-height: 40px;
}

.home-ready-wallpapers .wallpaper-card-facts,
.home-custom-wallpapers .wallpaper-card-facts {
  display: none;
}

.home-custom-wallpapers {
  padding-top: 54px;
  padding-bottom: 34px;
}

.home-weekly-free {
  padding-top: 54px;
  padding-bottom: 34px;
}

.weekly-free-band {
  min-height: 128px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7faf5;
}

.weekly-free-image {
  width: 156px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.weekly-free-band h3 {
  margin: 7px 0 4px;
}

.weekly-free-band p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.home-physical-entry {
  padding-top: 34px;
  padding-bottom: 64px;
}

.home-product-entry-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 16px; }
.home-product-entry-card {
  min-width: 0;
  min-height: 196px;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  border-radius: 7px;
  background: #fff;
}
.home-product-entry-card.is-primary { border-color: rgba(6,70,41,.2); background: #f8faf6; }
.home-product-entry-card.is-secondary { background: #fff; }
.home-product-entry-media { min-width: 0; background: #f1f3ef; }
.home-product-entry-media .card-image { height: 100%; min-height: 196px; aspect-ratio: auto; object-fit: cover; }
.home-product-entry-media .sample-note { right: 8px; bottom: 8px; left: 8px; text-align: center; }
.home-product-entry-copy { min-width: 0; padding: 22px; display: flex; flex-direction: column; }
.home-product-entry-copy .meta { justify-content: space-between; }
.home-product-entry-copy h3 { margin: 10px 0 6px; font-size: 20px; }
.home-product-entry-copy > p { margin-bottom: 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.home-product-model-note { display: none; margin-bottom: 10px; color: #52665b; font-size: 10px; font-weight: 700; }
.home-product-entry-action {
  min-width: 0;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.home-product-entry-action > strong { color: var(--green); font-size: 17px; white-space: nowrap; }
.home-product-entry-link { min-height: 44px; padding-inline: 10px; border-color: transparent; background: transparent; }
.home-product-entry-link:hover { border-color: rgba(6,70,41,.14); }
.home-product-entry-disabled { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; font-weight: 750; }

.custom-style-picker {
  width: min(1180px, calc(100% - var(--shell-gutter) - var(--shell-gutter)));
  margin: 0 auto 30px;
}

.custom-style-head {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.custom-style-head h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.custom-style-head p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.custom-style-head > span {
  color: var(--muted);
  font-size: 12px;
}

.custom-style-groups {
  margin: 0 0 16px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f6;
  scrollbar-width: none;
}

.custom-style-groups::-webkit-scrollbar {
  display: none;
}

.custom-style-groups > button {
  min-height: 40px;
  padding: 0 14px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #40564a;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .1s ease, color .14s ease, background-color .14s ease, box-shadow .14s ease;
}

.custom-style-groups > button:hover {
  color: var(--green);
  background: rgba(255,255,255,.8);
}

.custom-style-groups > button:active {
  transform: scale(.98);
}

.custom-style-groups > button:focus-visible {
  outline: 3px solid rgba(6,70,41,.2);
  outline-offset: 1px;
}

.custom-style-groups > button.is-selected {
  color: white;
  background: var(--green);
  box-shadow: 0 3px 10px rgba(6,70,41,.14);
}

.custom-style-group-label {
  margin: 0 0 9px;
  color: #40564a;
  font-size: 11px;
  font-weight: 760;
}

.custom-style-workspace {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}

.custom-style-choice-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.custom-style-choice {
  min-width: 0;
}

.custom-style-choice > button {
  width: 100%;
  min-width: 0;
  min-height: 84px;
  padding: 9px;
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: inherit;
  background: white;
  text-align: left;
  cursor: pointer;
  transition: transform .1s ease, border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}

.custom-style-choice > button:hover {
  border-color: rgba(6,70,41,.38);
  background: #f9fbf8;
}

.custom-style-choice > button:active {
  transform: scale(.985);
}

.custom-style-choice > button:focus-visible {
  outline: 3px solid rgba(6,70,41,.22);
  outline-offset: 2px;
}

.custom-style-choice > button:disabled {
  cursor: not-allowed;
}

.custom-style-choice.is-selected > button {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.custom-style-choice-image {
  width: 84px;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
}

.custom-style-choice-image img {
  object-fit: cover;
}

.custom-style-choice > button > span:not(.wallpaper-asset-shell) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.custom-style-choice strong,
.custom-style-choice small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-style-choice strong {
  font-size: 13px;
}

.custom-style-choice small {
  color: var(--muted);
  font-size: 10px;
}

.custom-style-choice > button > b {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 11px;
}

.custom-style-choice.is-selected > button > b {
  display: grid;
}

.custom-style-preview {
  min-width: 0;
  padding: 2px 0 2px 30px;
  border-left: 1px solid var(--line);
}

.custom-style-preview .custom-style-sample-head > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.custom-style-preview .custom-style-sample-head small {
  color: var(--muted);
  font-size: 10px;
}

.custom-style-preview-tabs {
  display: none;
}

.custom-style-preview-grid {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.custom-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.custom-style-option {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.custom-style-option.is-selected {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.custom-style-select {
  width: 100%;
  min-height: 126px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: center;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.custom-style-select:disabled {
  cursor: not-allowed;
}

.custom-style-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.custom-style-copy strong {
  margin-top: 9px;
  font-size: 21px;
}

.custom-style-copy small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.custom-style-copy b {
  padding-top: 9px;
  color: var(--green);
  font-size: 13px;
}

.custom-style-choice-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  background: #f5f6f3;
  font-weight: 900;
}

.custom-style-option.is-selected .custom-style-choice-mark {
  border-color: var(--green);
  color: white;
  background: var(--green);
}

.custom-style-samples {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: #fafbf8;
}

.custom-style-sample-head,
.custom-style-sample-group > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.custom-style-sample-head {
  margin-bottom: 14px;
}

.custom-style-sample-head strong {
  font-size: 12px;
}

.custom-style-preview-grid .custom-style-sample-group + .custom-style-sample-group { margin-top: 0; }

.custom-style-sample-group > span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.custom-style-mobile-set,
.custom-style-desktop-set {
  display: grid;
  gap: 7px;
}

.custom-style-mobile-set {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.custom-style-desktop-set {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.custom-style-desktop-set .wallpaper-asset-shell:first-child {
  grid-row: 1 / 3;
}

.custom-style-mobile-set .wallpaper-asset-shell {
  aspect-ratio: 9 / 19.5;
  border-radius: 5px;
}

.custom-style-desktop-set .wallpaper-asset-shell {
  aspect-ratio: 16 / 9;
  border-radius: 5px;
}

.custom-style-mobile-set img,
.custom-style-desktop-set img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-style-status {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.create-details {
  padding-bottom: 0;
}

.create-details > .btn {
  margin-top: 18px;
}

.selected-style-summary {
  margin-top: 18px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.selected-style-summary span {
  color: var(--muted);
  font-size: 12px;
}

.selected-style-summary strong {
  font-size: 14px;
}

.selected-style-summary b {
  color: var(--green);
  font-size: 13px;
}

.page-end-space {
  height: 70px;
}

.result-style-chip {
  width: max-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font-size: 12px;
}

.result-style-chip span {
  color: var(--muted);
}

.result-spark {
  color: var(--yellow);
}

.result-heart {
  color: var(--blue);
}

.result-price {
  color: var(--yellow);
}

.wallpaper-pack-summary {
  padding: 18px 0 72px;
}

.wallpaper-pack-summary > div:first-child {
  margin-bottom: 22px;
  text-align: center;
}

.wallpaper-pack-summary > div:first-child h2 {
  margin: 12px 0 6px;
}

.wallpaper-pack-summary > div:first-child p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
}

.wallpaper-pack-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.wallpaper-pack-facts > div {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.wallpaper-pack-facts > div:last-child {
  border-right: 0;
}

.wallpaper-pack-facts span,
.wallpaper-pack-facts strong {
  display: block;
}

.wallpaper-pack-facts span {
  color: var(--green-2);
  font-size: 11px;
  font-weight: 850;
}

.wallpaper-pack-facts strong {
  margin: 10px 0 5px;
  font-size: 22px;
}

.wallpaper-pack-facts p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.wallpaper-pack-facts .is-price {
  background: #f1f7f2;
}

.wallpaper-pack-cta {
  width: min(520px, 100%);
  min-height: 52px;
  margin: 22px auto 0;
  display: flex;
}

.digital-checkout-layout {
  align-items: start;
}

.checkout-payment-title {
  margin-top: 28px;
}

.checkout-digital-consent {
  margin-top: 24px;
}

.digital-order-summary {
  position: sticky;
  top: 92px;
}

.checkout-wallpaper-preview {
  margin: -4px -4px 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.checkout-preview-heading {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-mobile-files,
.checkout-desktop-files {
  display: grid;
  gap: 6px;
}

.checkout-mobile-files {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 7px;
}

.checkout-desktop-files {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-mobile-files .wallpaper-asset-shell {
  aspect-ratio: 9 / 19.5;
  border-radius: 5px;
}

.checkout-desktop-files .wallpaper-asset-shell {
  aspect-ratio: 16 / 9;
  border-radius: 5px;
}

.checkout-wallpaper-preview img {
  object-fit: contain;
}

.checkout-ready-files {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.checkout-ready-files figure {
  min-width: 0;
  margin: 0;
}

.checkout-ready-files .wallpaper-asset-shell {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
}

.checkout-ready-files figcaption {
  padding-top: 6px;
  display: grid;
  color: var(--muted);
  font-size: 10px;
}

.checkout-ready-files figcaption strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-actions {
  max-width: 760px;
  margin: 36px auto;
}

.delivery-progress-page {
  max-width: 1040px;
}

.delivery-progress-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 70, 41, .22);
  border-radius: 50%;
  background: #f0f6f2;
}

.delivery-progress-mark .slot-spinner {
  width: 26px;
  height: 26px;
}

.delivery-progress-page[data-fulfillment-state="failed"] .delivery-progress-mark .slot-spinner {
  animation: none;
  border-color: var(--coral);
  border-top-color: transparent;
}

.delivery-progress-panel {
  max-width: 760px;
  margin: 32px auto 42px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf7;
  text-align: left;
}

.delivery-progress-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.delivery-progress-copy div { display: grid; gap: 3px; }
.delivery-progress-copy strong { font-size: 18px; }
.delivery-progress-copy span,
.delivery-progress-panel > p { color: var(--muted); font-size: 13px; }
.delivery-progress-copy b { color: var(--green); font-size: 26px; line-height: 1; }
.delivery-progress-panel .generation-meter { margin-top: 16px; }
.delivery-progress-panel > p { margin: 14px 0 0; }
.delivery-progress-panel .delivery-error { color: #9f3029; }
.delivery-progress-panel .btn { margin-top: 16px; }

.delivery-awaiting-page .success-mark {
  margin-bottom: 20px;
}

.delivery-unlock-note,
.delivery-auto-download {
  max-width: 760px;
  margin: 28px auto 38px;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(6, 70, 41, .2);
  border-radius: 8px;
  background: #f2f7f3;
  color: var(--green);
  text-align: left;
}

.delivery-unlock-note {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.delivery-unlock-note strong,
.delivery-auto-download strong { font-size: 14px; }
.delivery-unlock-note span,
.delivery-auto-download span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.delivery-auto-download > div { display: grid; gap: 2px; }
.delivery-auto-download .slot-spinner { width: 20px; height: 20px; flex: none; }

.delivery-recovery {
  max-width: 760px;
  margin: 22px auto;
  padding: 20px;
  border: 1px solid rgba(159, 48, 41, .28);
  border-radius: 8px;
  background: #fff8f6;
  color: #7e2823;
  text-align: left;
}

.delivery-recovery p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.delivery-recovery .btn { margin-top: 14px; }

.delivery-locked-previews {
  padding-top: 34px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.delivery-locked-previews > div:first-child {
  max-width: 680px;
  margin-bottom: 20px;
}

.delivery-locked-previews h2 { margin-bottom: 5px; font-size: 24px; }
.delivery-locked-previews p { margin: 0; color: var(--muted); }
.delivery-preview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.delivery-preview {
  min-width: 0;
  margin: 0;
}

.delivery-preview img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: #eef2ee;
}

.delivery-preview.is-mobile img { aspect-ratio: 9 / 19.5; }
.delivery-preview.is-desktop img { aspect-ratio: 16 / 9; }
.delivery-preview figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; text-align: center; }

.delivery-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.delivery-file {
  min-width: 0;
  margin: 0;
  padding: 10px;
  display: grid;
  grid-template-rows: 218px auto 44px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.delivery-file-image {
  min-width: 0;
  height: 218px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #eef2ee;
  color: var(--muted);
  font-size: 12px;
}

.delivery-file-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.delivery-file figcaption {
  min-width: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}

.delivery-file figcaption > span { min-width: 0; display: grid; gap: 2px; }
.delivery-file figcaption strong { overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.delivery-file figcaption small { color: var(--muted); font-size: 10px; }
.delivery-file-state { flex: none; padding: 4px 7px; border-radius: 999px; background: #f0f2ef; color: var(--muted); font-size: 10px; font-weight: 800; line-height: 1.2; }
.delivery-file-state.is-active { background: #e6f1e9; color: var(--green); }
.delivery-file-state.is-complete { background: var(--mint); color: var(--green); }
.delivery-file-state.is-failed { background: #fff0ed; color: #9f3029; }
.delivery-file-action { width: 100%; min-height: 44px; align-self: end; padding: 9px 10px; }
.delivery-file-action.is-progress:disabled { border-color: transparent; background: #f0f3f0; color: var(--muted); cursor: wait; opacity: 1; }

.download-custom-upgrade {
  max-width: 760px;
  margin: 0 auto 30px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.download-custom-upgrade h2 {
  font-size: 24px;
}

.download-custom-upgrade p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.mypage-content {
  min-width: 0;
  display: grid;
  gap: 54px;
}

.mypage-library + .mypage-library {
  padding-top: 48px;
  border-top: 1px solid var(--ink);
}

.mypage-section-head {
  margin-bottom: 18px;
}

.mypage-section-head h2 {
  margin-bottom: 5px;
}

.mypage-section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.ready-purchase-pack .wallpaper-asset-shell {
  width: 100%;
  height: 100%;
}

.ready-purchase-pack .wallpaper-asset-shell img {
  object-fit: contain;
}

.ready-purchase-pack > .wallpaper-availability {
  padding: 0 18px 14px;
  text-align: right;
}

.ready-order-files,
.ready-download-files {
  padding: 0 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ready-order-files figure,
.ready-download-files figure {
  min-width: 0;
  margin: 0;
}

.ready-order-files .artwork-preview-trigger,
.ready-download-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #f4f5f1;
}

.ready-order-files .wallpaper-asset-shell,
.ready-download-image .wallpaper-asset-shell {
  width: 100%;
  height: 100%;
}

.ready-order-files .wallpaper-asset-shell img,
.ready-download-image .wallpaper-asset-shell img {
  object-fit: contain;
}

.ready-order-files .artwork-file-actions figcaption {
  min-width: 0;
  display: grid;
}

.ready-order-files .artwork-file-actions figcaption strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ready-order-files .artwork-file-actions figcaption span {
  color: var(--muted);
  font-size: 10px;
}

.ready-download-files {
  max-width: 900px;
  margin: 30px auto;
  padding: 0;
  text-align: left;
}

.ready-download-files figcaption {
  padding-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ready-download-files figcaption > span {
  min-width: 0;
  display: grid;
}

.ready-download-files figcaption strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ready-download-files figcaption small {
  color: var(--muted);
}

.ready-download-files .btn {
  min-height: 44px;
  flex: 0 0 auto;
}

@media (hover: hover) and (pointer: fine) {
  .wallpaper-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 70, 41, .34);
    box-shadow: 0 14px 34px rgba(6, 70, 41, .09);
  }

  .wallpaper-detail-thumb:hover {
    border-color: var(--green);
  }

  .home-wallpaper-entrance:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 70, 41, .34);
    box-shadow: 0 14px 34px rgba(6, 70, 41, .09);
  }
}

@media (max-width: 1100px) {
  .desktop-create-photo-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    gap: 22px;
  }

  .desktop-create-style-step > .custom-style-picker .custom-style-head {
    margin: 0 0 16px;
  }

  .desktop-create-style-step .custom-style-workspace {
    grid-template-columns: 1fr;
  }

  .desktop-create-style-step .custom-style-preview.is-single {
    min-height: 0;
  }

  .wallpaper-product-grid,
  .home-ready-grid,
  .home-custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-wallpaper-entrance {
    grid-template-columns: 1fr;
  }

  .home-wallpaper-entrance-image {
    min-height: 160px;
    aspect-ratio: 16 / 8;
  }

  .wallpaper-detail-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
  }

  .custom-style-select {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .custom-style-workspace {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .custom-style-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .custom-style-preview {
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 800px) {
  .desktop-create-photo-grid {
    grid-template-columns: 1fr;
  }

  .desktop-create-target-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .desktop-create-submit {
    grid-template-columns: 1fr;
  }

  .wallpaper-detail-layout {
    grid-template-columns: 1fr;
  }

  .wallpaper-detail-copy,
  .digital-order-summary {
    position: static;
  }

  .custom-style-grid,
  .wallpaper-product-grid,
  .home-ready-grid,
  .home-custom-grid,
  .home-wallpaper-entrance-grid {
    grid-template-columns: 1fr;
  }

  .custom-style-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-style-preview-grid {
    grid-template-columns: 1fr;
  }

  .custom-device-gallery-head,
  .custom-device-sample-grid {
    grid-template-columns: 1fr;
  }

  .weekly-free-band {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .weekly-free-image {
    width: 120px;
  }

  .weekly-free-band .btn {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wallpaper-product-card,
  .wallpaper-detail-thumb {
    transition: none;
  }

  .wallpaper-product-card:hover {
    transform: none;
  }

  .home-wallpaper-entrance {
    transition: none;
  }
}

/* Persistent AI generation feedback: compact, non-blocking, and below the artwork hierarchy. */
.generation-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 96;
  width: 312px;
  min-height: 68px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(6, 70, 41, .2);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 254, 250, .96);
  box-shadow: 0 14px 36px rgba(13, 42, 28, .16);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  letter-spacing: 0;
  transition: bottom .2s ease, box-shadow .2s ease, transform .1s ease;
}

.generation-dock[hidden] { display: none; }
.generation-dock:hover { box-shadow: 0 18px 42px rgba(13, 42, 28, .2); }
.generation-dock:active { transform: scale(.985); }
.generation-dock.has-bottom-obstacle { bottom: 108px; }
.generation-dock.is-toast-offset { bottom: 88px; }
.generation-dock.has-bottom-obstacle.is-toast-offset { bottom: 160px; }
.generation-dock-spinner {
  width: 28px;
  height: 28px;
  display: block;
  border: 2px solid rgba(6, 70, 41, .16);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: slot-spin .9s linear infinite;
}
.generation-dock-copy { min-width: 0; display: grid; gap: 2px; }
.generation-dock-copy strong { overflow: hidden; font-size: 13px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.generation-dock-copy small { color: var(--muted); font-size: 11px; line-height: 1.3; }
.generation-dock-meter { height: 3px; margin-top: 3px; overflow: hidden; border-radius: 99px; background: #dce5df; }
.generation-dock-meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .3s ease; }
.generation-dock-arrow { color: var(--green); font-size: 24px; line-height: 1; }
.generation-dock.is-failed { border-color: rgba(207, 78, 71, .36); background: rgba(255, 248, 246, .98); }
.generation-dock.is-failed .generation-dock-spinner { animation: none; border-color: rgba(207, 78, 71, .28); border-top-color: #cf4e47; }
.generation-dock.is-failed .generation-dock-meter i { background: #cf4e47; }
.generation-dock.is-failed .generation-dock-arrow { color: #a83f39; }

.desktop-thumb-card { min-width: 0; }
.desktop-thumb-card .slot-reroll { min-height: 44px; }
.desktop-thumb-card .reroll-label-full { display: none; }
.desktop-thumb-card .reroll-label-short { display: inline; }
.slot-reroll.is-quality-correction { border-color: rgba(207, 78, 71, .38); color: #a83f39; background: #fff7f5; }
.slot-reroll.is-quality-correction:hover { border-color: #cf4e47; background: #fff1ee; }

.result-followup { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.result-followup-head .eyebrow { margin-bottom: 4px; }
.result-followup-head h2 { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: 0; }
.result-followup .result-support-grid { margin-top: 16px; }

@media (max-width: 620px) {
  .generation-dock {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
    min-height: 64px;
  }
  .generation-dock.has-bottom-obstacle { bottom: calc(122px + env(safe-area-inset-bottom)); }
  .generation-dock.is-toast-offset { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .generation-dock.has-bottom-obstacle.is-toast-offset { bottom: calc(174px + env(safe-area-inset-bottom)); }
  .result-followup { margin-top: 32px; padding-top: 20px; }
  .result-followup-head h2 { font-size: 19px; }
  .delivery-progress-panel { margin: 24px auto 32px; padding: 18px 16px; }
  .delivery-progress-copy { align-items: flex-start; }
  .delivery-progress-copy strong { font-size: 16px; }
  .delivery-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .delivery-preview.is-desktop { grid-column: span 1; }
  .delivery-file-grid { grid-template-columns: 1fr; }
  .delivery-file { grid-template-rows: 230px auto 44px; }
  .delivery-file-image { height: 230px; }
  .delivery-unlock-note,
  .delivery-auto-download { margin: 22px auto 28px; }
}

@media (min-width: 901px) {
  body[data-page="20"] .physical-family-variant-list small { display: none; }
  body[data-page="20"] .physical-family-variant-list .summary-row > span { gap: 0; }
}

@media (max-width: 900px) {
  .store-category-architecture { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .physical-family-card,
  .cushion-product-layout { grid-template-columns: 1fr; }
  .physical-family-media .split-media { min-height: 380px; }
  .physical-family-copy { padding: 34px; }
  .cushion-variant-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .store-secondary-grid,
  .home-product-entry-grid { grid-template-columns: 1fr; }
  .store-launch-grid { grid-template-columns: 1fr; }
  .store-launch-card { grid-template-columns: 190px minmax(0, 1fr); }
  .store-roadmap-grid { grid-template-columns: 1fr; }
  .store-roadmap-card { grid-template-columns: 190px minmax(0, 1fr); }
  .expansion-product-hero { grid-template-columns: 1fr; }
  .expansion-product-media.is-placeholder { min-height: 360px; }
}

@media (max-width: 620px) {
  .store-category-navigation-head { align-items: baseline; }
  .store-category-navigation-head span { font-size: 11px; }
  .store-category-architecture { gap: 8px; }
  .store-category-architecture a { min-height: 74px; padding: 10px; grid-template-columns: 34px minmax(0, 1fr); column-gap: 9px; }
  .store-category-icon { width: 34px; height: 34px; }
  .store-category-icon .icon { width: 18px; height: 18px; }
  .store-category-arrow { display: none; }
  .store-category-architecture strong { font-size: 12px; }
  .store-category-architecture small { font-size: 10px; }
  .physical-store-section { padding-top: 8px; }
  .physical-family-media .split-media { min-height: 280px; }
  .physical-family-copy { padding: 24px 18px; }
  .physical-family-action { align-items: stretch; flex-direction: column; }
  .physical-family-action .btn { width: 100%; }
  .store-secondary-card { min-height: 0; grid-template-columns: 1fr; }
  .store-secondary-media .card-image { min-height: 0; aspect-ratio: 4 / 3; }
  .store-secondary-copy { padding: 22px 18px; }
  .store-secondary-action { align-items: stretch; flex-direction: column; }
  .store-secondary-link { width: 100%; }
  .store-launch-card { min-height: 224px; grid-template-columns: 112px minmax(0, 1fr); }
  .store-launch-media, .store-launch-media .card-image { min-height: 222px; }
  .store-launch-media .sample-note { display: none; }
  .store-launch-card .card-body { padding: 16px 14px; }
  .store-launch-card .meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .store-launch-card h3 { margin-top: 9px; font-size: 17px; }
  .store-launch-card .card-body > p { font-size: 12px; }
  .store-launch-actions { align-items: stretch; flex-direction: column; }
  .store-launch-actions .btn { width: 100%; }
  .store-next-categories .section-title { align-items: flex-start; flex-direction: column; }
  .store-roadmap-groups { gap: 28px; }
  .store-roadmap-group-head { align-items: flex-start; flex-direction: column; gap: 2px; padding-bottom: 10px; }
  .store-roadmap-group-head h3 { font-size: 17px; }
  .store-roadmap-grid { grid-template-columns: 1fr; }
  .store-roadmap-card { min-height: 220px; grid-template-columns: 112px minmax(0, 1fr); }
  .store-roadmap-media, .store-roadmap-media .card-image { min-height: 218px; }
  .store-roadmap-media .sample-note { display: none; }
  .store-roadmap-card .card-body { padding: 16px 14px; }
  .store-roadmap-card .meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .store-roadmap-status { text-align: left; }
  .store-roadmap-card h3 { margin-top: 9px; font-size: 17px; }
  .store-roadmap-card .card-body > p { font-size: 12px; }
  .store-roadmap-gate strong { font-size: 12px; }
  .store-roadmap-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .store-roadmap-message { min-height: 220px; padding: 24px 16px; }
  .expansion-product-message { min-height: 340px; padding: 56px 18px; }
  .expansion-product-hero { gap: 24px; padding: 24px 0 48px; }
  .expansion-product-media.is-placeholder { min-height: 260px; }
  .expansion-product-copy h1 { margin-top: 14px; font-size: 34px; }
  .expansion-product-price { align-items: flex-start; flex-direction: column; gap: 5px; }
  .expansion-product-price span { text-align: left; }
  .expansion-product-actions { justify-content: stretch; }
  .expansion-product-actions .btn { width: 100%; }
  .expansion-variant-row { grid-template-columns: 1fr; gap: 12px; }
  .expansion-variant-row > div:last-child { justify-items: start; }
  .expansion-product-related { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cushion-selected-summary { align-items: flex-start; flex-direction: column; }
  .cushion-selected-summary > div:last-child { justify-items: start; }
  .cushion-variant-grid { grid-template-columns: 1fr; }
  .cushion-variant-choice { min-height: 104px; }
  body[data-page="21"] [data-studio-case-section] .grid-3 { grid-template-columns: 1fr; }
  .related-product-row { min-height: 122px; grid-template-columns: 116px minmax(0,1fr); gap: 12px; }
  .home-physical-entry { padding-top: 24px; padding-bottom: 48px; }
  .home-physical-entry .section-title { align-items: flex-start; flex-direction: column; }
  .home-product-entry-card { min-height: 0; grid-template-columns: 108px minmax(0, 1fr); }
  .home-product-entry-media .card-image { min-height: 100%; }
  .home-product-entry-media .sample-note { display: none; }
  .home-product-model-note { display: block; }
  .home-product-entry-copy { padding: 16px 14px; }
  .home-product-entry-copy .meta { align-items: flex-start; flex-direction: column; }
  .home-product-entry-copy h3 { font-size: 18px; }
  .home-product-entry-action { align-items: stretch; flex-direction: column; }
  .home-product-entry-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .store-category-architecture a { transition: none; }
  .studio-case-link { transition: none; }
  .generation-dock,
  .generation-dock-meter i,
  .generation-meter span { transition: none; }
  .generation-dock-spinner { animation: none; border-color: rgba(6,70,41,.3); border-top-color: var(--green); }
  .delivery-progress-mark .slot-spinner,
  .delivery-auto-download .slot-spinner { animation: none; border-color: rgba(6,70,41,.3); border-top-color: var(--green); }
}

@media (prefers-reduced-transparency: reduce) {
  .generation-dock { background: #fffefa; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* PC custom wallpaper: upload first, then target and style. */
.desktop-create-page .page-head {
  padding: 48px 0 28px;
  text-align: left;
}

.desktop-create-page .page-head h1 {
  font-size: clamp(38px, 3.5vw, 50px);
}

.desktop-create-page .page-head .lead {
  max-width: 720px;
  margin-left: 0;
}

.desktop-create-photo,
.desktop-create-target,
.desktop-create-style-step {
  padding-top: 28px;
  padding-bottom: 34px;
  border-top: 1px solid var(--ink);
}

.desktop-create-step-head {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.desktop-create-step-head > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.desktop-create-step-head h2 {
  margin: 0;
  font-size: 25px;
}

.desktop-create-step-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.desktop-create-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: stretch;
  gap: 32px;
}

.desktop-create-photo .upload-zone {
  min-height: 284px;
}

.desktop-create-photo-fields {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.desktop-create-options {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.desktop-create-options summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.desktop-create-options summary::marker {
  color: var(--green);
}

.desktop-create-options .form-grid {
  padding: 0 0 18px;
}

.desktop-create-help {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.desktop-create-target-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.desktop-create-target-head .wallpaper-daily-quota {
  flex: 0 0 220px;
}

.desktop-create-target .wallpaper-target-choice {
  min-height: 92px;
}

.desktop-create-style-step {
  padding-bottom: 24px;
}

.desktop-create-style-step > .custom-style-picker {
  width: 100%;
  margin-bottom: 0;
}

.desktop-create-style-step > .custom-style-picker .custom-style-head {
  min-height: 20px;
  margin: -48px 0 18px;
  justify-content: flex-end;
}

.desktop-create-style-step > .custom-style-picker .custom-style-head > div {
  display: none;
}

.desktop-create-style-step .custom-style-workspace {
  grid-template-columns: 420px minmax(0, 1fr);
}

.desktop-create-style-step .custom-style-preview.is-single {
  min-height: 420px;
}

.custom-style-single-sample {
  margin: 0;
}

.custom-style-single-sample .wallpaper-asset-shell {
  width: 100%;
  overflow: hidden;
  border-radius: 7px;
  background: #eef1ed;
}

.custom-style-single-sample.is-mobile .wallpaper-asset-shell {
  width: min(286px, 100%);
  margin-inline: auto;
  aspect-ratio: 1080 / 2340;
}

.custom-style-single-sample.is-desktop .wallpaper-asset-shell {
  aspect-ratio: 16 / 9;
}

.custom-style-single-sample .wallpaper-asset-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.custom-style-single-sample figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.desktop-create-submit {
  margin-top: -8px;
  padding-top: 16px;
  padding-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.desktop-create-submit .selected-style-summary {
  margin: 0;
  padding: 0;
  border: 0;
}

.desktop-create-submit .btn {
  min-height: 52px;
}

/* Legacy single-target styles retained for older result routes. */
.create-single-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: end;
  padding-top: 20px;
  padding-bottom: 48px;
}
.create-single-intro h2,
.create-single-intro p { margin: 0; }
.create-single-intro h2 { margin-top: 6px; font-size: 30px; }
.create-single-intro > div:first-child > p:last-child { margin-top: 10px; color: var(--muted); }
.wallpaper-target-picker {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wallpaper-target-choice {
  min-height: 112px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  color: var(--ink);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.wallpaper-target-choice:hover { border-color: rgba(6,70,41,.55); }
.wallpaper-target-choice.is-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
  background: #f3f8f4;
}
.wallpaper-target-choice strong,
.wallpaper-target-choice small { display: block; }
.wallpaper-target-choice strong { font-size: 18px; }
.wallpaper-target-choice small { margin-top: 5px; color: var(--muted); }
.wallpaper-target-choice > b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  opacity: 0;
}
.wallpaper-target-choice.is-selected > b { opacity: 1; }
.wallpaper-target-icon {
  position: relative;
  display: block;
  margin: auto;
  border: 2px solid currentColor;
  color: var(--green);
}
.wallpaper-target-icon.is-mobile { width: 22px; height: 42px; border-radius: 5px; }
.wallpaper-target-icon.is-mobile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}
.wallpaper-target-icon.is-desktop { width: 44px; height: 28px; border-radius: 3px; }
.wallpaper-target-icon.is-desktop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 20px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%);
}
.wallpaper-daily-quota {
  min-width: 220px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.wallpaper-daily-quota span { font-size: 13px; color: var(--muted); }
.wallpaper-daily-quota strong { grid-row: span 2; font-size: 25px; color: var(--green); }
.wallpaper-daily-quota strong small { font-size: 13px; }
.wallpaper-daily-quota em { font-size: 11px; font-style: normal; color: var(--muted); }
.wallpaper-daily-quota.is-compact { min-width: 0; }
.create-section-label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.create-section-label > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}
.create-section-label h2,
.create-section-label p { margin: 0; }
.create-section-label p { margin-top: 4px; color: var(--muted); }
.single-wallpaper-result { padding-top: 34px; }
.single-wallpaper-result .result-title { max-width: 920px; margin-inline: auto; text-align: center; }
.result-context-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.result-style-chip {
  min-width: 180px;
  padding: 11px 15px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.result-style-chip span,
.result-style-chip strong { display: block; }
.result-style-chip span { font-size: 11px; color: var(--muted); }
.result-style-chip strong { margin-top: 3px; }
.single-result-stage {
  max-width: 1120px;
  margin: 34px auto 0;
}
.single-result-media {
  width: min(100%, 1040px);
  margin-inline: auto;
}
.single-result-stage.is-mobile .single-result-media { width: min(100%, 430px); }
.watermarked-wallpaper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef1ed;
}
.watermarked-wallpaper.is-mobile { aspect-ratio: 1080 / 2340; }
.watermarked-wallpaper.is-desktop { aspect-ratio: 16 / 9; }
.watermarked-wallpaper > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.watermark-layer {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: space-around;
  pointer-events: none;
  overflow: hidden;
}
.watermark-layer span {
  color: rgba(255,255,255,.62);
  font-size: clamp(12px, 1.4vw, 20px);
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.28);
  transform: rotate(-24deg);
}
.watermark-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(6,70,41,.88);
}
.single-result-file-meta {
  margin-top: 10px;
  display: grid;
  gap: 2px;
  color: var(--muted);
  text-align: center;
}
.single-result-file-meta strong {
  color: var(--ink);
  font-size: 12px;
}
.single-result-file-meta span {
  font-size: 10px;
}
.single-result-actions,
.single-result-actions + .result-save-row {
  max-width: 1040px;
  margin: 14px auto 0;
}
.single-result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.single-result-actions p { margin: 0; font-size: 12px; color: var(--muted); }
.single-result-purchase { max-width: 1120px; margin: 26px auto 0; }
.single-delivery-page {
  max-width: 980px;
}
.single-delivery-page .single-delivery-file {
  width: min(100%, 860px);
  margin: 28px auto 0;
}
.single-delivery-page .single-delivery-file.is-mobile {
  width: min(100%, 410px);
}
.single-delivery-page .single-delivery-start {
  max-width: 680px;
  margin: 20px auto 0;
}
.artwork-pack-single .artwork-format {
  max-width: 920px;
}
.artwork-single-set {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.artwork-pack-single .artwork-mobile-set.artwork-single-set {
  max-width: 360px;
}
.artwork-pack-single .artwork-desktop-set.artwork-single-set {
  max-width: 820px;
}

/* Desktop commerce: one clear start action for live products, no simulated flow for roadmap items. */
@media (min-width: 761px) {
  .desktop-store-catalog { padding-top: 18px; padding-bottom: 78px; }
  .desktop-store-intro { max-width: 680px; margin: 0 auto 32px; text-align: center; }
  .desktop-store-intro .eyebrow { margin-bottom: 8px; }
  .desktop-store-intro h1 { margin: 0; color: var(--ink); font-size: clamp(34px, 3.4vw, 48px); line-height: 1.1; }
  .desktop-store-intro p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
  .desktop-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .desktop-catalog-card { min-width: 0; display: grid; grid-template-columns: minmax(230px, .88fr) minmax(0, 1.12fr); overflow: hidden; border: 1px solid rgba(6,70,41,.18); border-radius: 8px; background: #fff; }
  .desktop-catalog-card.is-coming-soon { border-color: var(--line); background: #fafbf8; }
  .desktop-catalog-media { min-width: 0; min-height: 340px; background: #edf1ed; }
  .desktop-catalog-media .card-image { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
  .desktop-catalog-copy { min-width: 0; padding: 28px; display: flex; flex-direction: column; }
  .desktop-catalog-copy .meta { align-items: center; justify-content: space-between; gap: 10px; }
  .desktop-catalog-copy h2 { margin: 22px 0 10px; color: var(--ink); font-size: 28px; line-height: 1.2; }
  .desktop-catalog-copy > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
  .desktop-catalog-commerce,
  .desktop-catalog-roadmap { margin-top: auto; padding-top: 20px; display: flex; align-items: end; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
  .desktop-catalog-commerce > div { display: grid; gap: 3px; }
  .desktop-catalog-commerce strong { color: var(--green); font-size: 22px; line-height: 1.1; }
  .desktop-catalog-commerce small { color: var(--muted); font-size: 12px; font-weight: 700; }
  .desktop-catalog-commerce .btn { min-width: 174px; min-height: 46px; }
  .desktop-catalog-roadmap { align-items: flex-start; display: grid; gap: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
  .desktop-catalog-roadmap strong { color: var(--ink); font-size: 14px; }
  .desktop-catalog-empty { min-height: 260px; padding: 32px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); color: var(--muted); text-align: center; }
  .desktop-catalog-empty strong { color: var(--ink); font-size: 17px; }

  .desktop-product-flow .cushion-family-lead { max-width: 480px; }
  .desktop-product-flow .option { padding-block: 17px; }
  .desktop-product-flow .desktop-preview-source { margin-top: 0; }
  .desktop-preview-action { margin-top: 6px; }
  .desktop-preview-action .btn { min-height: 52px; }
  .desktop-preview-action .product-preview-status { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
  .desktop-secondary-options { opacity: .9; }
  .config-photo-product-layout .product-info { min-width: 0; }
  .config-photo-variant-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 10px; }
  .config-photo-variant { min-height: 74px; display: grid; align-content: center; gap: 5px; text-align: left; }
  .config-photo-variant strong { color: var(--ink); font-size: 14px; }
  .config-photo-variant span { color: var(--muted); font-size: 12px; }
  .config-photo-variant.active { border-color: var(--green); background: #f2f7f2; box-shadow: inset 0 0 0 1px var(--green); }
  .config-photo-product-placeholder { min-height: 520px; display: grid; place-content: center; gap: 8px; padding: 32px; border: 1px solid var(--line); background: #f3f5f1; color: var(--muted); text-align: center; }
  .config-photo-product-placeholder [data-gallery-main] { display: none; }
  .config-photo-product-placeholder:has([data-gallery-main] img:not([hidden])) { display: block; padding: 0; background: #f3f5f1; }
  .config-photo-product-placeholder:has([data-gallery-main] img:not([hidden])) [data-gallery-main] { display: block; height: 520px; }
  .config-photo-product-placeholder:has([data-gallery-main] img:not([hidden])) img { width: 100%; height: 100%; object-fit: contain; }
  .config-photo-product-placeholder:has([data-gallery-main] img:not([hidden])) > span,
  .config-photo-product-placeholder:has([data-gallery-main] img:not([hidden])) > strong,
  .config-photo-product-placeholder:has([data-gallery-main] img:not([hidden])) > small { display: none; }

  .felt-roadmap-page { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr); gap: 54px; align-items: center; padding-block: 48px 82px; }
  .felt-roadmap-media { min-height: 520px; background: #eef1ed; }
  .felt-roadmap-media .card-image { width: 100%; min-height: 520px; object-fit: cover; }
  .felt-roadmap-copy { min-width: 0; }
  .felt-roadmap-copy .meta { align-items: center; justify-content: space-between; }
  .felt-roadmap-copy h1 { margin: 20px 0 14px; color: var(--ink); font-size: clamp(38px, 4vw, 54px); line-height: 1.1; }
  .felt-roadmap-copy .lead { max-width: 500px; margin: 0; }
  .felt-roadmap-notice { margin-top: 28px; padding: 18px 20px; border-left: 3px solid #9cad9f; background: #f3f6f2; }
  .felt-roadmap-notice strong { color: var(--ink); font-size: 16px; }
  .felt-roadmap-notice p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
  .felt-roadmap-specs { margin: 26px 0 0; border-top: 1px solid var(--line); }
  .felt-roadmap-specs > div { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .felt-roadmap-specs dt { color: var(--muted); font-size: 12px; font-weight: 750; }
  .felt-roadmap-specs dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .desktop-catalog-card { grid-template-columns: 1fr; }
  .desktop-catalog-media,
  .desktop-catalog-media .card-image { min-height: 250px; }
  .felt-roadmap-page { grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 34px; }
  .felt-roadmap-media,
  .felt-roadmap-media .card-image { min-height: 410px; }
}

@media (max-width: 760px) {
  .create-single-intro { grid-template-columns: 1fr; gap: 20px; }
  .wallpaper-target-picker { grid-column: auto; grid-template-columns: 1fr; }
  .wallpaper-daily-quota { width: 100%; }
  .result-context-row { display: grid; grid-template-columns: 1fr; }
  .single-result-actions { align-items: stretch; flex-direction: column; }
  .single-result-actions .btn { width: 100%; }
  .single-delivery-page .single-delivery-start { width: 100%; }
}
