:root {
  /* ホーム画面 調整エリア: この数字を変えるとトップ画面の見た目を調整できます */
  --home-symbol-width: 52px;
  --home-logo-width: 260px;
  --home-logo-margin-top: 0px;
  --home-logo-gap: 18px;
  --home-description-margin-top: 32px;
  --home-description-height: 150px;
  --home-description-font-size: 18px;
  --home-introduction-offset-x: 0px;
  --home-introduction-offset-y: 0px;
  --home-search-width: 460px;
  --home-search-height: 37px;
  --home-search-margin-top: 40px;
  --home-search-icon-size: 17px;
  --home-search-shift-y: 0px;
  --home-search-shift-x: 0px;
  --brand-color: #006935;
  --home-search-border-color: var(--brand-color);
  --home-search-border-width: 1px;
  --home-content-shift-y: -22px;

  /* 詳細ページ ヘッダーロゴ調整エリア */
  --detail-header-symbol-size: 28px;
  --detail-header-symbol-size-mobile: 24px;
  --detail-header-wordmark-width: 126px;
  --detail-header-wordmark-height: 22px;
  --detail-header-wordmark-width-mobile: 96px;
  --detail-header-wordmark-height-mobile: 17px;
  --detail-header-logo-shift-y: 0px;

  /* 詳細ページ テキスト調整エリア */
  --detail-name-font-size-adjust: 0px;
  --detail-name-shift-y: 0px;
  --detail-name-shift-x: 0px;
  --detail-hybrid-title-shift-x: 10px;
  --detail-scientific-name-size: 14px;
  --detail-scientific-name-shift-y: 0px;
  --detail-scientific-name-shift-x: 0px;
  --detail-description-font-size: 14px;
  --detail-description-line-height: 1.78;
  --detail-description-paragraph-gap: 8px;
  --detail-description-max-width: 508px;
  --detail-description-shift-y: 0px;
  --detail-description-shift-x: 0px;
  --detail-related-name-font-size: 14px;
  --detail-related-name-shift-y: 0px;
  --detail-related-name-shift-x: 8px;
  --detail-related-image-size: 148px;
  --detail-related-list-shift-y: 0px;
  --detail-related-list-shift-x: 0px;
  --detail-tag-font-size: 12px;
  --detail-tags-shift-y: 0px;
  --detail-tags-shift-x: 0px;
  --detail-related-heading-size: 15px;
  --detail-related-heading-shift-y: 0px;
  --detail-related-heading-shift-x: 0px;
  --detail-back-button-size: 11.5px;
  --detail-back-button-min-height: 30px;
  --detail-back-button-padding-y: 4px;
  --detail-back-button-padding-x: 10px;
  --detail-back-button-shift-y: 0px;
  --detail-back-button-shift-x: 0px;
  --detail-back-button-bg-alpha: 0.72;
  --detail-main-image-scale: 1;
  --detail-main-image-shift-y: 0px;
  --detail-main-image-shift-x: 0px;
  --detail-lightbox-image-position-x: 50%;
  --detail-lightbox-image-position-y: 50%;
  --detail-main-coming-soon-font-size: 24px;
  --detail-main-frame-ratio: 120;
  --detail-main-frame-height: calc(41.67vw - 6.67px);
  --detail-main-frame-min-height: 0px;
  --detail-main-frame-height-adjust: -48px;
  --detail-slider-dots-shift-y: -20px;
  --detail-copy-column-shift-y: -2px;
  --detail-upper-info-shift-y: 0px;
  --detail-pc-image-top-gap: 12px;
  --detail-pc-image-left-gap: 4px;
  --detail-pc-image-stack-gap: 0px;
  --detail-pc-column-gap-adjust: 0px;
  --detail-pc-layout-top-gap: 24px;
  --detail-pc-layout-max-width: 1140px;
  --detail-pc-image-column-width: 592px;
  --detail-pc-copy-column-width: 508px;
  --detail-pc-column-gap: 40px;
  --detail-copy-column-sticky-top: 120px;
  --detail-related-section-margin-top-adjust: 0px;
  --detail-related-section-max-width: var(--detail-pc-layout-max-width);
  --detail-related-section-side-gap: 4px;
  --detail-related-card-gap: 2px;
  --detail-related-heading-line-gap: 2px;
  --detail-related-heading-line-color: #c4c4c4;

  /* サイズ調整エリア: まずここだけを変えると全体サイズを調整できます */
  --hero-image-height: clamp(260px, 47vw, 480px);
  --detail-photo-max-width: 980px;
  --detail-photo-height: min(60vh, 640px);
  --detail-photo-height-mobile: min(50vh, 400px);
  --detail-photo-padding: clamp(6px, 1.4vw, 14px);
  --detail-photo-padding-mobile: 8px;
  --detail-photo-card-radius: 28px;
  --detail-photo-image-radius: 18px;
  --detail-info-card-radius: 22px;
  --list-card-image-ratio: 1 / 1;
  --card-radius: 18px;
  --large-card-radius: 24px;
  --card-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  --large-card-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
  --detail-info-shadow: 0 14px 36px rgba(0, 0, 0, 0.05);

  --page: #ffffff;
  --surface: #ffffff;
  --soft: #f5f5f7;
  --accent-soft: #f7f7f8;
  --selected: #1d1d1f;
  --accent: var(--brand-color);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5e5;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.splash-body {
  min-height: 100vh;
  background: #ffffff;
  color: var(--text);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 16px calc(var(--nav-height) + 28px);
}

.section-title,
.filter-title,
.row-title {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}

.section-title {
  font-size: 22px;
}

.splash-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vh, 48px) 22px;
  overflow: hidden;
}

.splash-card {
  position: relative;
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(var(--home-content-shift-y));
}

