/* Lunchskins home + shell overrides */

:root {
  --ls-blue: #1a73e8;
  --ls-blue-deep: #298fc2;
  --ls-charcoal: #252525;
  --ls-ink: #111111;
  --ls-muted: #4a4a4a;
  --ls-cream: #f7f4ef;
  --ls-yellow: #f6c84c;
  --ls-card-yellow: #f5d76e;
  --ls-card-green: #c8e6c0;
  --ls-card-blue: #b7d8f5;
  --ls-max: 1280px;
  --ff-accent: "Libre Baskerville", Georgia, serif;
}

html {
  font-family: var(--ff-body);
}

body.ls-theme {
  font-family: var(--ff-body);
  color: var(--ls-ink);
  background: #fff;
}

.skip-to-content-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 8px 12px;
  background: #111;
  color: #fff;
  font-size: 14px;
  transform: translateY(-120%);
}
.skip-to-content-link:focus {
  transform: translateY(0);
}

body.ls-theme h1,
body.ls-theme h2,
body.ls-theme h3,
body.ls-theme h4,
body.ls-theme h5,
body.ls-theme h6 {
  font-family: var(--ff-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Announcement */
.ls-announce {
  background: var(--ls-blue);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}
.ls-announce__inner {
  max-width: var(--ls-max);
  margin: 0 auto;
  min-height: 29px;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  flex-wrap: wrap;
}
.ls-announce a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ls-announce strong {
  font-weight: 700;
}

/* Header */
.ls-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
.ls-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.ls-header__left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}
.ls-header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.ls-header__logo img {
  height: 42px;
  width: auto;
  display: block;
}
.ls-header__nav {
  display: none;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ls-header__nav a {
  color: var(--ls-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ls-header__nav .ls-has-sub {
  position: relative;
}
.ls-header__nav .ls-sub {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 50;
}
.ls-header__nav .ls-has-sub:hover .ls-sub,
.ls-header__nav .ls-has-sub:focus-within .ls-sub {
  display: block;
}
.ls-header__nav .ls-sub a {
  display: block;
  padding: 8px 16px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ls-ink);
  font-size: 14px;
}
.ls-header__utils {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
  flex: 0 0 auto;
}
.ls-header__utils button,
.ls-header__utils a {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ls-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ls-header__utils svg {
  width: 22px;
  height: 22px;
}
.ls-header__cart {
  position: relative;
}
.ls-header__cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--ls-blue);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
}
.ls-menu-toggle {
  display: inline-flex;
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
  background: transparent !important;
  border: 0;
  padding: 0;
  margin-right: 4px;
}
.ls-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ls-blue);
  border-radius: 2px;
}

/* Floating badge */
.ls-float-badge {
  position: fixed;
  right: 12px;
  top: 96px;
  z-index: 30;
  width: min(148px, 38vw);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}
.ls-float-badge img {
  width: 100%;
  height: auto;
  display: block;
}
.ls-float-badge__close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile drawer */
.ls-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  visibility: hidden;
}
.ls-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.ls-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ls-drawer.is-open .ls-drawer__backdrop {
  opacity: 1;
}
.ls-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: #fff;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  padding: 20px 18px 32px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ls-drawer.is-open .ls-drawer__panel {
  transform: translateX(0);
}
.ls-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ls-drawer__close {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ls-blue);
  cursor: pointer;
}
.ls-drawer__nav a {
  display: block;
  padding: 12px 0;
  color: var(--ls-blue);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ls-drawer details summary {
  list-style: none;
  cursor: pointer;
}
.ls-drawer details summary::-webkit-details-marker {
  display: none;
}
.ls-drawer details .ls-sub a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ls-ink);
  padding-left: 10px;
}
.ls-drawer__social {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
}
.ls-drawer__social a {
  color: var(--ls-blue);
}

@media (min-width: 992px) {
  .ls-header__nav {
    display: flex;
  }
  .ls-menu-toggle {
    display: none;
  }
  .ls-header__inner {
    padding: 16px 40px;
  }
  .ls-header__logo img {
    height: 56px;
  }
  .ls-float-badge {
    top: 110px;
    right: 28px;
    width: 170px;
  }
}

/* Hero */
.ls-hero {
  background: #fff;
}
.ls-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
}
.ls-hero__media {
  position: relative;
  min-height: 480px;
  background: #dfe8f2;
  overflow: hidden;
}
.ls-hero__media video,
.ls-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.ls-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 48px 24px 56px;
  background: #fff;
}
.ls-hero__eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ls-ink);
}
.ls-hero__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--ls-ink);
  max-width: 11ch;
}
.ls-hero__title em,
.ls-hero__title .ls-accent {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
}
.ls-hero__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ls-muted);
  max-width: 38ch;
}
.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ls-charcoal);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
  border: 0;
  text-decoration: none;
}
.ls-btn:hover {
  opacity: 0.92;
}
.ls-btn--light {
  background: #fff;
  color: var(--ls-charcoal) !important;
}

