/* Storefront-only layout; checkout and the separate main-site preview keep their styles. */
.storefront { --paper: #fff; --muted: #515d56; background: #fff; }
.storefront *, .storefront *::before, .storefront *::after { letter-spacing: 0; }
.storefront h2 { font-size: 1.85rem; line-height: 1.2; }
.storefront h3 { font-size: 1.2rem; line-height: 1.3; }
.storefront p { text-wrap: pretty; }
.storefront a, .storefront button, .storefront input, .storefront select { -webkit-tap-highlight-color: transparent; }
.storefront :focus-visible { outline: 3px solid #245d95; outline-offset: 3px; }
.storefront .notice { background: #215d37; color: #fff; font-family: inherit; font-size: 0.78rem; padding: 0.35rem 0.75rem; }
.storefront .nav { padding: 0.65rem max(1rem, calc((100% - 1320px) / 2)); background: #fff; backdrop-filter: none; }
.storefront .brand img { width: 52px; height: 52px; }
.storefront .brand-main { font-size: 1.15rem; }
.storefront .brand small { font-size: 0.65rem; }
.nav-actions { display: flex; align-items: center; gap: 0.65rem; flex: 0 0 auto; }
.storefront .cart-link { width: auto; white-space: nowrap; border-radius: 6px; min-height: 44px; font-size: 0.85rem; padding: 0.45rem 0.7rem; }
.storefront .nav-links { font-size: 0.85rem; }
.shop-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 330px; overflow: hidden; }
.shop-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; z-index: -2; }
.shop-hero::before { content: ""; position: absolute; inset: 0; background: rgb(255 255 255 / 65%); z-index: -1; }
.shop-hero-copy { width: min(1320px, calc(100% - 2rem)); margin-inline: auto; padding-block: 2rem; }
.shop-hero-copy .eyebrow { color: #233e29; font-size: 0.8rem; margin-bottom: 0.6rem; }
.shop-hero h1 { font-size: 3.25rem; line-height: 1.04; max-width: 650px; }
.shop-hero-copy > p:not(.eyebrow) { color: #24332a; font-size: 1rem; line-height: 1.5; margin-block: 0.85rem 1.25rem; }
.shop-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.storefront .button { border-radius: 6px; font-size: 0.95rem; min-height: 44px; }
.plain-link { font-weight: 700; font-size: 0.9rem; text-underline-offset: 4px; }
.storefront .section { padding: 2.5rem max(1rem, calc((100% - 1320px) / 2)); }
.storefront .shop-section { background: #fff; padding-top: 1.75rem; scroll-margin-top: 1rem; }
.shop-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.shop-heading .eyebrow { font-size: 0.78rem; margin-bottom: 0.25rem; }
.shop-reassurance { font-size: 0.8rem; color: #386348; flex-shrink: 0; }
.shop-toolbar { display: grid; grid-template-columns: 190px minmax(160px, 1fr) 200px; gap: 0.8rem; margin-bottom: 1rem; }
.shop-toolbar label { display: grid; align-content: start; gap: 0.25rem; font-size: 0.78rem; font-weight: 700; margin: 0; }
.shop-toolbar select, .shop-toolbar input { min-width: 0; width: 100%; min-height: 44px; border: 1px solid #cbd4cf; border-radius: 4px; background: #fff; color: var(--ink); font-size: 0.9rem; padding: 0.6rem; }
.storefront .product-filter { gap: 0; margin: 0; border-bottom: 1px solid var(--line); }
.storefront .product-filter button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #46564b; min-height: 44px; font-size: 0.86rem; padding: 0.6rem 0.9rem; }
.storefront .product-filter button.is-active { border-bottom-color: var(--sage); color: #215d37; background: #f0f7f2; }
.results-count { margin: 0.65rem 0; font-size: 0.78rem; color: var(--muted); min-height: 1.25rem; }
.storefront .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.storefront .product-card { border-radius: 6px; box-shadow: none; transition: border-color 150ms ease; align-content: start; grid-template-rows: auto 1fr; }
.storefront .product-card:hover { transform: none; box-shadow: none; border-color: #7b9b81; }
.product-image-link { display: block; background: #f3f5f4; }
.storefront .product-card img { height: auto; aspect-ratio: 1; object-fit: contain; background: #f3f5f4; }
.storefront .product-card-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1rem; }
.storefront .product-card h3 { font-size: 1.1rem; }
.product-name-link { text-decoration: none; }
.product-name-link:hover { text-decoration: underline; }
.storefront .product-card p { margin: 0; }
.storefront .product-use { border: 0; padding: 0; font-size: 0.85rem; font-weight: 400; }
.storefront .product-meta { font-family: inherit; font-size: 0.78rem; }
.storefront .product-badge { border-radius: 3px; font-family: inherit; font-size: 0.7rem; background: #25382d; top: 0.5rem; left: 0.5rem; padding: 0.25rem 0.45rem; }
.storefront .product-card .price { margin: 0.2rem 0 0; font-size: 1.3rem; }
.storefront .product-card-body > .small { font-size: 0.75rem; line-height: 1.5; }
.storefront .product-card-body > [data-add-to-cart] { margin-top: auto; }
.storefront .product-details { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0.65rem 0 0; margin: 0.2rem 0 0; background: transparent; font-size: 0.84rem; }
.storefront .product-details summary { padding: 0; font-size: 0.84rem; }
.storefront .product-details p { margin-top: 0.7rem; }
.product-facts { margin: 0.8rem 0 0; }
.storefront .bundle-image-link { align-self: start; aspect-ratio: 1; display: grid; align-items: center; }
.bundle-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; padding: 8px; }
.storefront .linked-product .bundle-image-link { aspect-ratio: 3 / 2; }
.storefront .product-card .bundle-images img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.bundle-contents { margin: 0; padding-left: 1.1rem; font-size: 0.83rem; line-height: 1.6; }
.storefront .product-card .bundle-savings { color: #245b39; font-size: 0.84rem; font-weight: 600; }
.bundle-savings span { color: #4a5951; font-weight: 400; }
.product-facts dt { margin-top: 0.9rem; font-weight: 700; color: #1f2a24; }
.product-facts dd { margin: 0.25rem 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.product-fact-notice { border-left: 3px solid #926300; padding-left: 0.7rem; color: #523900; }
.storefront .product-fact-source { color: #4a5951; font-size: 0.76rem; }
.empty-products { grid-column: 1 / -1; padding: 2rem 0; }
.product-entry [data-home-hero], .product-entry .shop-heading { display: none; }
.linked-catalog-controls { grid-template-columns: minmax(160px, 1fr) 200px; }
[data-linked-product][hidden] { display: none; }
.linked-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; margin: 0 0 1rem; }
.storefront .linked-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; border: 0; box-shadow: none; overflow: visible; margin-bottom: 2rem; }
.linked-product .product-badge { display: none; }
.storefront .linked-product .product-image-link { max-width: 500px; width: 100%; justify-self: center; }
.storefront .linked-product .product-card-body { padding: 0.5rem 0; max-width: 540px; }
.storefront .linked-product h1 { font-size: 2rem; line-height: 1.15; overflow-wrap: anywhere; }
.storefront .linked-product .price { font-size: 1.75rem; }
.storefront .linked-product .product-card-body > [data-add-to-cart] { margin-top: 0.4rem; }
.storefront .linked-product .product-card-body > .small { font-size: 0.85rem; }
.storefront .shop-reviews { background: #f2f6f4; }
.storefront .section-head { margin-bottom: 1.5rem; max-width: 780px; }
.storefront .section-head p { margin-bottom: 0; font-size: 0.9rem; }
.review-providers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.review-provider { display: flex; gap: 1rem; align-items: start; min-width: 0; }
.review-provider > img { width: 48px; height: 48px; object-fit: contain; }
.review-provider p, .review-provider a { font-size: 0.8rem; }
.review-provider strong { color: #245b39; }
.review-provider strong:not(:empty)::after { content: " / 5 · "; }
.storefront .order-information { display: grid; grid-template-columns: 0.8fr 1fr 1fr 1.4fr; gap: 2rem; background: #fff; border-bottom: 1px solid var(--line); }
.order-information p, .order-information a { font-size: 0.85rem; overflow-wrap: anywhere; }
.order-information .payment-logos { margin-bottom: 0.8rem; }
.storefront .shop-faq { display: grid; grid-template-columns: 0.75fr 1.5fr; gap: 3rem; }
.shop-faq details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1rem 0; }
.shop-faq details:first-child { padding-top: 0; }
.shop-faq summary { padding: 0; font-size: 0.95rem; }
.shop-faq details p, .shop-faq details a { font-size: 0.9rem; }
.storefront .footer { background: #f2f6f4; color: #1f2a24; border-top: 1px solid var(--line); }
.storefront .footer img { width: 56px; height: 56px; }
.storefront .footer p, .storefront .footer-links { color: #1f2a24; font-size: 0.9rem; }
.storefront .footer-links a { color: #1f2a24; text-underline-offset: 3px; }
.storefront .footer-links a:hover { color: #215d37; }
@media (max-width: 1150px) {
  .storefront .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .storefront .order-information { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .storefront .nav { gap: 0.5rem; padding-inline: 1rem; }
  .storefront .nav-links { z-index: 6; }
  .storefront .nav-toggle { align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
  .storefront .shop-reassurance { display: none; }
  .storefront .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-toolbar { grid-template-columns: 1fr 1fr; }
  .product-search { grid-column: 1 / -1; grid-row: 2; }
  .linked-catalog-controls .product-search { grid-column: auto; grid-row: auto; }
  .review-providers { grid-template-columns: 1fr; gap: 1.5rem; }
  .storefront .shop-faq { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .storefront .linked-product .bundle-image-link { aspect-ratio: 3 / 1; }
  .storefront .notice { font-size: 0.65rem; padding: 0.35rem 0.5rem; }
  .storefront .nav { padding: 0.55rem 0.7rem; }
  .storefront .brand { gap: 0.4rem; }
  .storefront .brand img { width: 42px; height: 42px; }
  .storefront .brand-main { font-size: 0.9rem; }
  .storefront .brand small { font-size: 0.55rem; }
  .nav-actions { gap: 0.4rem; }
  .storefront .cart-link { padding-inline: 0.45rem; font-size: 0.72rem; }
  .storefront .nav-toggle { width: 36px; }
  .shop-hero { min-height: 270px; }
  .shop-hero-image { object-position: 68% center; }
  .shop-hero-copy { padding-block: 1.3rem; }
  .shop-hero-copy .eyebrow { font-size: 0.68rem; }
  .shop-hero h1 { font-size: 2.15rem; line-height: 1.08; }
  .shop-hero-copy > p:not(.eyebrow) { font-size: 0.85rem; margin-bottom: 1rem; }
  .shop-hero-actions { gap: 0.7rem; }
  .shop-hero-actions .button, .shop-hero-actions .plain-link { font-size: 0.78rem; }
  .shop-hero-actions .button { padding-inline: 0.7rem; }
  .storefront h2 { font-size: 1.45rem; }
  .storefront .section { padding: 1.8rem 1rem; }
  .storefront .shop-section { padding-top: 1.25rem; }
  .shop-heading { margin-bottom: 1rem; }
  .shop-toolbar { gap: 0.6rem; }
  .shop-toolbar select, .shop-toolbar input { font-size: 1rem; }
  .storefront .product-filter button { font-size: 0.78rem; padding: 0.55rem 0.6rem; }
  .storefront .product-grid { grid-template-columns: 1fr; }
  .storefront .product-card .product-image-link { max-height: 250px; }
  .storefront .product-card img { height: 250px; aspect-ratio: auto; }
  .storefront .product-card-body { gap: 0.5rem; }
  .storefront .linked-product { grid-template-columns: 1fr; gap: 0.75rem; }
  .storefront .linked-product h1 { font-size: 1.6rem; }
  .storefront .linked-product .product-card-body { padding: 0; }
  .storefront .order-information { grid-template-columns: 1fr; gap: 1.3rem; }
  .shop-faq .section-head { margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Payment handoff stays usable on narrow phones. */
.payment-copy-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.payment-copy-actions .button { flex: 1 1 130px; min-width: 0; }
.de-shipping-promo { margin: 0 0 1rem; padding: 0.85rem 1rem; border-left: 4px solid #43913D; background: #edf5ec; color: #20391e; font-size: 0.9rem; line-height: 1.5; }
.de-shipping-promo a { color: inherit; white-space: nowrap; }