.home-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--home-logo-gap);
  max-width: 100%;
  opacity: 0;
  animation: homeFadeIn 1.6s ease-out forwards;
}

.home-symbol-image {
  position: relative;
  width: min(34vw, var(--home-symbol-width));
  height: auto;
  display: block;
  margin-bottom: 0;
}

.home-symbol-source {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.home-logo-image {
  width: min(66vw, var(--home-logo-width));
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: var(--home-logo-margin-top);
}

.home-logo-segment {
  position: relative;
  display: block;
  width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
}

.home-logo-japanese {
  aspect-ratio: 972 / 167;
}

.home-logo-english {
  aspect-ratio: 670 / 136;
}

.home-logo-source {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.home-logo-english .home-logo-source {
  transform: translateY(-48.48485%);
}

.home-logo-japanese.is-custom-branding .home-logo-source {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .has-home-brand-color .home-symbol-image:not(.is-custom-branding):not(.preserve-source-color)::before,
  .has-home-brand-color .home-logo-japanese:not(.is-custom-branding):not(.preserve-source-color)::before,
  .has-detail-brand-color .detail-header-symbol:not(.is-custom-branding):not(.preserve-source-color)::before,
  .has-detail-brand-color .detail-header-wordmark:not(.is-custom-branding):not(.preserve-source-color)::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
  }

  .has-home-brand-color .home-symbol-image:not(.is-custom-branding):not(.preserve-source-color)::before {
    background: var(--home-brand-color);
    -webkit-mask: url("../images/つぶ3.png") center / contain no-repeat;
    mask: url("../images/つぶ3.png") center / contain no-repeat;
  }

  .has-home-brand-color .home-logo-japanese:not(.is-custom-branding):not(.preserve-source-color)::before {
    background: var(--home-brand-color);
    -webkit-mask: url("../images/つぶつぶ屋.png") center / contain no-repeat;
    mask: url("../images/つぶつぶ屋.png") center / contain no-repeat;
  }

  .has-detail-brand-color .detail-header-symbol:not(.is-custom-branding):not(.preserve-source-color)::before {
    background: var(--detail-brand-color);
    -webkit-mask: url("../images/つぶ3.png") center / contain no-repeat;
    mask: url("../images/つぶ3.png") center / contain no-repeat;
  }

  .has-detail-brand-color .detail-header-wordmark:not(.is-custom-branding):not(.preserve-source-color)::before {
    background: var(--detail-brand-color);
    -webkit-mask: url("../images/つぶつぶ屋.png") center / contain no-repeat;
    mask: url("../images/つぶつぶ屋.png") center / contain no-repeat;
  }

  .has-home-brand-color .home-symbol-image:not(.is-custom-branding):not(.preserve-source-color) .home-symbol-source,
  .has-home-brand-color .home-logo-japanese:not(.is-custom-branding):not(.preserve-source-color) .home-logo-source,
  .has-detail-brand-color .detail-header-symbol:not(.is-custom-branding):not(.preserve-source-color) .detail-header-symbol-image,
  .has-detail-brand-color .detail-header-wordmark:not(.is-custom-branding):not(.preserve-source-color) .detail-header-wordmark-image {
    visibility: hidden;
  }
}

.home-character {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.additional-branding-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-symbol-image[hidden],
.home-logo-image[hidden],
.home-logo-japanese[hidden],
.home-logo-english[hidden],
.home-character[hidden],
.additional-branding-logo[hidden],
.detail-header-brand[hidden],
.detail-header-symbol[hidden],
.detail-header-wordmark[hidden],
.detail-character[hidden] {
  display: none !important;
}

.splash-copy {
  position: relative;
  left: var(--home-introduction-offset-x);
  top: var(--home-introduction-offset-y);
  margin: var(--home-description-margin-top) 0 0;
  min-height: var(--home-description-height);
  color: #2b2b2d;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: var(--home-description-font-size);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  opacity: 0;
  animation: homeFadeIn 1.6s ease-out forwards;
}

.splash-search {
  position: relative;
  width: min(100%, var(--home-search-width));
  margin-top: var(--home-search-margin-top);
  opacity: 0;
  transform: translate(var(--home-search-shift-x), var(--home-search-shift-y));
  animation: homeFadeIn 1.6s ease-out forwards;
}

.splash-search-input {
  width: 100%;
  min-height: var(--home-search-height);
  padding: 0 50px 0 20px;
  color: var(--text);
  font-size: 17px;
  background: #ffffff;
  border: var(--home-search-border-width) solid var(--home-brand-color, var(--home-search-border-color));
  border-radius: 999px;
  outline: none;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--home-brand-color, var(--brand-color)) 4.5%, transparent);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.splash-search-input::placeholder {
  color: #9a9a9f;
}

.splash-search-input:focus {
  border-color: var(--home-brand-color, var(--brand-color));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--home-brand-color, var(--brand-color)) 8%, transparent);
}

.splash-search-button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--home-brand-color, var(--accent));
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transform: translateY(-50%);
}

.splash-search-icon {
  width: var(--home-search-icon-size);
  height: var(--home-search-icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease, opacity 160ms ease;
}

.splash-search-button:hover .splash-search-icon,
.splash-search-button:focus-visible .splash-search-icon {
  transform: scale(1.05);
  opacity: 0.82;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  overflow: hidden;
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(229, 229, 229, 0.95);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.search-suggestions[hidden] {
  display: none;
}

.search-message {
  width: min(100%, var(--home-search-width));
  margin: 10px auto 0;
  padding: 10px 14px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  text-align: center;
}

.search-message[hidden] {
  display: none;
}

.search-suggestion-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 10px 12px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.search-suggestion-item:hover,
.search-suggestion-item.is-active {
  background: #f5f5f7;
}

.search-suggestion-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.search-suggestion-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.splash-search .search-suggestions {
  top: calc(100% + 10px);
  overflow: visible;
  padding: 4px 0;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-color) 16%, transparent);
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 0;
  box-shadow: none;
}

