@font-face {
  font-family: "Zen Maru Gothic";
  src: url("./assets/fonts/ZenMaruGothic-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("./assets/fonts/ZenMaruGothic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("./assets/fonts/ZenMaruGothic-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("./assets/fonts/ZenMaruGothic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("./assets/fonts/ZenMaruGothic-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #251817;
  --muted: #756966;
  --line: #eaded4;
  --paper: #fffaf2;
  --soft: #fff1df;
  --peach: #ee95b2;
  --peach-deep: #d86f92;
  --leaf: #8fbd3f;
  --leaf-deep: #5f8c28;
  --grape: #a6c94a;
  --cream: #fff6e7;
  --gold: #e7bd66;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(85, 56, 35, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#products,
#destinations,
#payment,
#summary-title,
.product-category {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffefd 0, var(--paper) 340px),
    var(--paper);
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 8px clamp(18px, 4vw, 48px);
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: clamp(64px, 6vw, 82px);
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-nav {
  display: flex;
  gap: 18px;
}

.header-nav a {
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  font-weight: 700;
}

#cartCount {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  place-items: center;
  color: var(--white);
  background: var(--peach-deep);
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--ink);
  background: transparent;
  border-color: var(--peach-deep);
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.02)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0) 44%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 10vh, 96px) clamp(18px, 7vw, 92px);
  color: var(--white);
}

.hero-copy h1 {
  max-width: 860px;
  margin: 8px 0 18px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 26px;
  font-size: clamp(16px, 2vw, 19px);
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--white);
}

.section-kicker {
  color: var(--peach);
}

.primary-link,
.primary-button,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--leaf-deep);
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.secondary-link {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--white);
}

.primary-link:hover,
.primary-button:hover {
  background: #4f7721;
}

.primary-button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.secondary-link:hover {
  color: var(--ink);
  background: var(--white);
}

.section {
  padding: 64px clamp(18px, 4vw, 48px) 28px;
}

.gallery-section {
  padding: clamp(46px, 6vw, 92px) clamp(28px, 4vw, 74px) clamp(64px, 8vw, 112px);
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 24px;
}

.section-heading h2,
.panel h2,
.summary-panel h2 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 900;
}

.section-heading p:not(.eyebrow):not(.section-kicker),
.panel-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.catalog-toolbar {
  display: flex;
  justify-content: flex-start;
  max-width: 1840px;
  margin: 0 auto 34px;
}

.search-field {
  font-weight: 900;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.filter-chip {
  min-height: 38px;
  padding: 6px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 900;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.product-count {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 700;
}

.gallery-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1840px;
  margin: 0 auto clamp(34px, 5vw, 58px);
}

.sort-field {
  display: flex;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 700;
}

.sort-field select {
  width: auto;
  min-height: 42px;
  padding: 4px 34px 4px 4px;
  border: 0;
  background-color: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.product-groups {
  display: grid;
  gap: clamp(66px, 7vw, 118px);
  max-width: 1840px;
  margin: 0 auto;
}

.product-category {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
}

.product-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.product-category-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.15;
}

.product-category-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.product-category-head span {
  flex: 0 0 auto;
  color: var(--leaf-deep);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(66px, 6vw, 110px) clamp(20px, 2.6vw, 42px);
}

.product-card {
  display: grid;
  gap: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.product-detail-link,
.product-name-button {
  display: block;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.product-name-button {
  justify-self: start;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.product-name-button:hover {
  color: var(--leaf-deep);
}

.product-photo {
  position: relative;
  display: block;
  aspect-ratio: 1.02 / 1;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid rgba(234, 222, 212, 0.7);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(69, 42, 30, 0.08);
}

.image-loading {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 247, 235, 0.94), rgba(244, 251, 236, 0.94)),
    var(--soft);
}

.loading-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(82, 143, 38, 0.18);
  border-top-color: var(--leaf);
  border-radius: 50%;
  animation: loading-spin 780ms linear infinite;
}

.loading-spinner-small {
  width: 22px;
  height: 22px;
  border-width: 2px;
}

.loading-line {
  display: block;
  height: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(234, 222, 212, 0.5), rgba(255, 253, 248, 0.9), rgba(234, 222, 212, 0.5));
  background-size: 200% 100%;
  border-radius: 999px;
  animation: loading-sheen 1.15s ease-in-out infinite;
}

.loading-line-name,
.loading-line-title {
  width: 58%;
  height: 24px;
}

.loading-line-price {
  width: 42%;
  height: 20px;
}

.loading-line-meta,
.loading-line-description {
  width: 76%;
}

.loading-line-back {
  width: 34%;
}

