/* Homepage only: a compact, photo-first catalog. */
.page--discovery {
  --home-ink: #293630;
  --home-muted: #70786f;
  --home-accent: #ad4935;
  background: #fcfaf6;
  color: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page--discovery .site-header { display: none; }
.page--discovery .page-main { max-width: 1000px; padding: 0 22px 40px; margin: auto; }
.page--discovery .page-main > * { width: 100%; }
.page--discovery a:focus-visible, .page--discovery summary:focus-visible { outline: 3px solid #196d8e; outline-offset: 4px; }
.discovery-header { position: relative; display: flex; align-items: center; justify-content: space-between; height: 88px; border-bottom: 1px solid #e5e5d9; }
.discovery-brand { display: flex; gap: 11px; align-items: center; text-decoration: none; }
.discovery-mark { display: flex; justify-content: center; align-items: center; width: 38px; height: 40px; border-radius: 13px 13px 13px 4px; color: #fff8ed; background: var(--home-accent); font-family: Georgia, serif; font-size: 28px; font-style: italic; line-height: 1; }
.discovery-mark span { margin-top: -5px; }
.discovery-brand strong { display: block; font-family: Georgia, serif; font-size: 27px; line-height: 1.1; letter-spacing: -.9px; }
.discovery-brand-dot { color: var(--home-accent); }
.discovery-brand small { display: block; margin-top: 4px; color: var(--home-muted); font-size: 10px; letter-spacing: 1px; }
.discovery-search > summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dce0d5; border-radius: 50%; background: #fff; cursor: pointer; list-style: none; }
.discovery-search > summary::-webkit-details-marker { display: none; }
.discovery-search[open] > summary { background: #e9edde; }
.discovery-search__panel { position: absolute; top: calc(100% - 1px); left: 0; right: 0; z-index: 5; padding: 14px; border: 1px solid #dce0d5; border-radius: 0 0 15px 15px; background: #fcfaf6; box-shadow: 0 14px 25px #29363018; max-height: 65vh; overflow-y: auto; }
.page--discovery .discovery-search .search-panel { padding: 0; margin: 0; background: transparent; border-radius: 0; }
.discovery-search .search-panel__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.discovery-search .search-panel__form { display: flex; gap: 0; padding: 4px; border: 1px solid #cbd2c4; border-radius: 12px; background: #fff; }
.page--discovery .discovery-search .search-panel__field { width: 0; min-width: 0; flex: 1; min-height: 44px; padding: 0 10px; font-size: 16px; border: 0; border-radius: 8px; background: transparent; }
.discovery-search .search-panel__actions { display: flex; }
.page--discovery .discovery-search .search-panel__button { width: auto; min-height: 44px; padding: 0 15px; border-radius: 8px; background: var(--home-ink); color: white; font-size: 12px; white-space: nowrap; }
.discovery-search .search-panel__help { display: none; }
.discovery-search .search-panel__summary:empty, .discovery-search .search-panel__results:empty { display: none; }
.discovery-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 72px; }
.discovery-section-heading h1 { font-size: 21px; margin: 0; line-height: 1.5; letter-spacing: 1px; }
.discovery-themes { scroll-margin-top: 12px; }
.discovery-theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.discovery-theme { display: block; overflow: hidden; border-radius: 18px; background: #edf0e5; text-decoration: none; }
.discovery-tone-1 { background: #f0e6d7; }
.discovery-tone-2 { background: #f6e3dc; }
.discovery-tone-3 { background: #e5edf0; }
.discovery-tone-4 { background: #f2ebd7; }
.discovery-tone-5 { background: #e4ede5; }
.discovery-theme[hidden] { display: none; }
.discovery-theme__icons { display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 4px; align-items: center; padding: 16px 18px 0; color: #465346; }
.discovery-theme__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.4; }
.discovery-theme__arrow { font-size: 22px; line-height: 1; }
.discovery-theme__photo { padding: 12px 20px 22px; }
.page--discovery .discovery-theme .product-card__media-frame { height: 180px; min-height: 0; background: transparent; border: 0; border-radius: 0; }
.page--discovery .discovery-theme .product-card__image { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 0; }
.page--discovery .discovery-theme .product-card__image-fallback { padding: 8px; }
.page--discovery .discovery-theme .product-card__image-fallback-title { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.discovery-theme .product-card__image-fallback-note { display: none; }
.page--discovery .site-footer { padding: 24px 22px; border-top: 1px solid #e6e6db; font-size: 11px; color: var(--home-muted); }
@media (max-width: 679px) {
  .page--discovery .page-main { padding: 0 18px 28px; }
  .discovery-header { height: 78px; }
  .discovery-brand strong { font-size: 25px; }
  .discovery-section-heading { min-height: 67px; }
  .discovery-section-heading h1 { font-size: 20px; }
  .discovery-theme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .discovery-theme__icons { padding: 14px 14px 0; }
  .discovery-theme__photo { padding: 9px 16px 19px; }
  .page--discovery .discovery-theme .product-card__media-frame { height: 135px; }
}
@media (prefers-reduced-motion: no-preference) {
  .discovery-theme { transition: box-shadow .2s ease; }
  .discovery-theme:hover { box-shadow: 0 8px 20px #29363018; }
}
