/* Home and catalogue entry points */
body[data-view="home"] .header .front-search { display: none; }
.header .nav { justify-content: space-between; }
body[data-view="home"] .header .desktop-nav { margin-right: auto; }
.find-hero { display: grid; align-items: center; position: relative; isolation: isolate; min-height: clamp(235px, 24vw, 310px); overflow: hidden; background: #253c30; color: #fffdf5; border-radius: 7px; margin-bottom: clamp(24px,3.6vw,46px); }
.find-hero picture, .find-hero picture img, .find-hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.find-hero picture { z-index: -2; }
.find-hero picture img { object-fit: cover; object-position: 59% 55%; }
.find-hero::before { content: ""; z-index: -1; background: linear-gradient(90deg,rgba(16,32,24,.87) 0%,rgba(16,32,24,.70) 32%,rgba(16,32,24,.12) 65%,transparent 88%); }
.find-hero-inner { padding: clamp(22px,3.7vw,50px); width: min(640px,70%); }
.find-hero h1 { color: #fffdf5; font-family: var(--editorial-serif); font-size: clamp(32px,4.5vw,63px); font-weight: 570; letter-spacing: -.065em; line-height: 1.2; margin: 0 0 19px; }
.find-box { display: flex; align-items: center; gap: 5px; padding: 4px; background: #fffefa; border-radius: 7px; }
.find-box input { min-width: 0; flex: 1; background: transparent; color: #193d30; border: 0; box-shadow: none; padding: 8px 12px; font-size: 1rem; height: 44px; }
.find-box:focus-within { outline: 3px solid #e4bb85; outline-offset: 3px; }
.find-box input:focus { outline: 0; }
.find-box button { background: #23513b; color: white; border-radius: 4px; min-height: 44px; padding: 8px 18px; font-weight: 700; }
.find-examples { display: flex; flex-wrap: wrap; gap: 0 15px; margin-top: 5px; }
.find-examples a { display: inline-flex; align-items: center; min-height: 38px; font-size: .84rem; color: #fffefa; text-decoration: underline; text-underline-offset: .23em; }
.home-departments .section-head, .home-page .shelf .section-head { margin-bottom: 12px; }
.browse-all { color: var(--accent); display: inline-flex; align-items: center; min-height: 42px; font-size: .9rem; font-weight: 650; }
.browse-all:hover { text-decoration: underline; }
.department-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: clamp(8px,1.4vw,20px); }
.department-grid button { min-width: 0; display: grid; gap: 7px; text-align: left; padding: 0; border: 0; background: transparent; }
.department-grid img { width: 100%; height: auto; aspect-ratio: 1.55; border-radius: 5px; object-fit: cover; }
.department-grid button span { color: var(--ink); line-height: 1.4; font-weight: 680; font-size: clamp(.93rem,1.3vw,1.12rem); }
.department-grid button:hover span { text-decoration: underline; text-underline-offset: .2em; }
.home-page #personalDesc:empty { display: none; }
.home-page .shelf-modes { margin-bottom: 14px; }
.home-page .list-covers span { font-family: inherit; }
.reading-links { padding: 14px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 20px; border-block: 1px solid var(--line); margin: 0 0 32px; }
.reading-links h2 { font-family: var(--editorial-serif); margin: 0; font-size: 1.3rem; }
.reading-links a,.kit-compare { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.photo-credits { max-width: 1120px; margin: 15px auto; padding-inline: 15px; font-size: .85rem; }
.photo-credits summary,.search-extra summary,.item-shops summary { cursor: pointer; padding-block: 10px; font-weight: 650; }
.photo-credits a { text-decoration: underline; text-underline-offset: .18em; }
.photo-credits li { margin-block: 7px; overflow-wrap: anywhere; }
.photo-credits p { margin-bottom: 12px; }
.search-extra { margin: 7px 0 13px; border-block: 1px solid var(--line); }
.search-extra .examples { margin-bottom: 16px; }
#search .page-heading { padding-bottom: 9px; }
#search .search-panel { padding-block: clamp(14px,2.2vw,24px); }
.item-card.without-photo { border: 1px solid var(--item-line); border-radius: 8px; background: #fffefa; align-self: start; }
.item-card.without-photo .item-copy { padding: 12px; }
.without-photo .item-byline { padding-right: 32px; min-height: 22px; }
.item-sheet-body .item-shops { border-block: 1px solid var(--line); margin-block: 12px; }
.item-sheet-image figcaption { line-height: 1.55; }
@media (max-width: 700px) {
  body[data-view="home"] .header .install-btn { margin-left: auto; width: auto; background: transparent; font-size: .84rem; }
  body[data-view="home"] .header .install-btn .install-word { display: inline; color: #455d49; }
  body[data-view="home"] .header .nav { min-height: 53px; }
  .find-hero { min-height: 181px; margin-bottom: 18px; border-radius: 6px; }
  .find-hero-inner { width: 100%; max-width: 435px; padding: 15px 13px 6px; align-self: end; }
  .find-hero h1 { font-size: clamp(1.85rem,7.2vw,2.45rem); margin-bottom: 10px; }
  .find-hero::before { background: linear-gradient(0deg,rgba(16,30,22,.83) 0%,rgba(16,30,22,.67) 48%,rgba(16,30,22,.08) 96%); }
  .find-examples { gap: 0 12px; margin-top: 1px; }
  .find-examples a { font-size: .77rem; min-height: 39px; }
  .find-box input { padding-left: 9px; }
  .find-box button { min-width: 60px; padding-inline: 12px; }
  .department-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 8px; }
  .department-grid button { gap: 4px; }
  .department-grid img { aspect-ratio: 1.75; }
  .home-departments .section-head, .home-page .shelf .section-head { margin-bottom: 6px; }
  .home-page .home-departments { margin-bottom: 25px; }
  .bottom-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bottom-nav .navbtn { flex: 1; min-width: 0; font-size: .76rem; }
  .item-card.without-photo .item-copy { padding: 10px; }
}
.shelf-nav { display: flex; gap: 8px; align-items: center; }
.gallery-back { font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.model-gallery h1 { margin: 8px 0 15px; font: 650 clamp(1.8rem,3.4vw,2.8rem)/1.3 var(--editorial-serif); color: var(--ink); }
.gallery-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; }
.gallery-filters label:first-child { display: grid; gap: 4px; font-size: .87rem; font-weight: 650; }
.gallery-filters select { height: 44px; min-width: 135px; border: 1px solid #b2c0b0; border-radius: 5px; background: white; padding: 4px 10px; }
.gallery-offers { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; font-size: .92rem; }
.gallery-offers input { accent-color: var(--accent); width: 18px; height: 18px; }
@media(max-width:700px){.shelf-nav .browse-all {font-size:.8rem;}}
.item-photo-note { display: block; margin: 5px 0 7px; color: #526056; font-size: .77rem; line-height: 1.55; }
.journal-page .edit-image .edit-image-content.product-photo { object-fit: contain; background: #eaece5; }

.footer-links { max-width: 1120px; margin: 0 auto; padding: 0 15px; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer-links a, .guide-reading-link a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: .22em; font-size: .86rem; }
.guide-reading-link { margin: 1rem 0 1.75rem; }