.loading-line-category {
  width: 22%;
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loading-sheen {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-photo img {
  transform: scale(1.035);
}

.product-body {
  display: grid;
  gap: 9px;
  padding: 0 8px;
}

.product-body h3 {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35;
  font-weight: 700;
}

.product-detail {
  display: none;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 2fr);
  gap: clamp(28px, 5vw, 78px);
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) clamp(18px, 4vw, 64px) clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.product-detail:target {
  display: grid;
}

.product-detail-page {
  display: grid;
}

.detail-gallery {
  display: grid;
  gap: 14px;
  align-content: start;
}

.detail-main-photo {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-main-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbnails {
  display: grid;
  grid-auto-columns: minmax(72px, 96px);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
}

.detail-thumbnail {
  display: block;
  aspect-ratio: 1 / 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--soft);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.detail-thumbnail.selected {
  border-color: var(--leaf-deep);
  box-shadow: 0 0 0 2px rgba(82, 143, 38, 0.16);
}

.detail-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-panel {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 22px;
  padding: 6px 0;
}

.detail-back {
  justify-self: start;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.detail-category {
  margin: 0;
  color: var(--leaf-deep);
  font-size: 14px;
  font-weight: 700;
}

.detail-panel h1 {
  margin: -8px 0 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.detail-description,
.detail-note {
  margin: 0;
  color: var(--muted);
}

.detail-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-facts div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-facts dt {
  flex: 0 0 auto;
  color: var(--muted);
  white-space: nowrap;
}

.detail-facts dd {
  min-width: 0;
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.detail-control {
  display: grid;
  gap: 10px;
}

.detail-label {
  color: var(--muted);
  font-weight: 700;
}

.detail-box-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-grid button {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-width: 74px;
  min-height: 48px;
  padding: 8px 14px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.option-grid button small {
  color: var(--muted);
  font-size: 12px;
}

.option-grid button.selected {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.option-grid button.selected small {
  color: rgba(255, 255, 255, 0.72);
}

.detail-price-row {
  display: grid;
  gap: 4px;
  padding-top: 8px;
}

.detail-price-row strong {
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1;
}

.detail-price-row span {
  color: var(--muted);
}

.detail-actions {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: center;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 56px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

.quantity-stepper button {
  height: 56px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

.quantity-stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.detail-cart-button {
  display: inline-grid;
  place-items: center;
  min-height: 56px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.detail-cart-button:hover {
  background: var(--leaf-deep);
}

.detail-cart-button:disabled {
  color: var(--muted);
  background: var(--soft);
  cursor: not-allowed;
}

.detail-cart-button[aria-disabled="true"] {
  color: var(--muted);
  background: var(--soft);
  pointer-events: none;
}

.product-not-found {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) 24px;
}

.product-not-found h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.detail-related {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.detail-related h2 {
  margin: 0;
  font-size: 20px;
}

.detail-related div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-related a {
  display: grid;
  gap: 6px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.detail-related img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-rule {
  width: 36px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
}

.status-tag {
  color: var(--peach);
  border-color: var(--peach);
}

.muted-tag {
  color: var(--muted);
}

.product-price {
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
}

.product-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.product-badge {
  flex: none;
  padding: 3px 9px;
  color: #604b41;
  background: #f3e9e5;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}

.product-select-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 3px;
  padding: 0;
  color: var(--leaf-deep);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--leaf-deep);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.product-select-button:hover {
  color: var(--peach-deep);
  border-color: var(--peach-deep);
}

.product-select-button:disabled {
  color: var(--muted);
  border-color: var(--muted);
  cursor: not-allowed;
}

.product-select-button.disabled {
  color: var(--muted);
  border-color: var(--muted);
  cursor: not-allowed;
}

.empty-products {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.secondary-button,
.ghost-button,
.icon-button {
  min-height: 42px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover {
  color: var(--white);
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
}

.secondary-button:disabled {
  color: var(--muted);
  background: var(--soft);
  border-color: var(--line);
  cursor: not-allowed;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  max-width: 1184px;
  margin: 0 auto;
  padding: 44px clamp(18px, 4vw, 48px) 72px;
}

.order-main {
  display: grid;
  gap: 18px;
}

.panel,
.summary-panel {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  padding: clamp(18px, 3vw, 28px);
}

.summary-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.panel-title,
.title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.panel-title.with-action {
  justify-content: space-between;
}

.step-badge {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--leaf-deep);
  border-radius: 50%;
  font-weight: 700;
}

.icon-button {
  width: 42px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

label,
fieldset {
  min-width: 0;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

label small,
fieldset small {
  color: var(--muted);
  font-weight: 500;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(143, 189, 63, 0.2);
}

optgroup {
  color: var(--ink);
  font-weight: 700;
}

.input-error {
  border-color: var(--peach-deep);
}

.recipient-tabs {
  display: flex;
  gap: 8px;
  margin: 22px 0 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.recipient-tab {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.recipient-tab.active {
  color: var(--white);
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
}

.recipient-card {
  display: none;
  gap: 20px;
}

.recipient-card.active {
  display: grid;
}

.recipient-card h3 {
  margin: 0;
}

.recipient-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.recipient-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.item-box {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 12px;
}

.item-row-three {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px;
}

.quick-guide {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  color: var(--ink);
  background: #fff7e7;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(85, 56, 35, 0.06);
}

.quick-guide strong {
  font-size: 18px;
}

.quick-guide ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: quick-guide;
}

.quick-guide li {
  counter-increment: quick-guide;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(94, 55, 32, 0.12);
  border-radius: 8px;
  font-weight: 700;
}

.quick-guide li::before {
  content: counter(quick-guide);
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
  background: var(--leaf);
  border-radius: 999px;
  font-size: 14px;
}

.payment-options {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.payment-options legend {
  margin-bottom: 8px;
  font-weight: 700;
}

.payment-options label {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-options input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.payment-options strong,
.payment-options small {
  display: block;
}

.payment-guide,
.next-action-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f4fbec;
  border: 1px solid rgba(86, 142, 38, 0.24);
  border-radius: 8px;
}

.payment-guide {
  margin-top: 14px;
}

.payment-guide p,
.next-action-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.next-action-box {
  margin: 16px 0;
}

.next-action-box small,
.next-action-box strong {
  display: block;
}

.next-action-box small {
  color: var(--muted);
  font-weight: 700;
}

.next-action-box strong {
  color: var(--leaf-deep);
  font-size: 18px;
}

.progress-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.progress-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--soft);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.progress-item.done {
  color: var(--leaf-deep);
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.summary-empty,
.summary-card {
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background: #fffdf8;
}

.cart-item-image {
  width: 92px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
  border-radius: 8px;
}

.cart-item-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.summary-card strong,
.summary-card small {
  display: block;
}

.cart-item-body strong {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.summary-card small {
  color: var(--muted);
}

.cart-item-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.cart-item-price {
  color: #d54141;
  font-size: 18px;
  font-weight: 700;
}

.cart-item-qty {
  flex: 0 0 auto;
  padding: 4px 10px;
  background: var(--soft);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.totals {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.totals dt {
  color: var(--muted);
}

.totals dd {
  margin: 0;
  font-weight: 700;
}

.totals .total {
  font-size: 20px;
}

.summary-panel .primary-button {
  width: 100%;
}

.security-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.result-box {
  margin-top: 14px;
  padding: 12px;
  color: var(--ink);
  background: #fff0f5;
  border: 1px solid #f0bfd0;
  border-radius: 8px;
  font-weight: 700;
}

.bank-transfer-screen,
.card-payment-screen {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fffdf8;
  border-color: var(--line);
  font-weight: 400;
}

.bank-flow-head {
  display: grid;
  gap: 6px;
}

.bank-flow-head span {
  justify-self: start;
  padding: 4px 10px;
  color: #fff;
  background: var(--leaf);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.bank-flow-head strong,
.card-payment-screen strong {
  font-size: 20px;
  font-weight: 700;
}

.bank-flow-head p,
.bank-account-card p,
.bank-flow-steps span,
.card-payment-screen p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.bank-mail-status {
  padding: 10px 12px;
  background: #f4fbec;
  border: 1px solid rgba(86, 142, 38, 0.24);
  border-radius: 8px;
  font-weight: 700;
}

.bank-flow-summary,
.bank-account-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bank-flow-summary {
  padding: 12px;
  background: #f4fbec;
  border: 1px solid rgba(86, 142, 38, 0.24);
  border-radius: 8px;
}

.bank-flow-summary div,
.bank-account-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.bank-flow-summary dt,
.bank-account-card dt {
  color: var(--muted);
}

.bank-flow-summary dd,
.bank-account-card dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.bank-account-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bank-account-card h3 {
  margin: 0;
  font-size: 18px;
}

.bank-account-pending dd {
  color: var(--muted);
}

.bank-flow-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: bank-flow;
}

.bank-flow-steps li {
  counter-increment: bank-flow;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bank-flow-steps li::before {
  content: counter(bank-flow);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--leaf);
  border-radius: 999px;
  font-weight: 700;
}

.bank-flow-steps strong,
.bank-flow-steps span {
  grid-column: 2;
}

@media (max-width: 980px) {
  .order-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail {
    gap: 30px;
    padding-top: 28px;
  }

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

  .detail-panel {
    position: static;
  }

  .filter-group {
    justify-content: flex-start;
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  #products,
  #destinations,
  #payment,
  #summary-title,
  .product-category {
    scroll-margin-top: 86px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    min-height: 72px;
    padding: 7px 14px;
  }

  .brand-logo {
    width: 54px;
  }

  .header-nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav a {
    flex: 0 0 auto;
    padding: 6px 0;
    font-size: 15px;
    white-space: nowrap;
  }

  #cartCount {
    min-width: 19px;
    height: 19px;
    font-size: 11px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin: 0 18px 42px;
  }

  .gallery-section {
    padding: 28px 14px 58px;
  }

  .product-groups {
    gap: 48px;
  }

  .product-category {
    gap: 20px;
  }

  .detail-related div,
  .form-grid,
  .recipient-fields,
  .item-row,
  .quick-guide ol {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    gap: 10px;
  }

  .detail-main-photo {
    aspect-ratio: 1 / 1;
  }

  .detail-thumbnails {
    grid-auto-columns: 64px;
    gap: 8px;
  }

  .gallery-top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .product-category-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-category-head h2 {
    font-size: 28px;
  }

  .product-category-head p {
    margin-top: 6px;
    font-size: 14px;
  }

  .sort-field {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions a,
  .filter-chip {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 14px;
  }

  .product-name-button {
    font-size: 20px;
  }

  .product-detail {
    gap: 20px;
    padding: 18px 14px 34px;
  }

  .detail-panel {
    gap: 16px;
  }

  .detail-panel h1 {
    font-size: 32px;
  }

  .detail-facts div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 9px 0;
  }

  .detail-facts dd {
    width: 100%;
    text-align: left;
  }

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

  .option-grid button {
    min-width: 0;
    min-height: 46px;
    padding: 8px 10px;
  }

  .detail-price-row strong {
    font-size: 38px;
  }

  .detail-actions {
    position: sticky;
    bottom: 0;
    z-index: 8;
    grid-template-columns: minmax(112px, 34%) 1fr;
    gap: 10px;
    margin: 0 -14px -34px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 250, 242, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px rgba(85, 56, 35, 0.08);
    backdrop-filter: blur(12px);
  }

  .quantity-stepper {
    grid-template-columns: 38px 1fr 38px;
    min-height: 52px;
    font-size: 18px;
  }

  .quantity-stepper button {
    height: 52px;
    font-size: 22px;
  }

  .detail-cart-button {
    min-height: 52px;
    padding: 0 12px;
  }

  .detail-note {
    margin-top: 72px;
  }

  .detail-related {
    padding-bottom: 72px;
  }

  .detail-related div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-layout {
    gap: 18px;
    padding: 20px 14px 42px;
  }

  .panel,
  .summary-panel {
    box-shadow: 0 8px 22px rgba(85, 56, 35, 0.08);
  }

  .panel {
    padding: 16px;
  }

  .summary-panel {
    padding: 16px;
  }

  .panel-title,
  .title-row {
    gap: 10px;
  }

  .panel-title h2,
  .summary-panel h2 {
    font-size: 24px;
  }

  .panel-title p {
    font-size: 14px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .recipient-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-options label {
    padding: 12px;
  }

  .panel-title.with-action {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 9px;
    padding-inline: 10px;
  }

  .brand-logo {
    width: 48px;
  }

  .header-nav {
    gap: 10px;
  }

  .header-nav a {
    font-size: 14px;
  }

  .product-photo {
    aspect-ratio: 1 / 0.92;
  }

  .product-grid {
    gap: 28px 10px;
  }

  .product-body {
    gap: 6px;
    padding: 0 2px;
  }

  .product-name-button {
    font-size: 17px;
    line-height: 1.35;
  }

  .product-price {
    font-size: 16px;
  }

  .product-body p {
    font-size: 12px;
  }

  .product-select-button {
    min-height: 32px;
    font-size: 13px;
  }

  .detail-panel h1 {
    font-size: 28px;
  }

  .detail-actions {
    grid-template-columns: 96px 1fr;
  }

  .quantity-stepper {
    grid-template-columns: 32px 1fr 32px;
    font-size: 17px;
  }

  .detail-cart-button {
    font-size: 14px;
  }

  .cart-item-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  .cart-item-image {
    width: 72px;
  }

  .cart-item-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Farm identity shared with the homepage: airy white, logo pink/green, soft photography. */
:root{--ink:#493f38;--muted:#71655d;--line:#e4ddd6;--paper:#fff;--soft:#fff7fa;--peach:#f3a0c4;--peach-deep:#88465f;--leaf:#9cce41;--leaf-deep:#4a6231;--cream:#f5f8ed;--shadow:none;--farm-display:'YuMincho','Yu Mincho','Hiragino Mincho ProN',serif}
body{background:#fff;font-size:16px;line-height:1.95;font-weight:400}h1,h2,h3{font-weight:400}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #88465f;outline-offset:4px}html{scroll-padding-top:28px}.site-header{position:relative;min-height:120px;max-width:1440px;margin:auto;padding:16px 5%;border:0;background:#fff;backdrop-filter:none;gap:24px}.brand-logo{width:86px}.brand-caption{font-size:12px;line-height:1.9;letter-spacing:.08em;color:var(--muted)}.header-nav{gap:28px;align-items:center}.header-nav a{font-size:14px;font-weight:400;min-height:48px;display:flex;align-items:center;border-bottom:1px solid transparent}.header-nav .cart-link{padding:10px 24px;border:1px solid #b4a296;border-radius:99px;gap:8px}#cartCount{background:var(--soft);color:var(--ink)}.farm-kicker{font-size:12px;letter-spacing:.13em;color:var(--muted);margin:0 0 24px}.shop-intro{max-width:1280px;margin:auto;padding:64px 5% 72px;display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:center}.shop-intro h1{font-family:var(--farm-display);font-size:clamp(28px,3.1vw,43px);font-weight:400;letter-spacing:.04em;line-height:1.8;margin:0 0 28px}.shop-intro-copy>p:not(.farm-kicker){font-size:15px;line-height:2.15;margin:0 0 30px}.farm-outline{display:inline-flex;gap:36px;align-items:center;justify-content:space-between;border:1px solid #b4a296;border-radius:99px;padding:12px 26px;min-height:52px;font-size:14px;text-decoration:none}.farm-outline:hover{background:var(--soft)}.shop-intro-photos{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;padding-block:0 26px}.shop-intro-photos img{display:block;width:100%;height:auto;aspect-ratio:.8;object-fit:cover;border-radius:47% 44% 35% 32% / 27% 30% 22% 24%}.shop-intro-photos .intro-grape{margin-top:72px;border-radius:40% 40% 32% 37% / 25% 30% 25% 22%}.shop-intro-photos>span{position:absolute;bottom:-12px;left:5%;font-size:12px;letter-spacing:.14em}.fruit-navigation{max-width:760px;margin:16px auto 48px;display:flex;justify-content:center;gap:24px;padding:0 24px}.fruit-navigation a{display:flex;align-items:center;justify-content:space-between;gap:20px;text-decoration:none;min-height:64px;flex:1;padding:14px 28px;border-radius:99px;background:var(--soft)}.fruit-navigation a+ a{background:var(--cream)}.fruit-dot{width:17px;height:17px;border-radius:50%;flex:none}.peach-dot{background:var(--peach)}.grape-dot{background:var(--leaf)}.gallery-section{max-width:1240px;margin:auto;padding:50px 40px 100px}.gallery-top{margin-bottom:64px;padding-bottom:20px;border-bottom:1px solid var(--line)}.product-count,.sort-field{font-size:14px;font-weight:400}.sort-field select{font-size:16px;font-weight:400;padding:10px 12px;min-height:48px;border:1px solid var(--line);border-radius:12px}.product-groups{gap:110px}.product-category{gap:40px}.product-category-head{border:0;align-items:center;padding:0}.product-category-head h2{font-family:var(--farm-display);font-size:36px;font-weight:400;letter-spacing:.16em;line-height:1.6}.product-category-head h2:before{content:'夏のたのしみ';display:block;font-family:'Zen Maru Gothic',sans-serif;font-size:12px;color:var(--muted);letter-spacing:.12em;margin-bottom:12px}.product-category-grape h2:before{content:'秋のたのしみ'}.product-category-head p{font-size:15px;font-weight:400;margin-top:20px}.product-category-head>span{font-size:14px;font-weight:400;padding:6px 16px;border-radius:99px;background:var(--cream)}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:64px 36px}.product-card{gap:24px;align-content:start}.product-photo{aspect-ratio:1.1;border:0;box-shadow:none;border-radius:35% 32% 27% 29% / 27% 30% 25% 28%;background:var(--soft)}.product-category-grape .product-photo{border-radius:30% 35% 28% 32% / 30% 25% 32% 26%;background:var(--cream)}.product-body{gap:14px;padding:0 8px}.product-name-button{font-size:22px;line-height:1.65;font-weight:500;min-height:44px}.product-rule{background:var(--peach);height:1px;width:48px}.product-category-grape .product-rule{background:var(--leaf)}.product-price{font-size:19px;font-weight:500;color:var(--ink)}.product-body p{font-size:14px;line-height:1.9}.product-select-button{min-height:48px;display:flex;justify-content:space-between;width:100%;font-size:14px;font-weight:400;border-bottom:1px solid var(--peach);color:var(--ink);margin-top:4px}.product-category-grape .product-select-button{border-color:var(--leaf)}.shop-family{max-width:1160px;margin:0 auto;padding:50px 40px 120px;display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}.shop-family>img{width:100%;height:auto;aspect-ratio:1.2;object-fit:cover;border-radius:37% 34% 30% 28% / 27% 30% 32% 28%}.shop-family h2{font-family:var(--farm-display);font-size:34px;line-height:1.8;letter-spacing:.08em;margin:0 0 28px}.shop-family p:not(.farm-kicker){font-size:15px;line-height:2.1;margin-bottom:28px}.shop-footer{padding:64px 5% 24px;background:var(--soft);border-radius:50% 45% 0 0 / 5% 5% 0 0}.shop-footer-inner{max-width:1140px;margin:auto;display:grid;grid-template-columns:110px 1fr 1fr;gap:48px;align-items:start}.shop-footer img{display:block;object-fit:contain;mix-blend-mode:multiply}.shop-footer p{font-size:13px;margin:10px 0}.shop-footer .footer-title{font-size:16px;margin:0 0 16px}.footer-phone{font-size:23px;text-underline-offset:6px}.shop-footer nav{display:grid;gap:10px}.shop-footer nav a{font-size:14px;min-height:44px;display:flex;align-items:center;text-decoration:none}.shop-footer>small{display:block;text-align:center;font-size:11px;margin-top:56px}
/* Detail and order forms keep the existing purchase behavior and gain generous spacing. */
.product-detail-page{max-width:1240px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;padding:56px 40px 100px;border:0}.detail-main-photo{border:0;border-radius:30% 32% 25% 26% / 22% 25% 22% 28%;aspect-ratio:1.05}.detail-panel{position:static;gap:28px}.detail-panel h1{font-family:var(--farm-display);font-weight:400;line-height:1.65;font-size:34px;letter-spacing:.04em}.detail-back{font-weight:400;min-height:44px;display:flex;align-items:center}.detail-category{font-weight:400}.detail-description{line-height:2.1;font-size:16px}.detail-thumbnail{border-radius:18px}.detail-facts dd{font-weight:400}.detail-label{font-weight:500}.option-grid button{border-radius:16px;min-height:52px;background:#fff;font-weight:400}.option-grid button.selected{color:var(--ink);background:var(--cream);border:2px solid var(--leaf-deep)}.option-grid button.selected small{color:var(--muted)}.detail-price-row strong{font-size:34px;font-weight:500}.detail-cart-button,.primary-button,.primary-link{background:var(--peach);color:#422432;border-radius:99px;font-weight:500;min-height:56px}.detail-cart-button:hover,.primary-button:hover,.primary-link:hover{background:#f6bdd4;color:#422432}.detail-note{font-size:14px}.detail-related{gap:20px;padding-top:24px}.detail-related h2{font-weight:400}.detail-related a{font-size:14px;font-weight:400}.detail-related img{border-radius:20px}.checkout-heading{max-width:1160px;margin:auto;padding:48px 40px 24px}.checkout-heading h1{font-family:var(--farm-display);font-weight:400;font-size:36px;letter-spacing:.08em;margin:0 0 16px}.checkout-heading>p:last-child{font-size:15px;color:var(--muted)}.order-layout{max-width:1240px;padding:24px 40px 100px;gap:36px}.order-main{gap:32px}.panel,.summary-panel,.quick-guide{box-shadow:none;border-radius:24px;background:#fff;padding:28px}.summary-panel{top:24px;background:var(--soft)}.quick-guide{background:var(--cream);border:0}.quick-guide strong{font-weight:500}.quick-guide li{font-weight:400;border:0;background:transparent;padding:4px 0}.quick-guide li:before{background:var(--leaf-deep)}.panel h2,.summary-panel h2{font-weight:500;line-height:1.5;font-size:24px}.panel-title p{font-size:14px;line-height:1.9}.step-badge{background:var(--cream);color:var(--leaf-deep);font-weight:500}.form-grid,.recipient-fields{gap:24px 18px;margin-top:28px}label{gap:10px;font-weight:500}input,select,textarea{border-radius:12px;min-height:52px;background:#fff;font-size:16px}.payment-options input{min-height:18px;accent-color:var(--leaf-deep)}.payment-options label{padding:20px;border-radius:16px;background:#fff}.payment-options label:has(input:checked){border-color:var(--leaf-deep);background:var(--cream)}.payment-options small{font-size:14px}.item-box{background:var(--cream);border:0;border-radius:18px;padding:20px}.payment-guide,.next-action-box{background:var(--cream);border:0;border-radius:16px}.secondary-button,.ghost-button,.icon-button,.recipient-tab{min-height:48px;border-radius:16px;font-weight:500}.summary-card,.summary-empty{background:#fff;border-radius:16px}.summary-panel .primary-button{margin-top:12px}.security-note{line-height:1.9}.detail-actions{grid-template-columns:140px 1fr}.quantity-stepper{grid-template-columns:44px 1fr 44px}
@media(max-width:960px){.shop-intro{gap:28px}.shop-intro h1{font-size:30px}.brand-caption{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-page{gap:32px}.order-layout{grid-template-columns:1fr}.summary-panel{position:static}.shop-family{gap:36px}.shop-footer-inner{gap:28px;grid-template-columns:90px 1fr}.shop-footer nav{grid-column:2}.quick-guide ol{grid-template-columns:1fr}}
@media(max-width:600px){.site-header{padding:12px 22px;min-height:92px;gap:16px;flex-wrap:nowrap}.brand-logo{width:64px}.header-nav{gap:16px;flex-wrap:nowrap}.header-nav a{font-size:13px;white-space:nowrap}.header-nav .cart-link{padding:8px 16px;min-height:44px}.farm-home-link{display:none!important}.shop-intro{padding:36px 24px 48px;grid-template-columns:1fr;gap:40px}.shop-intro h1{font-size:clamp(25px,6.8vw,32px);letter-spacing:.015em;line-height:1.85;margin-bottom:24px}.farm-kicker{font-size:11px;letter-spacing:.09em;margin-bottom:20px}.shop-intro-copy>p:not(.farm-kicker){font-size:15px;line-height:2.1}.shop-intro-copy br{display:none}.shop-intro h1 br{display:block}.shop-intro-photos{max-width:440px;width:100%;margin:auto;gap:18px}.shop-intro-photos img{aspect-ratio:1}.shop-intro-photos .intro-grape{margin-top:40px}.shop-intro-photos>span{font-size:11px;bottom:0}.fruit-navigation{gap:12px;padding:0 24px;margin:16px auto 32px}.fruit-navigation a{font-size:14px;min-height:56px;padding:12px 16px;gap:10px}.fruit-dot{width:12px;height:12px}.gallery-section{padding:36px 24px 72px}.gallery-top{gap:20px;align-items:start;margin-bottom:48px;flex-direction:column}.product-count,.sort-field{font-size:14px}.sort-field{width:100%;justify-content:space-between}.product-groups{gap:80px}.product-category{gap:32px}.product-category-head{align-items:start;gap:16px}.product-category-head h2{font-size:32px}.product-category-head p{font-size:15px;line-height:2;margin-top:16px}.product-category-head>span{white-space:nowrap;font-size:12px;padding:5px 12px}.product-grid{grid-template-columns:1fr;gap:48px}.product-card{max-width:440px;width:100%;margin:auto;gap:24px}.product-photo{aspect-ratio:1.18}.product-body{gap:14px;padding:0 8px}.product-name-button{font-size:24px;font-weight:400;line-height:1.65}.product-price{font-size:20px}.product-body p{font-size:15px}.product-select-button{min-height:52px;font-size:15px}.shop-family{grid-template-columns:1fr;gap:40px;padding:24px 24px 80px}.shop-family h2{font-size:30px}.shop-family p:not(.farm-kicker){font-size:15px}.shop-family p br{display:none}.shop-footer{padding:48px 24px 24px}.shop-footer-inner{grid-template-columns:1fr;gap:28px}.shop-footer-inner img{width:80px;height:80px}.shop-footer nav{grid-column:auto;gap:8px}.shop-footer nav a{min-height:48px}.shop-footer>small{margin-top:32px}.product-detail-page{grid-template-columns:1fr;padding:32px 24px 72px;gap:40px}.detail-panel{gap:28px}.detail-panel h1{font-size:30px}.detail-main-photo{aspect-ratio:1.12}.detail-description{font-size:16px}.detail-actions{position:static;margin:0;padding:0;grid-template-columns:112px minmax(0,1fr);gap:12px;border:0;box-shadow:none;background:#fff;backdrop-filter:none}.quantity-stepper{grid-template-columns:36px 1fr 36px;font-size:18px}.detail-cart-button{min-height:56px;font-size:15px;padding:8px 12px}.detail-note{margin-top:0;font-size:14px}.detail-related{padding-bottom:0}.detail-related div{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.checkout-heading{padding:36px 24px 20px}.checkout-heading h1{font-size:28px}.order-layout{padding:16px 20px 72px;gap:28px}.panel,.summary-panel,.quick-guide{padding:24px 20px;box-shadow:none;border-radius:20px}.panel h2,.summary-panel h2{font-size:23px}.form-grid,.recipient-fields{grid-template-columns:1fr;gap:24px}.form-grid .wide{grid-column:auto}.panel-title,.title-row{gap:12px}.step-badge{width:32px;height:32px}.item-row,.item-row-three{grid-template-columns:1fr}.item-box{padding:16px}.payment-options label{padding:16px}.payment-options small{font-size:14px}.detail-facts div{flex-direction:column;gap:8px}.detail-facts dd{text-align:left}.icon-button{flex-shrink:0}.quick-guide ol{gap:12px}.recipient-head{gap:16px}.option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.option-grid button{min-height:52px}.cart-item-foot{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

@media(max-width:600px){.shop-intro h1{font-size:clamp(22px,6.3vw,28px)}}

/* Four explicit catalogue categories, with room for readable mobile labels. */
.fruit-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:900px;gap:16px}
.fruit-navigation button{min-height:56px;border:1px solid var(--line);border-radius:99px;padding:12px 20px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}
.fruit-navigation button[aria-pressed="true"]{border:2px solid var(--peach-deep);background:var(--soft)}
.fruit-navigation button[data-category="grape"][aria-pressed="true"]{border-color:var(--leaf-deep);background:var(--cream)}
.product-category-persimmon h2:before,.product-category-processed h2:before{content:none}
@media(max-width:600px){.fruit-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fruit-navigation button{font-size:16px;padding:12px}.option-grid button{overflow-wrap:anywhere}}

.checkout-return #destinations[hidden] { display: none !important; }
.checkout-return > .result-box { max-width: 760px; margin: 0 auto 64px; padding: 32px; line-height: 1.9; }

.sales-notice { margin: 24px auto; padding: 20px 24px; max-width: 1080px; background: #fff3f6; border-radius: 16px; color: #594a43; line-height: 1.8; text-align: center; }

.catalog-introduction {
  padding: clamp(22px, 4vw, 36px);
  text-align: left;
}

.catalog-introduction h3 {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.catalog-introduction p {
  font-size: 0.95rem;
  line-height: 1.85;
  margin: 0 0 0.65rem;
}

.catalog-introduction .catalog-subtitle {
  font-weight: 600;
  margin-bottom: 1rem;
}

.catalog-introduction .product-select-button {
  margin-top: 0.75rem;
}

.catalog-introduction-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Clear, touch-friendly purchase controls for each persimmon box. */
.box-cart-button { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 16px; padding: 12px 16px; border: 0; border-radius: 12px; background: #4d6335; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.6; text-align: center; text-decoration: none; }
.box-cart-button:hover { background: #3b4d29; color: #fff; }
.box-cart-button:focus-visible { outline: 3px solid #b66385; outline-offset: 4px; }

.order-review { width: min(680px, calc(100% - 32px)); max-height: 90dvh; padding: 28px; border: 0; border-radius: 20px; color: #453b34; background: #fff; overflow-y: auto; }
.order-review::backdrop { background: rgba(30,25,20,.55); }
.order-review section { padding: 20px 0; border-bottom: 1px solid #ddd5ca; }
.order-review p { line-height: 1.9; overflow-wrap: anywhere; white-space: pre-wrap; }
.order-review h2 { font-size: 24px; } .order-review h3 { font-size: 18px; }
.review-actions { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.review-actions button { min-height: 52px; padding: 14px; font-size: 16px; white-space: normal; }
@media(max-width:600px) { .order-review { padding: 20px; } }

/* Completion is a standalone reading area, not a narrow cart sidebar. */
#destinations[hidden] { display: none !important; }
.completed-bank-order { box-sizing:border-box; width:min(720px,calc(100% - 32px)); margin:24px auto 72px; padding:32px; border-radius:24px; font-size:16px; line-height:1.8; scroll-margin-top:24px; }
.completed-bank-order h2 { margin:0; font-size:26px; line-height:1.6; }
.completed-bank-order .bank-pending-status { font-weight:700; color:#4d6335; }
.completed-bank-order .bank-flow-summary > div,
.completed-bank-order .bank-account-card dl > div { display:grid; grid-template-columns:minmax(110px,1fr) minmax(0,2fr); gap:16px; padding:12px 0; }
.completed-bank-order dt { white-space:normal; }
.completed-bank-order dd { margin:0; overflow-wrap:anywhere; text-align:left; }
.completed-bank-order .bank-total { border-top:1px solid #d8e0cc; font-size:20px; }
.completed-bank-order .bank-flow-steps { margin-block:28px; }
.completion-shop-link { display:flex; align-items:center; justify-content:center; min-height:52px; text-align:center; }
.order-review[open] { display:flex; flex-direction:column; overflow:hidden; }
.order-review > h2,.order-review > p { flex-shrink:0; margin:0 0 12px; }
#orderReviewDetails { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding-right:8px; }
.review-actions { flex-shrink:0; padding-top:16px; border-top:1px solid #ddd5ca; }
@media(max-width:600px) {
 .completed-bank-order { padding:24px 20px; margin-top:16px; }
 .completed-bank-order h2 { font-size:23px; }
 .completed-bank-order .bank-flow-summary > div,
 .completed-bank-order .bank-account-card dl > div { grid-template-columns:1fr; gap:4px; }
 .completed-bank-order .bank-flow-steps { grid-template-columns:1fr; }
 .order-review h2 { font-size:22px; }
 .review-actions { gap:10px; }
}
@media(max-height:560px) {
 .order-review[open] { display:block; overflow-y:auto; }
 #orderReviewDetails { overflow:visible; }
}
@media(max-width:600px) {
 .completed-bank-order .bank-flow-summary > div,
 .completed-bank-order .bank-account-card dl > div { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; padding:10px 0; }
 .completed-bank-order .bank-flow-summary > div:first-child { grid-template-columns:1fr; gap:4px; }
 .completed-bank-order .bank-total { font-size:18px; }
}
