/* LPW Homepage Widget Pack. All selectors scoped: never restyle theme, product or checkout UI. */
.lpw-hw {
  --lpw-hw-accent: #275b51;
  --lpw-hw-ink: #23312e;
  --lpw-hw-muted: #64716c;
  --lpw-hw-outline: #e4e9e2;
  --lpw-hw-bg: #f7f8f5;
  --lpw-hw-white: #fff;
  --lpw-hw-radius: 18px;
  --lpw-hw-shadow: 0 9px 26px rgba(34, 49, 43, .045);
  width: 100%;
  max-width: 1320px;
  margin: 36px auto 52px;
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--lpw-hw-ink);
  font-family: inherit;
  line-height: 1.45;
}
.lpw-hw *, .lpw-hw *::before, .lpw-hw *::after { box-sizing: border-box; }
.lpw-hw .lpw-hw__section { margin: 0 0 42px; padding: 0; clear: both; }
.lpw-hw .lpw-hw__section:last-child { margin-bottom: 0; }
.lpw-hw .lpw-hw__section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 0; }
.lpw-hw .lpw-hw__section-title { font: inherit; font-weight: 750; font-size: clamp(1.4rem, 2.1vw, 1.95rem); line-height: 1.2; color: var(--lpw-hw-ink); margin: 0 0 5px; letter-spacing: -.035em; padding: 0; }
.lpw-hw .lpw-hw__section-subtitle { font: inherit; color: var(--lpw-hw-muted); font-size: .93rem; margin: 0; padding: 0; line-height: 1.5; }
.lpw-hw a { text-decoration: none; color: inherit; }
.lpw-hw a:hover { text-decoration: none; }
.lpw-hw a:focus-visible, .lpw-hw button:focus-visible { outline: 3px solid var(--lpw-hw-accent) !important; outline-offset: 3px; }