.splash-search .search-suggestion-item {
  gap: 1px;
  padding: 7px 10px 8px;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.055);
}

.splash-search .search-suggestion-item:last-child {
  border-bottom: 0;
}

.splash-search .search-suggestion-item:hover,
.splash-search .search-suggestion-item.is-active {
  color: var(--brand-color);
  background: color-mix(in srgb, var(--brand-color) 4.5%, transparent);
}

.splash-search .search-suggestion-name {
  font-size: 14px;
  font-weight: 520;
  line-height: 1.28;
}

.splash-search .search-suggestion-meta {
  color: rgba(110, 110, 115, 0.86);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.24;
}

@keyframes homeFadeIn {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-brand-lockup,
  .home-symbol-image,
  .home-logo-image,
  .splash-copy,
  .splash-search {
    opacity: 1;
    animation: none;
  }
}

@media (max-height: 760px) {
  :root {
    --home-symbol-width: 46px;
    --home-logo-width: 222px;
    --home-logo-margin-top: 0px;
    --home-logo-gap: 15px;
    --home-description-margin-top: 20px;
    --home-description-height: 168px;
    --home-description-font-size: 16px;
    --home-search-height: 52px;
    --home-search-margin-top: 20px;
    --home-content-shift-y: -10px;
  }

  .splash-page {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --home-symbol-width: 48px;
    --home-logo-width: 224px;
    --home-logo-gap: 14px;
    --home-description-margin-top: 24px;
    --home-description-height: 188px;
    --home-description-font-size: 17px;
    --home-search-width: 360px;
    --home-search-margin-top: 26px;
    --home-content-shift-y: -8px;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  :root {
    --home-symbol-width: 42px;
    --home-logo-width: 210px;
    --home-logo-gap: 12px;
    --home-description-margin-top: 18px;
    --home-description-height: 158px;
    --home-description-font-size: 16px;
    --home-search-margin-top: 18px;
    --home-content-shift-y: 0px;
  }
}

.filter-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.home-header {
  padding: 10px 4px 14px;
}

.home-title {
  margin: 0;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-hero {
  margin-bottom: 18px;
}

.hero-frame {
  position: relative;
  display: block;
  min-height: var(--hero-image-height);
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
  border: 1px solid var(--line);
  border-radius: var(--large-card-radius);
  box-shadow: var(--large-card-shadow);
}

.hero-image {
  width: 100%;
  height: var(--hero-image-height);
  object-fit: cover;
  display: block;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.18));
}