@media (min-width: 992px) {
  .ls-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 640px;
  }
  .ls-hero__media {
    min-height: 640px;
  }
  .ls-hero__copy {
    padding: 64px 72px;
  }
}

/* Why choose */
.ls-why {
  padding: 64px 24px 32px;
  background: #fff;
}
.ls-why__inner {
  max-width: var(--ls-max);
  margin: 0 auto;
}
.ls-why__title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 28px;
  font-weight: 500;
}
.ls-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.ls-why__card {
  border-radius: 18px;
  padding: 28px 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ls-why__card h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
}
.ls-why__card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ls-muted);
}
.ls-why__card--yellow {
  background: var(--ls-card-yellow);
}
.ls-why__card--green {
  background: var(--ls-card-green);
}
.ls-why__card--blue {
  background: var(--ls-card-blue);
}
@media (min-width: 768px) {
  .ls-why {
    padding: 72px 32px 36px;
  }
  .ls-why__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* Shop by need */
.ls-need {
  padding: 36px 24px 64px;
  background: #fff;
}
.ls-need__inner {
  max-width: var(--ls-max);
  margin: 0 auto;
}
.ls-need__head {
  text-align: center;
  margin-bottom: 28px;
}
.ls-need__head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin-bottom: 8px;
}
.ls-need__head p {
  color: var(--ls-muted);
  font-size: 16px;
}
.ls-need__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ls-need__card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.ls-need__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  background: #eee;
}
.ls-need__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ls-need__label {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ls-ink);
}
.ls-need__card:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 50%;
  justify-self: center;
  width: 100%;
}
@media (min-width: 992px) {
  .ls-need {
    padding: 40px 32px 80px;
  }
  .ls-need__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
  .ls-need__card:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }
  .ls-need__label {
    font-size: 15px;
  }
}

/* Real life handled */
.ls-life {
  background: #fff;
  padding: 24px 0 0;
}
.ls-life__title {
  text-align: center;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  margin: 0 24px 28px;
}
.ls-life__title em,
.ls-life__title .ls-accent {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
}
.ls-life__grid {
  display: grid;
  grid-template-columns: 1fr;
}
.ls-life__tile {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  display: block;
  text-decoration: none;
}
.ls-life__tile video,
.ls-life__tile img.ls-life__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ls-life__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.45) 100%);
}
.ls-life__content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px 24px 36px;
}
.ls-life__content h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  max-width: 12ch;
}
.ls-life__content h3 em,
.ls-life__content h3 .ls-accent {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
}
.ls-life__content p {
  font-size: 15px;
  opacity: 0.95;
  max-width: 28ch;
}
.ls-life__tile--wide .ls-life__content {
  max-width: 520px;
}
@media (min-width: 768px) {
  .ls-life__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ls-life__tile {
    min-height: 580px;
  }
  .ls-life__content {
    min-height: 580px;
    padding: 40px;
  }
  .ls-life__tile--wide {
    grid-column: 1 / -1;
    min-height: 640px;
  }
  .ls-life__tile--wide .ls-life__content {
    min-height: 640px;
    padding: 56px 64px;
  }
}

/* Footer */
.ls-footer {
  background: var(--ls-blue-deep);
  color: #fff;
  padding: 56px 24px 28px;
}
.ls-footer a {
  color: #fff;
}
.ls-footer__inner {
  max-width: var(--ls-max);
  margin: 0 auto;
}
.ls-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.ls-footer__brand {
  max-width: 420px;
}
.ls-footer__brand img {
  width: 92px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}
.ls-footer__brand p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.95;
  margin-bottom: 12px;
}
.ls-footer__copy {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 16px;
}
.ls-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.ls-footer__social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ls-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.ls-footer__col h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.ls-footer__col a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  opacity: 0.95;
}
.ls-footer__newsletter h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}
.ls-footer__newsletter p {
  font-size: 14px;
  margin-bottom: 14px;
  opacity: 0.95;
}
.ls-footer__form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ls-footer__form input {
  flex: 1 1 180px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  font: inherit;
}
.ls-footer__form button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ls-blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.ls-footer__stores {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.95;
}
@media (min-width: 900px) {
  .ls-footer {
    padding: 72px 32px 36px;
  }
  .ls-footer__top {
    grid-template-columns: 1.1fr 1.4fr 0.9fr;
    gap: 48px;
  }
  .ls-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Hide base filler chrome when Lunchskins shell is active */
body.ls-theme .site-header,
body.ls-theme .site-footer,
body.ls-theme #mobile-menu-section,
body.ls-theme #mobile-country-language {
  display: none !important;
}

body.ls-theme main,
body.ls-theme .home-page,
body.ls-theme .flex.flex-col.gap-28 {
  gap: 0 !important;
}
