
.page-main > section.orchard-front {
  background-color: #fbeee8;
  background-image: linear-gradient(180deg, rgba(255, 250, 247, 0.9) 0%, rgba(255, 250, 247, 0.82) 55%, rgba(255, 255, 255, 0.95) 100%), url('/src/images/medence-hatter.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: 28px;
}

.front-stack h1 {
  max-width: 18ch;
  margin: 0 auto 16px;
}

.front-lead {
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 16px;
  color: var(--text-strong);
}

.front-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.front-offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: left;
  max-width: 1040px;
  margin: 0 auto;
}

.offer-figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.offer-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 80% center;
}

.offer-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
}

.offer-name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
}

.offer-price {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--action-primary);
  white-space: nowrap;
}

.quick-order {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}

.quick-order h2 {
  font-size: 22px;
}

.quick-steps {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-soft);
}

.quick-steps li {
  margin-bottom: 4px;
}

.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: none;
  margin: 0 0 14px;
  padding: 0;
}

.size-picker legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
}

.size-chip {
  position: relative;
}

.size-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.size-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cfc5c9;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  background: #fff;
}

.size-chip input:checked + span {
  border-color: var(--action-primary);
  background: var(--surface-blush);
  color: var(--action-primary);
  font-weight: 700;
}

.size-chip input:focus-visible + span {
  outline: 2px solid var(--action-primary);
  outline-offset: 2px;
}


.piece-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.piece-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .3s;
  transform-style: preserve-3d;
}

.piece-card:hover {
  transform: perspective(800px) rotateX(4deg) rotateY(-4deg) translateY(-4px);
}

.piece-photo {
  display: block;
  background: var(--surface-blush);
}

.piece-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.piece-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.piece-category {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-leaf);
}

.piece-title {
  margin: 0;
  font-size: 19px;
}

.piece-title a {
  color: var(--text-strong);
  text-decoration: none;
}

.piece-title a:hover {
  color: var(--action-primary);
}

.piece-text {
  margin: 0;
  font-size: 15px;
}

.piece-meta {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.piece-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}

.piece-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
}

.piece-add {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
}

.more-link {
  margin-top: 28px;
  text-align: center;
}


.orchard-fibres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--text-strong);
  text-decoration: none;
  font-size: 15px;
}

.filter-tab[aria-current="true"] {
  background: var(--text-strong);
  border-color: var(--text-strong);
  color: #fff;
}


.fabric-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.fabric-photo img {
  border-radius: var(--radius-card);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.fabric-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.fabric-facts li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
  color: var(--text-soft);
}

.fabric-facts strong {
  color: var(--text-strong);
}


.faq-stack {
  max-width: 820px;
}

.faq-box {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-faq);
  margin-bottom: 18px;
}

.faq-question {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
}

.faq-answer {
  margin: 0;
}


.reach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.reach-item {
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--surface-raised);
  border: 1px solid var(--line-soft);
}

.reach-item p {
  margin: 0;
}

.reach-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-strong);
}

.reach-value a {
  color: var(--text-strong);
  text-decoration: none;
}


.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.gallery-main {
  margin: 0 0 12px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-blush);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.thumb-button {
  width: 76px;
  height: 92px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-blush);
  cursor: pointer;
}

.thumb-button[aria-pressed="true"] {
  border-color: var(--action-primary);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orchard-cutting-table h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.buy-unit {
  margin: 0 0 8px;
  font-size: 15px;
}

.buy-price {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-strong);
}

.buy-stock {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--status-ok);
  font-weight: 600;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfc5c9;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.qty-stepper button {
  width: 44px;
  height: 46px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-strong);
}

.qty-stepper output,
.qty-stepper .qty-value {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
}

.buy-note {
  font-size: 14px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.spec-table th {
  width: 36%;
  color: var(--text-strong);
  font-weight: 600;
}

.spec-table td {
  color: var(--text-soft);
}

.table-scroll {
  overflow-x: auto;
}

.short-terms {
  list-style: none;
  margin: 0;
  padding: 0;
}

.short-terms li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
}


.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-line img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.line-name {
  margin: 0 0 4px;
  font-weight: 600;
}

.line-name a {
  color: var(--text-strong);
  text-decoration: none;
}

.line-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.line-size {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #cfc5c9;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
}

.line-remove {
  min-height: 44px;
  padding: 8px 10px;
  border: none;
  background: none;
  color: var(--status-error);
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

.line-total {
  font-weight: 700;
  color: var(--text-strong);
}

.cart-sums {
  margin: 20px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--line-soft);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  color: var(--text-soft);
}

.sum-row strong {
  color: var(--text-strong);
}

.sum-grand {
  border-top: 1px solid var(--line-soft);
  margin-top: 6px;
  padding-top: 12px;
  font-size: 19px;
}

.free-hint {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--accent-leaf);
  font-weight: 600;
}

.empty-tote {
  padding: 28px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px dashed #cfc5c9;
  text-align: center;
}

.checkout-panel {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}


.prose-block h2 {
  margin-top: 36px;
}

.prose-block ul,
.prose-block ol {
  color: var(--text-soft);
  padding-left: 22px;
}

.prose-block li {
  margin-bottom: 6px;
}

.size-table caption {
  text-align: left;
  font-weight: 600;
  padding: 0 0 8px;
  color: var(--text-strong);
}

.notice-panel {
  padding: 18px 20px;
  border-left: 4px solid var(--accent-leaf);
  background: #fff;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
}

.notice-panel p {
  margin: 0;
}


.tote-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(var(--strip-height) + 12px);
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-deep);
  color: #fff;
  box-shadow: 0 12px 30px rgba(36, 25, 29, 0.3);
  transition: opacity .25s, transform .25s;
}

.tote-toast[hidden] {
  display: none;
}

.tote-toast p {
  margin: 0;
  color: #fff;
  flex: 1 1 200px;
}

.tote-toast a {
  color: #fff;
  font-weight: 600;
}

.toast-dismiss {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

@media (min-width: 768px) {
  .front-lead {
    font-size: 18px;
  }

  .front-offer {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

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

  .piece-card {
    grid-template-columns: 44% 1fr;
  }

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

  .reach-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-layout {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .cart-layout {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }

  .tote-toast {
    left: auto;
    right: 24px;
    max-width: 440px;
  }
}

@media (min-width: 1024px) {
  .quick-order {
    padding: 28px;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .related-grid .piece-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .piece-card,
  .piece-card:hover {
    transition: none;
    transform: none;
  }
}


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

.detail-tile {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.detail-link {
  display: block;
}

.detail-link img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.detail-caption {
  padding: 8px 10px 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-soft);
}

.detail-caption strong {
  color: var(--text-strong);
}

.offer-name {
  text-decoration: none;
}

.offer-name:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.shop-module {
  scroll-margin-top: 16px;
}

.inquiry-form {
  margin: 0;
}

.strip-hours {
  white-space: nowrap;
}

.tote-icon {
  flex-shrink: 0;
}

.drawer-shade {
  cursor: pointer;
}

.footer-brand {
  min-width: 0;
}

.footer-group {
  min-width: 0;
}

.fabric-text {
  min-width: 0;
}

.product-gallery {
  min-width: 0;
}

.buy-panel {
  min-width: 0;
}

.cart-column {
  min-width: 0;
}

@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .detail-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
