/* Task 48 - simple navigation for first-time visitors (owner, 4 Dec 2026).
   Loaded last on every page. Phone rules first: most visitors are on phones. */

/* ---- 1. Jump buttons at the top of every product page ---- */
.eh48-jump{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;max-width:1180px;margin:14px auto 0;padding:0 clamp(16px,6vw,48px)}
.eh48-jump a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 10px;border:1.5px solid #172822;border-radius:6px;background:#fff;color:#172822;font-weight:700;font-size:15px;line-height:1.2;text-align:center;text-decoration:none}
.eh48-jump a:hover,.eh48-jump a:focus-visible{background:#172822;color:#fff}
.eh48-jump a.eh48-jump-main{background:#e3b951;border-color:#e3b951}
.eh48-jump a.eh48-jump-main:hover,.eh48-jump a.eh48-jump-main:focus-visible{background:#172822;border-color:#172822;color:#fff}

/* ---- 2. FAQ topics open on tap (long FAQ lists only) ---- */
.eh48-faq-topic{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;margin:0;padding:12px 0;border:0;border-bottom:1px solid #d7dfd9;background:none;color:inherit;font:inherit;font-weight:700;font-size:18px;text-align:left;cursor:pointer}
.eh48-faq-topic::after{content:"+";font-size:24px;font-weight:400;line-height:1}
.eh48-faq-topic[aria-expanded="true"]::after{content:"\2212"}
.eh48-faq-closed>.faq-list,.eh48-faq-closed>.eh39-more{display:none!important}
.eh39-group>h3.eh48-faq-h{margin:0}

/* ---- 3. Home pages: the gallery and text were running off the right edge of the screen ---- */
.section>.model-grid.eh-house-block{margin-left:0!important;margin-right:0!important;width:auto!important;max-width:100%!important}

@media (max-width:760px){

  /* Product hero: the whole photo on top, then the name, price and buttons */
  main.eh37-product>.hero.immersive-hero,.eh48-stack-hero.hero.immersive-hero{min-height:0!important;height:auto!important;display:block!important;background:#172822}
  main.eh37-product>.hero.immersive-hero .hero-media,.eh48-stack-hero .hero-media{position:static!important;height:auto!important;aspect-ratio:4/3;overflow:hidden}
  main.eh37-product>.hero.immersive-hero .hero-media img,.eh48-stack-hero .hero-media img{width:100%!important;height:100%!important;object-fit:cover}
  main.eh37-product>.hero.immersive-hero .hero-shade,.eh48-stack-hero .hero-shade{display:none!important}
  main.eh37-product>.hero.immersive-hero .hero-copy,.eh48-stack-hero .hero-copy{position:static!important;inset:auto!important;transform:none!important;max-width:none!important;width:auto!important;padding:20px 20px 24px!important;margin:0!important}
  main.eh37-product>.hero.immersive-hero h1,.eh48-stack-hero h1{font-size:28px!important;line-height:1.15!important;margin:6px 0 10px!important}
  main.eh37-product>.hero.immersive-hero .hero-price strong,.eh48-stack-hero .hero-price strong{font-size:26px}

  /* Every list of products: two equal photos per row, name and price under each */
  .product-grid:not(.eh48-keep){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch}
  .product-grid:not(.eh48-keep)>.product-card{display:flex!important;flex-direction:column;min-width:0;margin:0!important;border:1px solid #d7dfd9;border-radius:8px;background:#fff;overflow:hidden;grid-column:auto!important;grid-row:auto!important}
  .product-grid:not(.eh48-keep)>.product-card .product-photo{aspect-ratio:4/3!important;height:auto!important;min-height:0!important;margin:0!important;border-radius:0!important;overflow:hidden;flex:none}
  .product-grid:not(.eh48-keep)>.product-card .product-photo img{width:100%!important;height:100%!important;object-fit:cover;display:block}
  .product-grid:not(.eh48-keep)>.product-card .product-copy{display:flex!important;flex-direction:column;gap:3px;flex:1;padding:9px 10px 11px!important;min-height:0!important}
  .product-grid:not(.eh48-keep)>.product-card .product-copy h3{font-size:15px!important;line-height:1.25!important;margin:0!important;display:block!important}
  .product-grid:not(.eh48-keep)>.product-card .product-copy h3 span[aria-hidden]{display:none}
  .product-grid:not(.eh48-keep)>.product-card .product-copy>p,.product-grid:not(.eh48-keep)>.product-card .product-number,.product-grid:not(.eh48-keep)>.product-card .lc-card-kind,.product-grid:not(.eh48-keep)>.product-card .eh18-card-note,.product-grid:not(.eh48-keep)>.product-card .lc-card-link,.product-grid:not(.eh48-keep)>.product-card .text-link{display:none!important}
  .product-grid:not(.eh48-keep)>.product-card .task19-card-sizes,.product-grid:not(.eh48-keep)>.product-card small{font-size:12px!important;line-height:1.3!important;margin:0!important}
  .product-grid:not(.eh48-keep)>.product-card .eh18-card-price,.product-grid:not(.eh48-keep)>.product-card .lc-card-price,.product-grid:not(.eh48-keep)>.product-card strong{font-size:15px!important;line-height:1.25!important;margin:auto 0 0!important;padding-top:4px}
  .eh37-collection-group>h3,.addon-group>h3{margin:22px 0 10px!important}
  .collection.section .section-head>p{display:none}

  .product-grid:not(.eh48-keep)>.product-card .lc-card-cta,.product-grid:not(.eh48-keep)>.product-card .task14-category{display:none!important}

  /* Category pages: short title block, so the products start on the first screen */
  .lc-hero .lc-hero-copy{padding:16px 20px 18px!important}
  .lc-hero .lc-hero-copy h1{font-size:28px!important;line-height:1.15!important;margin:4px 0 0!important}
  .lc-hero .lc-hero-copy>p:not(.eyebrow):not(.lc-hero-price),.lc-hero .lc-hero-copy>.button{display:none!important}
  .lc-hero .lc-hero-price{margin:8px 0 0!important}

  .eh48-jump{grid-template-columns:1fr 1fr;padding:0 16px;margin-top:12px}
}
