/* Static selections keep every shown model visible without carousel gestures. */
.home-products.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 24px 20px;
  overflow: visible;
  scroll-snap-type: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: center;
}
.home-products-grid > a { display: block; min-width: 0; }
.home-products-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--yose-radius-media, 8px); }
.home-products-grid h3 { margin: 10px 0 0; font-size: 16px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.home-collection { padding-bottom: 32px; }
.page-about-collection { padding-top: 0; }

/* Original contact artwork traced from the source image; copy remains live text. */
ol.page-meeting-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 20px 0 28px;
  list-style: none;
}
.page-meeting-steps li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 14px 22px;
  text-align: center;
  background: #f3f2e8;
  border: 1px solid #e6e5da;
  border-radius: var(--yose-radius-media, 8px);
}
.page-meeting-steps img { display: block; flex: 0 0 auto; width: 58px; height: 58px; object-fit: contain; }
.page-meeting-steps h2 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; font-weight: 600; }
.page-meeting-steps p { margin: 0; font-size: 14px; line-height: 1.5; }

@media (max-width: 700px) {
  .home-products.home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin-bottom: 22px; }
  .home-products-grid h3 { margin-top: 8px; font-size: 14px; }
  .page-about-collection .home-products-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .page-about-collection .home-products-grid h3 { font-size: 18px; margin-top: 12px; }
  .home-collection { padding-bottom: 28px; }
  ol.page-meeting-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 18px 0 26px; }
  .page-meeting-steps li { min-height: 104px; flex-direction: row; align-items: center; gap: 16px; padding: 17px 18px; text-align: left; }
  .page-meeting-steps img { width: 52px; height: 52px; }
  .page-meeting-steps h2 { font-size: 16px; margin-bottom: 5px; }
  .page-meeting-steps p { font-size: 14px; }
}
@media (max-width: 350px) {
  .page-meeting-steps li { padding: 16px 14px; gap: 12px; }
  .page-meeting-steps img { width: 46px; height: 46px; }
}

.home-products-error { grid-column: 1 / -1; padding: 24px; border: 1px solid var(--yose-line, #e5e5df); border-radius: var(--yose-radius-media, 8px); text-align: center; }
.home-products-error p { margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
.home-products-error button:disabled { opacity: .6; cursor: wait; }

/* Keep the studio photograph and all three steps visible together on phones. */
@media (max-width: 700px) {
  .page-contact-original { margin-top: 8px; }
  .page-meeting-link { width: 100%; height: auto; aspect-ratio: 1024 / 1042; overflow: hidden; border-radius: var(--yose-radius-media, 8px); }
  .page-meeting-link img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
  ol.page-meeting-steps { gap: 8px; margin: 12px 0 24px; }
  .page-meeting-steps li { min-height: 78px; gap: 14px; padding: 12px 15px; }
  .page-meeting-steps img { width: 44px; height: 44px; }
  .page-meeting-steps h2 { font-size: 14px; line-height: 1.35; margin: 0 0 4px; }
  .page-meeting-steps p { font-size: 13px; line-height: 1.4; }
}
@media (max-width: 350px) {
  .page-meeting-steps li { min-height: 78px; padding: 11px 13px; gap: 12px; }
  .page-meeting-steps img { width: 40px; height: 40px; }
}

/* On shorter portrait viewports, tighten the steps and scale the complete photo. */
@media (max-width: 700px) and (max-height: 760px) {
  .page-contact-original .yose-social-contact .page-meeting-link,
  .page-contact-original > .page-meeting-link {
    width: min(100%, calc((100svh - 330px) / 1.01758));
    margin-inline: auto;
  }
  ol.page-meeting-steps { gap: 6px; margin-top: 10px; }
  .page-meeting-steps li { min-height: 64px; padding: 9px 13px; gap: 12px; }
  .page-meeting-steps img { width: 36px; height: 36px; }
  .page-meeting-steps h2 { font-size: 13px; margin-bottom: 3px; }
  .page-meeting-steps p { font-size: 12px; }
}

/* Native date selection matches checkout; use the browser's calendar icon. */
.page-contact-form input[type="date"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  margin-top: 7px;
  padding: 9px 13px;
  border: 1px solid #d7ddd7;
  border-radius: var(--yose-radius-control);
  background: #fff;
  color: #252525;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  color-scheme: light;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.page-contact-form input[type="date"]:focus {
  border-color: #49756b;
  outline: 2px solid #49756b;
  outline-offset: 2px;
}
.page-contact-form input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .72; }
@media (max-width: 700px) {
  .page-contact-form input[type="date"] { font-size: 16px; }
  ol.page-meeting-steps {
    width: min(calc(100% - 16px), 328px);
    margin-inline: auto;
  }
  .page-meeting-steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 220px);
    justify-content: center;
  }
  .page-meeting-steps li > div { min-width: 0; }
}
@media (max-width: 350px) {
  .page-meeting-steps li { grid-template-columns: 40px minmax(0, 220px); }
}
@media (max-width: 700px) and (max-height: 760px) {
  .page-meeting-steps li { grid-template-columns: 36px minmax(0, 220px); }
}