/* Six categories use two airy rows on larger screens; two columns on phones. */
.lpw-hw .lpw-hw__category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.lpw-hw .lpw-hw__category { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: var(--lpw-hw-bg); border: 1px solid var(--lpw-hw-outline); border-radius: var(--lpw-hw-radius); min-height: 105px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.lpw-hw .lpw-hw__category:hover { transform: translateY(-2px); border-color: #b7ccc0; box-shadow: var(--lpw-hw-shadow); }
.lpw-hw .lpw-hw__category-image { width: 82px; height: 82px; flex: 0 0 82px; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: #eaf0e8; color: var(--lpw-hw-accent); overflow: hidden; }
.lpw-hw .lpw-hw__category-image img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border: 0; border-radius: 0; }
.lpw-hw .lpw-hw__category-image svg { width: 44px; height: 44px; }
.lpw-hw .lpw-hw__category-name { font-size: .96rem; font-weight: 700; line-height: 1.34; flex: 1 1 auto; }
.lpw-hw .lpw-hw__category-arrow { color: var(--lpw-hw-accent); font-size: 1.25rem; flex: 0 0 auto; line-height: 1; }

/* Tabbed product section. No slide carousels, tracking pixels or Ajax requests. */
.lpw-hw .lpw-hw__tablist { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; max-width: 100%; background: #f1f4ef; border: 1px solid var(--lpw-hw-outline); padding: 4px; margin: 0 0 19px; border-radius: 12px; }
.lpw-hw .lpw-hw__tab { border: 0; margin: 0; box-shadow: none; appearance: none; background: transparent; color: #54625d; border-radius: 9px; padding: 11px 20px; font: inherit; font-size: .9rem; line-height: 1.2; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; transition: color .15s, background .15s; }
.lpw-hw .lpw-hw__tab:hover { color: var(--lpw-hw-accent); background: #fff9; }
.lpw-hw .lpw-hw__tab[aria-selected="true"] { background: var(--lpw-hw-white); color: var(--lpw-hw-accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .07); }
.lpw-hw .lpw-hw__tabpanel[hidden] { display: none !important; }
.lpw-hw .lpw-hw__product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; align-items: stretch; }
.lpw-hw .lpw-hw__product { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--lpw-hw-white); border: 1px solid var(--lpw-hw-outline); border-radius: var(--lpw-hw-radius); box-shadow: 0 2px 8px rgba(36, 50, 42, .025); transition: box-shadow .2s, transform .2s; }
.lpw-hw .lpw-hw__product:hover { box-shadow: var(--lpw-hw-shadow); transform: translateY(-2px); }
.lpw-hw .lpw-hw__product-image { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; background: #f9faf8; overflow: hidden; }
.lpw-hw .lpw-hw__product-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; margin: 0; border: 0; box-shadow: none; display: block; transform: scale(1); transition: transform .25s; }
.lpw-hw .lpw-hw__product:hover .lpw-hw__product-image img { transform: scale(1.035); }
.lpw-hw .lpw-hw__placeholder { color: var(--lpw-hw-accent); }
.lpw-hw .lpw-hw__placeholder svg { width: 72px; height: 72px; }
.lpw-hw .lpw-hw__product-badge { position: absolute; z-index: 1; top: 12px; left: 12px; border: 1px solid #c7ddcf; border-radius: 999px; background: #f4fbf5; color: #285a43; padding: 5px 10px; font-size: .74rem; line-height: 1.2; font-weight: 750; }
.lpw-hw .lpw-hw__product-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 11px; padding: 16px; }
.lpw-hw .lpw-hw__product-title { color: var(--lpw-hw-ink); font-weight: 700; line-height: 1.42; font-size: .92rem; display: block; min-height: 2.7em; }
.lpw-hw .lpw-hw__product-title:hover { color: var(--lpw-hw-accent); }
.lpw-hw .lpw-hw__product-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: auto; }
.lpw-hw .lpw-hw__price, .lpw-hw .lpw-hw__spotlight-price { font-size: 1.12rem; font-weight: 800; line-height: 1.3; color: var(--lpw-hw-ink); }
.lpw-hw .lpw-hw__price del, .lpw-hw .lpw-hw__spotlight-price del { color: #929b94; font-size: .82em; font-weight: 400; margin-right: 6px; text-decoration: line-through; opacity: 1; }
.lpw-hw .lpw-hw__price ins, .lpw-hw .lpw-hw__spotlight-price ins { color: var(--lpw-hw-accent); font-weight: 800; text-decoration: none; background: transparent; }
.lpw-hw .lpw-hw__product-link { color: var(--lpw-hw-accent); font-size: .83rem; font-weight: 700; display: inline-flex; gap: 7px; align-items: center; padding-bottom: 1px; border-bottom: 1px solid transparent; }
.lpw-hw .lpw-hw__product-link:hover { border-bottom-color: currentColor; }

/* Editorial spotlight. Never substitute or generate product imagery. */
.lpw-hw .lpw-hw__spotlight { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 345px; border: 1px solid #dce8da; border-radius: 23px; background: linear-gradient(125deg, #f5f7ef 0%, #eef4ed 100%); overflow: hidden; }
.lpw-hw .lpw-hw__spotlight-copy { align-self: center; min-width: 0; padding: clamp(24px, 4.5vw, 58px); }
.lpw-hw .lpw-hw__eyebrow { font: inherit; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 16px; color: var(--lpw-hw-accent); }
.lpw-hw .lpw-hw__spotlight-title { color: var(--lpw-hw-ink); font-size: clamp(1.5rem, 2.65vw, 2.45rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 13px; padding: 0; }
.lpw-hw .lpw-hw__spotlight-description { color: #56655d; font: inherit; line-height: 1.65; font-size: .94rem; margin: 0 0 16px; max-width: 55ch; }
.lpw-hw .lpw-hw__spotlight-price { margin: 0 0 20px; }
.lpw-hw .lpw-hw__spotlight-button { display: inline-flex; align-items: center; gap: 16px; border-radius: 10px; color: #fff; background: var(--lpw-hw-accent); padding: 13px 19px; font: inherit; font-size: .9rem; font-weight: 800; min-height: 45px; transition: filter .2s, transform .2s; }
.lpw-hw .lpw-hw__spotlight-button:hover { color: #fff; filter: brightness(1.12); transform: translateY(-1px); }
.lpw-hw .lpw-hw__spotlight-image { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 28px; background: #fff7; }
.lpw-hw .lpw-hw__spotlight-fallback { display: flex; align-items: center; justify-content: center; color: var(--lpw-hw-accent); width: 100%; }
.lpw-hw .lpw-hw__spotlight-fallback svg { width: 110px; height: 110px; }
.lpw-hw .lpw-hw__spotlight-image img { display: block; max-width: 100%; max-height: 375px; width: auto; height: auto; object-fit: contain; margin: 0; border: 0; border-radius: 0; box-shadow: none; }

@media (max-width: 1030px) {
  .lpw-hw .lpw-hw__category { padding: 11px; gap: 10px; }
  .lpw-hw .lpw-hw__category-image { width: 68px; height: 68px; flex-basis: 68px; }
  .lpw-hw .lpw-hw__category-name { font-size: .88rem; }
}
@media (max-width: 780px) {
  .lpw-hw { padding: 0 14px; margin: 25px auto 35px; }
  .lpw-hw .lpw-hw__section { margin-bottom: 31px; }
  .lpw-hw .lpw-hw__category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lpw-hw .lpw-hw__category { min-height: 85px; }
  .lpw-hw .lpw-hw__product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .lpw-hw .lpw-hw__spotlight { grid-template-columns: 1fr 1fr; min-height: 280px; }
  .lpw-hw .lpw-hw__spotlight-copy { padding: 26px; }
  .lpw-hw .lpw-hw__spotlight-image { padding: 14px; }
}
@media (max-width: 520px) {
  .lpw-hw { padding: 0 12px; }
  .lpw-hw .lpw-hw__section-title { font-size: 1.45rem; }
  .lpw-hw .lpw-hw__section-subtitle { font-size: .84rem; }
  .lpw-hw .lpw-hw__category { flex-wrap: nowrap; min-height: 79px; padding: 8px; border-radius: 13px; gap: 8px; }
  .lpw-hw .lpw-hw__category-image { width: 55px; height: 55px; flex-basis: 55px; border-radius: 9px; }
  .lpw-hw .lpw-hw__category-image svg { width: 31px; height: 31px; }
  .lpw-hw .lpw-hw__category-name { font-size: .77rem; overflow-wrap: anywhere; }
  .lpw-hw .lpw-hw__category-arrow { font-size: .97rem; }
  .lpw-hw .lpw-hw__tablist { display: flex; width: 100%; gap: 3px; }
  .lpw-hw .lpw-hw__tab { flex: 1 1 0; padding: 10px 5px; font-size: .76rem; white-space: normal; }
  .lpw-hw .lpw-hw__product-badge { left: 7px; top: 7px; font-size: .67rem; padding: 5px 8px; }
  .lpw-hw .lpw-hw__product { border-radius: 12px; }
  .lpw-hw .lpw-hw__product-image img { padding: 6px; }
  .lpw-hw .lpw-hw__product-body { padding: 11px; gap: 10px; }
  .lpw-hw .lpw-hw__product-title { font-size: .83rem; }
  .lpw-hw .lpw-hw__price { font-size: .99rem; }
  .lpw-hw .lpw-hw__product-link { font-size: .79rem; }
  .lpw-hw .lpw-hw__spotlight { display: flex; flex-direction: column-reverse; }
  .lpw-hw .lpw-hw__spotlight-image { padding: 17px; min-height: 180px; }
  .lpw-hw .lpw-hw__spotlight-fallback { display: flex; align-items: center; justify-content: center; color: var(--lpw-hw-accent); width: 100%; }
.lpw-hw .lpw-hw__spotlight-fallback svg { width: 110px; height: 110px; }
.lpw-hw .lpw-hw__spotlight-image img { max-height: 225px; }
  .lpw-hw .lpw-hw__spotlight-copy { padding: 19px 20px 23px; }
  .lpw-hw .lpw-hw__spotlight-title { font-size: 1.55rem; }
  .lpw-hw .lpw-hw__spotlight-description { font-size: .87rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lpw-hw *, .lpw-hw *::before, .lpw-hw *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* True classic widgets sit inside the theme's Frontpage Widget Area. Keep their
   internal spacing compact and avoid overriding unrelated theme widgets. */
.lpw-hw.lpw-hw--widget {
  margin: 18px auto 30px;
  padding: 0;
  max-width: 100%;
}
.lpw-hw.lpw-hw--widget .lpw-hw__section { margin-bottom: 0; }
@media (max-width: 780px) {
  .lpw-hw.lpw-hw--widget { margin: 15px auto 26px; padding: 0; }
}

/* v1.2: Editorial category collections, deliberately different from the menu. */
.lpw-hw .lpw-hw__category-meta { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; gap: 9px; }
.lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px;
}
.lpw-hw .lpw-hw__categories--editorial .lpw-hw__category {
  flex-direction: column; align-items: stretch; justify-content: flex-start;
  gap: 0; min-height: 0; padding: 0; overflow: hidden; background: #fff;
  border-color: #e0e8e1; border-radius: 18px;
}
.lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-image {
  display: flex; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1.42 / 1;
  background: #f7f9f6; border-radius: 0; padding: 0;
}
.lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-image img {
  object-fit: contain; width: 100%; height: 100%; padding: 14px;
}
.lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-meta {
  display: flex; flex-direction: column; align-items: flex-start; flex: 0 0 auto;
  padding: 16px 18px 17px; gap: 6px;
}
.lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-kicker {
  font-size: .67rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--lpw-hw-accent);
}
.lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-name {
  font-size: 1.05rem; font-weight: 800; line-height: 1.35; color: var(--lpw-hw-ink);
}
.lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-arrow {
  font-size: .83rem; font-weight: 750; color: var(--lpw-hw-accent);
  margin-top: 4px; line-height: 1.3;
}
/* Four tabs can have long, user-entered names. Scroll on phones rather than shrinking text. */
@media (max-width: 920px) {
  .lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  }
}
@media (max-width: 600px) {
  .lpw-hw .lpw-hw__categories--editorial .lpw-hw__category {
    border-radius: 13px;
  }
  .lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-image {
    aspect-ratio: 1.22 / 1;
  }
  .lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-image img { padding: 7px; }
  .lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-meta { padding: 11px 12px 14px; gap: 4px; }
  .lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-name { font-size: .88rem; }
  .lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-kicker { font-size: .58rem; }
  .lpw-hw .lpw-hw__categories--editorial .lpw-hw__category-arrow { font-size: .72rem; }
  .lpw-hw .lpw-hw__tablist {
    display: flex; flex-wrap: nowrap; width: 100%; max-width: 100%;
    overflow-x: auto; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .lpw-hw .lpw-hw__tab {
    flex: 0 0 auto; width: auto; min-width: max-content;
    padding: 11px 13px; font-size: .81rem; white-space: nowrap;
  }
}


/* v1.3: optional welcome message. Calm visual separation from pale-green spotlights.
   Strictly scoped to the LPW widget, with no floating or sticky elements. */
.lpw-hw .lpw-hw__welcome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 42px);
  width: 100%;
  padding: clamp(21px, 2.8vw, 30px) clamp(23px, 3.8vw, 45px);
  background: #ffffff;
  border: 1px solid #e3eae2;
  border-radius: 19px;
  box-shadow: 0 6px 22px rgba(35, 49, 46, .035);
  overflow: hidden;
}
.lpw-hw .lpw-hw__welcome::before {
  content: '';
  position: absolute;
  inset: 21px auto 21px 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--lpw-hw-accent);
}
.lpw-hw .lpw-hw__welcome-copy { flex: 1 1 480px; min-width: 0; }
.lpw-hw .lpw-hw__welcome-eyebrow {
  color: var(--lpw-hw-accent); font: inherit; font-size: .68rem;
  line-height: 1.3; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 7px;
}
.lpw-hw .lpw-hw__welcome-title {
  color: var(--lpw-hw-ink); font: inherit; font-weight: 800;
  font-size: clamp(1.22rem, 2.15vw, 1.75rem); line-height: 1.22;
  letter-spacing: -.03em; margin: 0 0 5px; padding: 0;
}
.lpw-hw .lpw-hw__welcome-text {
  color: var(--lpw-hw-muted); font: inherit; font-size: .9rem;
  line-height: 1.5; margin: 0; padding: 0; max-width: 65ch;
}
.lpw-hw .lpw-hw__welcome-links {
  display: flex; flex: 0 1 auto; align-items: center; justify-content: flex-end;
  flex-wrap: wrap; gap: 9px 17px; min-width: 0;
}
.lpw-hw .lpw-hw__welcome-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 43px; padding: 10px 16px; border-radius: 9px;
  color: #fff; background: #182722; font: inherit; font-size: .84rem;
  font-weight: 800; white-space: nowrap; line-height: 1.3;
  transition: background-color .2s;
}
.lpw-hw .lpw-hw__welcome-button:hover { color: #fff; background: var(--lpw-hw-accent); }
.lpw-hw .lpw-hw__welcome-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; padding: 9px 2px; color: var(--lpw-hw-accent);
  font: inherit; font-size: .82rem; font-weight: 800; white-space: nowrap;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 4px; transition: text-decoration-color .2s;
}
.lpw-hw .lpw-hw__welcome-secondary:hover { color: var(--lpw-hw-accent); text-decoration: underline; }
@media (max-width: 780px) {
  .lpw-hw .lpw-hw__welcome { flex-direction: column; align-items: flex-start; gap: 13px; }
  .lpw-hw .lpw-hw__welcome-copy { flex: 0 1 auto; }
  .lpw-hw .lpw-hw__welcome-links { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .lpw-hw .lpw-hw__welcome { padding: 16px 19px; gap: 11px; border-radius: 15px; }
  .lpw-hw .lpw-hw__welcome::before { inset: 16px auto 16px 0; width: 3px; }
  .lpw-hw .lpw-hw__welcome-eyebrow { display: none; }
  .lpw-hw .lpw-hw__welcome-title { font-size: 1.28rem; line-height: 1.25; margin: 0 0 6px; }
  .lpw-hw .lpw-hw__welcome-text { font-size: .81rem; line-height: 1.45; }
  .lpw-hw .lpw-hw__welcome-links { gap: 6px 15px; }
  .lpw-hw .lpw-hw__welcome-button { padding: 9px 13px; min-height: 39px; font-size: .79rem; }
  .lpw-hw .lpw-hw__welcome-secondary { font-size: .77rem; min-height: 36px; }
}