.hero-frame.is-missing::before {
  content: "つぶつぶ図鑑";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(29, 29, 31, 0.72);
  font-size: clamp(26px, 6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-frame.is-missing .hero-copy {
  display: none;
}

.hero-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.84;
}

.hero-copy strong {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
  font-size: clamp(28px, 7vw, 52px);
  line-height: 1.05;
}

.hero-copy span:last-child {
  max-width: 44em;
  font-size: 16px;
  line-height: 1.5;
}

.home-search,
.search-area {
  position: relative;
  margin: 0 0 22px;
}

.home-search {
  display: flex;
  align-items: center;
}

.search-mark {
  position: absolute;
  left: 18px;
  z-index: 1;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.home-search-input,
.search-input {
  width: 100%;
  min-height: 50px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.home-search-input {
  padding: 13px 18px 13px 50px;
}

.search-input {
  padding: 13px 18px;
  font-size: 17px;
}

.home-search-input:focus,
.search-input:focus {
  border-color: color-mix(in srgb, var(--brand-color) 45%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-color) 10%, transparent);
}

.finder-section,
.filter-section {
  margin-top: 24px;
}

.chip-row,
.category-tabs {
  display: flex;
  gap: 10px;
  margin: 0 -16px;
  padding: 0 16px 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chip-row::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar,
.horizontal-cards::-webkit-scrollbar,
.detail-slider::-webkit-scrollbar {
  display: none;
}

.filter-chip,
.tab-button {
  flex: 0 0 auto;
  appearance: none;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.filter-chip.active,
.tab-button.active {
  color: #ffffff;
  background: var(--selected);
  border-color: var(--selected);
  box-shadow: 0 12px 28px rgba(29, 29, 31, 0.16);
}

.filter-chip-static {
  cursor: default;
}

.home-rows {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.row-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.row-title {
  font-size: 22px;
}

.row-more {
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.row-scroll-wrap {
  position: relative;
}

.horizontal-cards {
  display: flex;
  gap: 14px;
  margin: 0 -16px;
  padding: 0 16px 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.row-scroll-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.row-scroll-button-prev {
  left: 2px;
}

.row-scroll-button-next {
  right: 2px;
}

.row-scroll-button:disabled {
  color: var(--muted);
  opacity: 0.35;
  cursor: default;
}

.row-scroll-button[hidden] {
  display: none;
}

.plant-card,
.item-card {
  position: relative;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.plant-card {
  flex: 0 0 148px;
}

.plant-card-image-wrap,
.item-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.plant-card-image-wrap {
  aspect-ratio: var(--list-card-image-ratio);
}

.plant-card-image,
.item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-placeholder,
.plant-card-image-wrap.is-missing::after,
.item-image-wrap.is-missing::after {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.plant-card-image-wrap.is-missing::after,
.item-image-wrap.is-missing::after {
  content: "COMING SOON";
  position: absolute;
  inset: 0;
}

.plant-card-body,
.item-card-body {
  display: grid;
  gap: 3px;
  padding: 10px 11px 12px;
}

.plant-card-name,
.item-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.plant-card-category,
.item-category {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.empty-card,
.empty-message {
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
}

.empty-card {
  flex: 0 0 180px;
  padding: 32px 18px;
  font-size: 15px;
}

.empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px 18px;
  font-size: 16px;
  text-align: center;
}

.list-header {
  padding: 8px 4px 16px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.home-button:hover {
  color: #ffffff;
  background: var(--selected);
  border-color: var(--selected);
}

.list-header .home-button {
  margin-bottom: 18px;
}

.list-title {
  margin: 0;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.list-lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

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

.item-card {
  min-width: 0;
}

.list-filter-title {
  margin: 28px 0 -8px;
  color: var(--text);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.35;
}

.list-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.list-more-button {
  appearance: none;
  min-width: 150px;
  padding: 11px 22px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.list-more-button:hover,
.list-more-button:focus-visible {
  border-color: var(--text);
}

.list-more-button[hidden] {
  display: none;
}

.item-image-wrap {
  aspect-ratio: var(--list-card-image-ratio);
  border-radius: 0 0 16px 16px;
}

.detail-page {
  position: relative;
  width: 100%;
  padding: 0 clamp(8px, 1.2vw, 16px) 48px;
  overflow-x: hidden;
  font-family: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 0 calc(clamp(8px, 1.2vw, 16px) * -1);
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 0;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.detail-header-brand {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--detail-header-logo-shift-y));
  z-index: 1;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: auto;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.detail-header-symbol {
  position: relative;
  display: block;
  width: var(--detail-header-symbol-size);
  height: var(--detail-header-symbol-size);
}

.detail-header-symbol-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-header-wordmark {
  position: relative;
  display: block;
  width: var(--detail-header-wordmark-width);
  height: var(--detail-header-wordmark-height);
  overflow: hidden;
}

.detail-header-wordmark-image {
  display: block;
  width: var(--detail-header-wordmark-width);
  height: auto;
}

.detail-header-wordmark.is-custom-branding .detail-header-wordmark-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-character {
  position: absolute;
  left: 50%;
  top: 120px;
  z-index: 10;
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#detail-additional-logos .additional-branding-logo {
  top: 120px;
  z-index: 10;
}

.detail-header:has(.detail-header-search.is-open) .detail-header-brand {
  opacity: 0;
}

.detail-back-button {
  position: absolute;
  top: clamp(12px, 1.5vw, 20px);
  left: calc(clamp(16px, 2vw, 28px) + 27px);
  z-index: 9;
  min-height: var(--detail-back-button-min-height);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: var(--detail-back-button-padding-y) var(--detail-back-button-padding-x);
  color: rgba(29, 29, 31, 0.82);
  background: rgba(255, 255, 255, var(--detail-back-button-bg-alpha));
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  box-shadow: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: inherit;
  font-size: var(--detail-back-button-size);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1;
  cursor: pointer;
  transform: translate(var(--detail-back-button-shift-x), var(--detail-back-button-shift-y));
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.detail-back-button:hover,
.detail-back-button:focus-visible {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(29, 29, 31, 0.08);
}

.back-button {
  min-height: 44px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 2px;
  color: var(--detail-brand-color, var(--brand-color));
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.08em;
  font-family: inherit;
  cursor: pointer;
  transition: color 160ms ease, opacity 160ms ease;
}

.back-button:hover,
.back-button:focus-visible {
  color: var(--detail-brand-color, var(--accent));
  opacity: 0.82;
}

.back-button[hidden],
.detail-header-search.is-open .back-button {
  display: none;
}

.back-search-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-button-text {
  position: relative;
  display: inline-block;
  transform: translateY(1px);
  padding-bottom: 4px;
  line-height: 1.2;
}

.back-button-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 180%;
  height: 1px;
  background: currentColor;
}

.detail-header-search {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.detail-header-search-panel {
  position: relative;
  z-index: 45;
  width: min(260px, 72vw);
}

.detail-header-search-panel[hidden] {
  display: none;
}

.detail-header-search-form {
  position: relative;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid var(--detail-brand-color, color-mix(in srgb, var(--brand-color) 72%, transparent));
  box-shadow: none;
}

.detail-header-search-form:focus-within {
  border-bottom-color: var(--detail-brand-color, var(--brand-color));
}

.detail-header-search-input {
  width: 100%;
  min-height: 36px;
  padding: 0 32px 0 34px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.detail-header-search-input:focus {
  outline: none;
  box-shadow: none;
}

.detail-header-search-submit,
.detail-header-search-close {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--detail-brand-color, var(--brand-color));
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.detail-header-search-submit {
  left: 0;
  width: 30px;
  height: 30px;
}

.detail-header-search-close {
  right: 0;
  width: 28px;
  height: 28px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.detail-header-search-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-header-search-panel .search-suggestions {
  top: calc(100% + 10px);
  overflow: visible;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-color) 16%, transparent);
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 0;
  box-shadow: none;
}

.detail-header-search-panel .search-suggestion-item {
  padding: 9px 8px 10px;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.055);
}

.detail-header-search-panel .search-suggestion-item:last-child {
  border-bottom: 0;
}

.detail-header-search-panel .search-suggestion-item:hover,
.detail-header-search-panel .search-suggestion-item.is-active {
  color: var(--brand-color);
  background: color-mix(in srgb, var(--brand-color) 4.5%, transparent);
}

.detail-header-search-panel .search-suggestion-name {
  font-size: 14px;
  font-weight: 520;
}

.detail-header-search-panel .search-suggestion-meta {
  color: rgba(110, 110, 115, 0.86);
  font-size: 11px;
  font-weight: 300;
}

.detail-header-search-panel .search-message {
  width: 100%;
  margin: 8px 0 0;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-color) 16%, transparent);
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
}

.detail-product-layout {
  display: grid;
  gap: clamp(24px, 4vw, 58px);
  margin: clamp(18px, 3vw, 42px) auto 0;
}

.detail-copy-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 34px;
}

.detail-name {
  margin: 0 0 24px;
  color: var(--text);
  font-size: calc(clamp(34px, 6vw, 58px) + var(--detail-name-font-size-adjust));
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.06em;
  line-break: strict;
  max-width: 100%;
  overflow-wrap: normal;
  text-align: left;
  white-space: nowrap;
  word-break: normal;
  transform: translate(var(--detail-name-shift-x), var(--detail-name-shift-y));
}

.detail-name-line {
  display: block;
  line-break: strict;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.detail-name-fit-overflow,
.detail-name-fit-overflow .detail-name-line,
.detail-name-fit-overflow .detail-name-line-cross {
  white-space: normal;
}

.detail-name-line-cross {
  margin-top: 0.08em;
  font-size: 1em;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.detail-name:has(+ .detail-scientific-name:not([hidden])) {
  margin-bottom: 4px;
}

.detail-scientific-name {
  width: fit-content;
  min-width: 11.5em;
  margin: 0 0 18px;
  color: rgba(29, 29, 31, 0.64);
  font-size: var(--detail-scientific-name-size);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  transform: translate(var(--detail-scientific-name-shift-x), var(--detail-scientific-name-shift-y));
}

.detail-scientific-name[hidden] {
  display: none;
}

.detail-image-section {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.detail-slider-wrap {
  position: relative;
  width: 100%;
}

.detail-slider {
  width: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: grab;
}

.detail-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.detail-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: min(82vh, 840px);
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.detail-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  transform: translate(var(--detail-main-image-shift-x), var(--detail-main-image-shift-y)) scale(var(--detail-main-image-scale));
  transform-origin: center center;
}

.detail-image:not([hidden]) {
  cursor: zoom-in;
}

.detail-main-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--soft);
  font-size: var(--detail-main-coming-soon-font-size);
  font-weight: 300;
  letter-spacing: 0.12em;
}

.detail-slide.is-missing::after {
  content: "COMING SOON";
  width: min(100%, 220px);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  font-size: 15px;
  font-weight: 650;
}

.detail-slide.is-missing.detail-slide-has-placeholder::after {
  content: none;
}

.detail-slide-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 50%;
  color: transparent;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
  font-size: 28px;
  font-weight: 300;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.detail-slide-button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6.8px;
  height: 6.8px;
  border-top: 1.2px solid rgba(29, 29, 31, 0.68);
  border-right: 1.2px solid rgba(29, 29, 31, 0.68);
  pointer-events: none;
}

.detail-slide-button-prev {
  left: 2px;
}

.detail-slide-button-prev::before {
  transform: translate(-42%, -50%) rotate(-135deg);
}

.detail-slide-button-next {
  right: 2px;
}

.detail-slide-button-next::before {
  transform: translate(-58%, -50%) rotate(45deg);
}

.detail-slide-button:hover,
.detail-slide-button:focus-visible,
.detail-slide-button:active {
  transform: translateY(-50%);
}

.detail-slide-button:disabled {
  opacity: 0.32;
  cursor: default;
}

.detail-slide-button[hidden] {
  display: none;
}

.detail-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 18px 0 0;
}

.detail-dots:empty {
  display: none;
}

.detail-dot {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.detail-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7c7cc;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.detail-dot.active::before {
  background: var(--selected);
  transform: translate(-50%, -50%) scale(1.18);
}

body.detail-lightbox-open {
  overflow: hidden;
}

.detail-lightbox {
  --detail-lightbox-dots-space: 64px;
  --detail-lightbox-stage-max-height: min(86vh, calc(100vh - var(--detail-lightbox-dots-space) - 56px));
  --detail-lightbox-stage-width: min(88vw, calc(var(--detail-lightbox-stage-max-height) * 4 / 3));
  --detail-lightbox-stage-height: min(var(--detail-lightbox-stage-max-height), calc(88vw * 3 / 4));
  --detail-lightbox-control-offset: clamp(40px, 4.2vw, 56px);
  --detail-lightbox-close-gap: clamp(12px, 1.6vw, 24px);
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(48px, 8vw) minmax(0, 1fr) minmax(48px, 8vw);
  grid-template-rows: minmax(0, auto) auto;
  align-content: center;
  align-items: center;
  justify-items: center;
  padding: 28px 0;
  background: #fff;
  background-color: #fff;
  opacity: 1;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  filter: none;
  mix-blend-mode: normal;
  isolation: isolate;
}

.detail-lightbox[hidden] {
  display: none;
}

.detail-lightbox-stage {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  width: var(--detail-lightbox-stage-width);
  height: var(--detail-lightbox-stage-height);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
  touch-action: none;
}

.detail-lightbox-dots {
  grid-column: 1 / -1;
  grid-row: 2;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 18px;
}

.detail-lightbox-dots[hidden],
.detail-lightbox-dots:empty {
  display: none;
}

.detail-lightbox-dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.detail-lightbox-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9c9cf;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.detail-lightbox-dot.active::before {
  background: #2f2f33;
  transform: translate(-50%, -50%) scale(1.18);
}

.detail-lightbox-backdrop {
  display: none;
}

.detail-lightbox-stage::after {
  content: none;
}

.detail-lightbox-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: var(--detail-lightbox-image-position-x) var(--detail-lightbox-image-position-y);
  position: relative;
  z-index: 1;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  cursor: zoom-in;
  transform-origin: center center;
  will-change: transform;
}

.detail-lightbox-image.is-zoomed {
  cursor: grab;
}

.detail-lightbox-image.is-zoomed:active {
  cursor: grabbing;
}

.detail-lightbox-close,
.detail-lightbox-nav {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #444444;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.detail-lightbox-close:hover,
.detail-lightbox-close:focus-visible,
.detail-lightbox-nav:hover,
.detail-lightbox-nav:focus-visible {
  background: rgba(0, 0, 0, 0.08);
  color: #222222;
}

.detail-lightbox-close::before,
.detail-lightbox-close::after,
.detail-lightbox-nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.detail-lightbox-close::before,
.detail-lightbox-close::after {
  width: 11px;
  height: 1.25px;
  background: currentColor;
  border-radius: 999px;
}

.detail-lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.detail-lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.detail-lightbox-nav::before {
  width: 7.5px;
  height: 7.5px;
  border-top: 1.25px solid currentColor;
  border-right: 1.25px solid currentColor;
}

.detail-lightbox-prev::before {
  transform: translate(-42%, -50%) rotate(-135deg);
}

.detail-lightbox-next::before {
  transform: translate(-58%, -50%) rotate(45deg);
}

.detail-lightbox-close {
  position: absolute;
  top: max(18px, calc((100vh - var(--detail-lightbox-stage-height)) / 2 - 44px - var(--detail-lightbox-close-gap)));
  right: max(18px, calc((100vw - var(--detail-lightbox-stage-width)) / 2 - 44px - var(--detail-lightbox-close-gap)));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.detail-lightbox-nav {
  grid-row: 1;
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}

.detail-lightbox-prev {
  left: max(16px, calc((100vw - var(--detail-lightbox-stage-width)) / 2 - var(--detail-lightbox-control-offset)));
}

.detail-lightbox-next {
  right: max(16px, calc((100vw - var(--detail-lightbox-stage-width)) / 2 - var(--detail-lightbox-control-offset)));
}

.detail-lightbox-nav:disabled {
  opacity: 0.32;
  cursor: default;
}

.detail-lightbox-nav[hidden] {
  display: none;
}

.detail-info,
.recommend-section {
  width: 100%;
  margin: 0;
}

.detail-info {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  transform: translate(var(--detail-tags-shift-x), var(--detail-tags-shift-y));
}

.detail-image-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 22px;
  padding: 6px 12px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.detail-image-note[hidden] {
  display: none;
}

.detail-tag,
.parent-link,
.parent-name {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #343436;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: var(--detail-tag-font-size);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
}

.detail-tag {
  cursor: default;
}

.detail-tag-link {
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.detail-tag-link:hover,
.detail-tag-link:focus-visible {
  border-color: #8f8f92;
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
}

.tag-list-section {
  position: relative;
}

.tag-list-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 16px;
  margin-bottom: 16px;
}

.tag-list-back-button {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  padding-left: 0;
  transform: none;
}

.tag-list-page .tag-list-header .section-title {
  flex: 0 1 auto;
  margin: 0;
  white-space: nowrap;
}

.tag-list-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.tag-list-group + .tag-list-group {
  margin-top: 28px;
}

.detail-description {
  width: 100%;
  max-width: var(--detail-description-max-width);
  margin: 0;
  color: #343436;
  font-size: var(--detail-description-font-size);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: var(--detail-description-line-height);
  transform: translate(var(--detail-description-shift-x), var(--detail-description-shift-y));
}

.detail-description-paragraph {
  display: block;
  white-space: pre-line;
}

.detail-description-paragraph + .detail-description-paragraph {
  margin-top: var(--detail-description-paragraph-gap);
}

.detail-description-toggle {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 16px;
  padding: 0 0 3px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.42);
  border-radius: 0;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.detail-description-toggle:hover,
.detail-description-toggle:focus-visible {
  border-bottom-color: var(--text);
  opacity: 0.72;
}

.detail-description-toggle[hidden] {
  display: none;
}

.detail-parents {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-parents[hidden],
.detail-care[hidden],
.detail-echeveria-care[hidden],
.recommend-section[hidden] {
  display: none;
}

.parents-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.parents-links {
  --detail-parent-tag-scale: 1;
  --detail-parent-tag-gap: 10px;
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--detail-parent-tag-gap);
  row-gap: 10px;
  font-size: calc(var(--detail-tag-font-size) * var(--detail-parent-tag-scale));
}

.parents-links .parent-link,
.parents-links .parent-name {
  min-height: 2.5em;
  padding: 0.5em 1em;
  font-size: inherit;
}

.parent-name {
  color: var(--muted);
  background: var(--soft);
}

.detail-care,
.detail-echeveria-care {
  min-width: 0;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-care-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.detail-care-summary::-webkit-details-marker {
  display: none;
}

.detail-care-summary::after {
  content: "＋";
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
}

.detail-care-disclosure[open] > .detail-care-summary::after {
  content: "−";
}

.detail-care-text {
  margin: 0;
  padding-top: 24px;
  color: #343436;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.78;
  white-space: pre-line;
}

.detail-echeveria-care-title {
  margin: 0;
}

.detail-echeveria-care-text {
  margin: 0;
  color: #343436;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.78;
  white-space: pre-line;
}

.recommend-section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.recommend-section .section-title {
  margin-bottom: 16px;
  font-size: var(--detail-related-heading-size);
  font-weight: 400;
  letter-spacing: 0.08em;
  transform: translate(var(--detail-related-heading-shift-x), var(--detail-related-heading-shift-y));
}

.detail-page .recommend-section .plant-card {
  width: var(--detail-related-image-size);
  flex: 0 0 var(--detail-related-image-size);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.detail-page .recommend-section .plant-card-image-wrap {
  background: transparent;
  border-radius: 0;
}

.detail-page .recommend-section .plant-card-image-wrap.is-missing::after {
  content: "COMING SOON";
}

.detail-related-image-placeholder {
  font-weight: 300;
  letter-spacing: 0.08em;
}

.detail-page .recommend-section .horizontal-cards {
  transform: translate(var(--detail-related-list-shift-x), var(--detail-related-list-shift-y));
}

.detail-page .recommend-section .plant-card-body {
  padding: 9px 0 0;
}

.detail-page .recommend-section .plant-card-name {
  display: inline-block;
  font-size: var(--detail-related-name-font-size);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-break: strict;
  overflow-wrap: normal;
  transform: translate(var(--detail-related-name-shift-x), var(--detail-related-name-shift-y));
  word-break: keep-all;
}

.detail-related-name-line {
  display: block;
}

.detail-related-name-line-cross {
  white-space: nowrap;
}

.detail-page .recommend-section .plant-card-category {
  display: none;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  height: var(--nav-height);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(229, 229, 229, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.bottom-nav-link {
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
}

.bottom-nav-link.active {
  color: var(--selected);
}

.bottom-nav-single {
  grid-template-columns: 1fr;
}

.detail-bottom-search-nav {
  height: auto;
  min-height: var(--nav-height);
  padding: 11px 16px max(11px, env(safe-area-inset-bottom));
}

.detail-bottom-search {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
}

.detail-bottom-search-input {
  width: 100%;
  min-height: 46px;
  padding: 0 54px 0 18px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--detail-brand-color, color-mix(in srgb, var(--brand-color) 50%, transparent));
  border-radius: 999px;
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.055);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.03em;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.detail-bottom-search-input:focus {
  border-color: var(--detail-brand-color, var(--brand-color));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--detail-brand-color, var(--brand-color)) 8%, transparent);
}

.detail-bottom-search-button {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--detail-brand-color, var(--brand-color));
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transform: translateY(-50%);
}

.detail-bottom-search-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-bottom-search .search-suggestions {
  top: auto;
  bottom: calc(100% + 8px);
}

.detail-bottom-search-nav .search-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(100% + 8px);
  width: auto;
  margin: 0;
  font-weight: 400;
}

@media (min-width: 900px) {
  .detail-page.app-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 56px;
    overflow: visible;
  }

  .detail-header {
    margin: 0;
    padding: 16px clamp(16px, 2vw, 28px);
  }

  .detail-header-search {
    transform: translate(
      calc(((100vw - min(calc(100vw - 48px), var(--detail-pc-layout-max-width))) / 2) + var(--detail-pc-image-left-gap) - 4px),
      14px
    );
  }

  .detail-product-layout {
    grid-template-columns: minmax(420px, var(--detail-pc-image-column-width)) minmax(360px, var(--detail-pc-copy-column-width));
    grid-template-rows: auto auto;
    align-items: start;
    width: min(calc(100% - 48px), var(--detail-pc-layout-max-width));
    max-width: var(--detail-pc-layout-max-width);
    margin: var(--detail-pc-layout-top-gap) auto 0;
    gap: 0 calc(var(--detail-pc-column-gap) + var(--detail-pc-column-gap-adjust));
  }

  .detail-image-section {
    --detail-main-visible-frame-width: min(100%, calc((100vh - 152px) * 4 / 5));
    position: relative;
    top: auto;
    width: 100%;
    justify-self: stretch;
    padding: var(--detail-pc-image-top-gap) 0 0 var(--detail-pc-image-left-gap);
  }

  .detail-slider-wrap {
    width: var(--detail-main-visible-frame-width);
    overflow: visible;
  }

  .detail-slider {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    cursor: grab;
  }

  .detail-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    height: auto;
    min-height: var(--detail-main-frame-min-height);
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }

  .detail-slide-button {
    display: inline-flex;
  }

  .detail-dots {
    display: flex;
    position: static;
    width: var(--detail-main-visible-frame-width);
    padding: 4px 0 0;
    background: transparent;
    transform: none;
  }

  .detail-copy-column {
    position: static;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: 100%;
    max-width: var(--detail-pc-copy-column-width);
    margin-left: auto;
    margin-right: auto;
    padding: var(--detail-pc-image-top-gap) 0 56px;
    transform: translateY(var(--detail-copy-column-shift-y));
  }

  .detail-echeveria-care {
    grid-column: 1;
    grid-row: 2;
    width: min(
      calc(100% - var(--detail-pc-image-left-gap)),
      calc((100vh - 152px) * 4 / 5)
    );
    margin-left: var(--detail-pc-image-left-gap);
  }

  .detail-care {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: var(--detail-pc-copy-column-width);
    margin-left: auto;
    margin-right: auto;
  }

  .detail-name {
    font-size: calc(clamp(24px, 2.8vw, 36px) + var(--detail-name-font-size-adjust));
    width: 100%;
    text-align: center;
  }

  .detail-scientific-name {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .recommend-section {
    width: min(calc(100% - (var(--detail-related-section-side-gap) * 2)), var(--detail-related-section-max-width));
    margin: calc(clamp(52px, 6vw, 88px) + var(--detail-related-section-margin-top-adjust)) auto 0;
    padding-top: 0;
    border-top: 0;
  }

  .recommend-section .section-title {
    position: relative;
    width: fit-content;
    margin-left: 0;
    margin-bottom: 22px;
    padding-bottom: var(--detail-related-heading-line-gap);
  }

  .recommend-section .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--detail-related-heading-line-color);
  }

  .detail-page .recommend-section .horizontal-cards {
    display: grid;
    grid-auto-columns: calc((100% - 84px) / 4);
    grid-auto-flow: column;
    gap: 28px;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .detail-page .recommend-section .plant-card {
    width: 100%;
    min-width: 0;
    flex: initial;
  }

  .detail-page .recommend-section .plant-card-image-wrap {
    aspect-ratio: 4 / 5;
  }

  .tag-list-page .recommend-section .tag-list-grid {
    grid-template-columns: repeat(4, calc((100% - 84px) / 4));
    grid-auto-columns: initial;
    grid-auto-flow: row;
  }

  .detail-info {
    transform: translateY(var(--detail-upper-info-shift-y));
  }

  .detail-name:has(.detail-name-line-cross) {
    width: 100%;
    margin-left: -16px;
  }

  .detail-name--hybrid {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    transform: translate(calc(var(--detail-name-shift-x) + var(--detail-hybrid-title-shift-x)), var(--detail-name-shift-y));
  }

  .detail-name.detail-name--hybrid:has(.detail-name-line-cross) {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .detail-name--hybrid .detail-name-line {
    text-align: left;
  }

  .detail-name--hybrid .detail-name-line--first {
    transform: none;
  }

  .detail-name--hybrid .detail-name-line--second {
    transform: none;
  }
}

@media (min-width: 720px) {
  .app-shell {
    padding-inline: 28px;
    padding-bottom: 40px;
  }

  .detail-parents {
    margin-bottom: 20px;
  }

  .detail-name {
    white-space: nowrap;
  }

  .bottom-nav {
    display: none;
  }

  .plant-card {
    flex-basis: 172px;
  }

  .item-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 18px;
  }
}

@media (min-width: 720px) and (max-width: 899px) {
  .detail-page .recommend-section .horizontal-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .detail-page .recommend-section .plant-card {
    width: 100%;
    min-width: 0;
    flex: initial;
  }

  .detail-page .recommend-section .plant-card-image-wrap {
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 900px) {
  .item-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .app-shell {
    padding-top: 18px;
  }

  .detail-bottom-search-nav {
    min-height: 0;
    padding: 2px 16px max(2px, env(safe-area-inset-bottom));
  }

  .detail-bottom-search {
    width: min(42vw, 170px);
  }

  .detail-bottom-search-input {
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 0 42px 0 14px;
    border-radius: 18px;
  }

  .detail-bottom-search-button {
    width: 44px;
    height: 44px;
  }

  .detail-bottom-search-icon {
    width: 12px;
    height: 12px;
  }

  .detail-page {
    max-width: 100%;
    padding: 0 16px calc(var(--nav-height) + 28px);
    overflow-x: hidden;
  }

  .detail-header {
    margin: 0 -16px;
    padding: 12px 14px;
  }

  .detail-header-brand {
    gap: 7px;
    width: auto;
  }

  .detail-header-symbol {
    width: var(--detail-header-symbol-size-mobile);
    height: var(--detail-header-symbol-size-mobile);
  }

  .detail-header-wordmark {
    width: var(--detail-header-wordmark-width-mobile);
    height: var(--detail-header-wordmark-height-mobile);
  }

  .detail-header-wordmark-image {
    width: var(--detail-header-wordmark-width-mobile);
  }

  .detail-character {
    top: 100px;
    width: 96px;
  }

  #detail-additional-logos .additional-branding-logo {
    top: 100px;
    width: 96px;
  }

  .detail-product-layout {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: 32px;
    margin-top: 26px;
  }

  .detail-copy-column {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .detail-echeveria-care {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    margin: 34px 0 0;
    padding-top: 26px;
  }

  .detail-info,
  .recommend-section {
    max-width: 100%;
    overflow: visible;
  }

  .detail-product-layout:has(.detail-parents:not([hidden])) + .recommend-section {
    margin-top: 24px;
  }

  .back-button {
    width: 44px;
    padding: 0;
    gap: 0;
  }

  .back-button-text {
    display: none;
  }

  .detail-image-section > .detail-back-button {
    left: 14px;
  }

  .detail-image-section {
    margin-top: 0;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    max-width: calc(100% + 32px);
    padding: 0;
  }

  .detail-slider-wrap,
  .detail-slider {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .detail-slide {
    height: min(100vw, 560px);
    aspect-ratio: 1 / 1;
    padding: 0;
  }

  .detail-image {
    object-fit: cover;
    border-radius: 0;
  }

  .detail-lightbox {
    --detail-lightbox-dots-space: 52px;
    --detail-lightbox-stage-max-height: min(68vh, calc(100vh - var(--detail-lightbox-dots-space) - 72px));
    --detail-lightbox-stage-width: 96vw;
    --detail-lightbox-stage-height: min(var(--detail-lightbox-stage-max-height), calc(96vw * 3 / 4));
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    padding: 20px 0;
  }

  .detail-lightbox-stage {
    width: var(--detail-lightbox-stage-width);
    height: var(--detail-lightbox-stage-height);
    max-height: var(--detail-lightbox-stage-max-height);
  }

  .detail-lightbox-image {
    width: 100%;
    height: 100%;
  }

  .detail-lightbox-dots {
    margin-top: 12px;
  }

  .detail-lightbox-close {
    top: 12px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .detail-lightbox-nav {
    top: 50%;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .detail-lightbox-prev {
    left: 14px;
  }

  .detail-lightbox-next {
    right: 14px;
  }

  .detail-slide-button {
    display: none;
  }

  .detail-name {
    font-size: calc(clamp(27px, 8.2vw, 36px) + var(--detail-name-font-size-adjust));
    line-height: 1.16;
    letter-spacing: 0.045em;
  }

  .detail-description {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    white-space: normal;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  .detail-page .recommend-section .horizontal-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .detail-page .recommend-section .plant-card {
    width: 100%;
    min-width: 0;
    flex: initial;
  }

  .detail-page .recommend-section .plant-card-image-wrap {
    aspect-ratio: 1 / 1;
  }
}
