/* Focused first-order path for visitors who are not ready to browse the full catalogue. */
body[data-storefront-editorial="home"] .first-order-entry {
  padding: 72px 2rem 76px;
  background: #f7f4ed;
}

.first-order-entry__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.first-order-entry__header {
  max-width: 640px;
  margin: 0 auto 30px;
  text-align: center;
}

.first-order-entry__label {
  display: inline-block;
  margin-bottom: 10px;
  color: #657b61;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.first-order-entry__header h2 {
  margin: 0;
  color: #30332f;
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.35;
}

.first-order-entry__header p {
  margin: 14px 0 0;
  color: #697068;
  font-size: 0.96rem;
  line-height: 1.85;
}

.first-order-entry__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.first-order-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1dfd5;
  border-radius: 18px;
  background: #fffef9;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.first-order-card:hover {
  border-color: #a6b59b;
  box-shadow: 0 12px 28px rgba(54, 67, 52, 0.1);
  transform: translateY(-3px);
}

.first-order-card:focus-visible,
.first-order-entry__line:focus-visible {
  outline: 3px solid #3f5d35;
  outline-offset: 4px;
}

.first-order-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.first-order-card__copy {
  display: grid;
  gap: 7px;
  padding: 17px 18px 19px;
  line-height: 1.55;
}

.first-order-card__eyebrow {
  color: #657b61;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.first-order-card__copy strong {
  color: #30332f;
  font-family: 'Noto Serif TC', serif;
  font-size: 1.13rem;
  font-weight: 600;
}

.first-order-card__copy span:last-child {
  color: #737971;
  font-size: 0.86rem;
}

.first-order-entry__actions {
  margin-top: 28px;
  text-align: center;
}

.first-order-entry__line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 19px;
  border-radius: 999px;
  background: #506b4d;
  color: #fffef9;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.first-order-entry__line:hover {
  background: #3f5d35;
  transform: translateY(-1px);
}

.first-order-entry__actions p {
  margin: 12px 0 0;
  color: #7a8078;
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  body[data-storefront-editorial="home"] .first-order-entry { padding: 54px 5% 60px; }
  .first-order-entry__grid { grid-template-columns: 1fr; gap: 14px; }
  .first-order-card { display: grid; grid-template-columns: 38% 1fr; }
  .first-order-card img { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .first-order-card__copy { align-content: center; padding: 13px 15px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .first-order-card,
  .first-order-entry__line { transition: none; }
}
