/* ==========================================================================
   Leafly Storefront Design System for Shoplazza
   Matches https://www.leafly.com/products design tokens & responsive layout
   ========================================================================== */

:root {
  --lf-green: #017c6b;
  --lf-green-hover: #016356;
  --lf-deep-green: #034638;
  --lf-deep-green-40: rgba(3, 70, 56, 0.35);
  --lf-mint: #e6f2f0;
  --lf-mint-hover: #d5eae6;
  --lf-sage: #b3c8c3;
  --lf-white: #ffffff;
  --lf-offwhite: #f6f6f6;
  --lf-border: #e7e7e7;
  --lf-default: #333333;
  --lf-secondary: #707070;
  --lf-notification: #dd007e;
  --lf-error: #dc0045;
  --lf-shadow-low: 0 4px 8px rgba(0, 0, 0, 0.08);
  --lf-radius: 4px;
  --lf-radius-xl: 8px;
  --lf-radius-pill: 9999px;
  --lf-container: 992px;
  --lf-font: 'Public Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.eva {
  font-family: var(--lf-font) !important;
  color: var(--lf-default);
  background-color: var(--lf-white);
}

body.eva h1,
body.eva h2,
body.eva h3,
body.eva h4,
body.eva h5,
body.eva h6 {
  font-family: var(--lf-font) !important;
}

/* Container matching Leafly 992px desktop content grid */
.lf-container {
  width: 100%;
  max-width: calc(var(--lf-container) + 32px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.lf-section {
  padding-top: 24px;
  padding-bottom: 12px;
}

.lf-section--mint {
  background-color: var(--lf-mint);
  margin-top: 32px;
  margin-bottom: 16px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.lf-section--offwhite {
  background-color: var(--lf-offwhite);
  margin-top: 32px;
  padding-top: 32px;
  padding-bottom: 28px;
}

.lf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.lf-section-head--center {
  align-items: center;
}

.lf-heading {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--lf-default);
  letter-spacing: -0.01em;
}

.lf-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--lf-secondary);
  font-weight: 400;
}

.lf-head-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.lf-link-underline {
  color: var(--lf-default);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}

.lf-link-underline:hover {
  color: var(--lf-green);
}

/* Carousel navigation buttons */
.lf-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lf-carousel-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid transparent;
  background-color: var(--lf-white);
  color: var(--lf-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lf-carousel-btn:hover:not(:disabled) {
  background-color: var(--lf-offwhite);
  border-color: var(--lf-border);
}

.lf-carousel-btn:disabled {
  color: var(--lf-deep-green-40);
  opacity: 0.45;
  cursor: default;
}

/* Carousel horizontal scroll track */
.lf-carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 2px 0 4px;
}

.lf-carousel-track::-webkit-scrollbar {
  display: none;
}

.lf-carousel-slide--4 {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 224px;
  scroll-snap-align: start;
}

.lf-carousel-slide--6 {
  flex: 0 0 calc((100% - 60px) / 6);
  min-width: 140px;
  scroll-snap-align: start;
}

/* ==========================================================================
   Header (2-row Leafly sticky navigation)
   ========================================================================== */
.lf-header {
  position: relative;
  background-color: var(--lf-white);
  box-shadow: var(--lf-shadow-low);
  z-index: 30;
}

.lf-header__row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 6px;
  min-height: 54px;
}

.lf-header__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lf-header__burger {
  background: transparent;
  border: none;
  padding: 4px;
  margin: 0;
  color: var(--lf-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lf-header__logo {
  display: inline-flex;
  align-items: center;
  color: var(--lf-green);
  text-decoration: none;
  flex-shrink: 0;
}

.lf-header__logo img {
  display: block;
  max-height: 28px;
  width: auto;
}

.lf-header__promo-link {
  font-size: 12px;
  color: var(--lf-default);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  margin-left: 6px;
}

.lf-header__promo-link:hover {
  color: var(--lf-green);
}

.lf-header__search {
  flex: 1;
  max-width: 474px;
  position: relative;
}

.lf-header__search-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 38px;
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  background-color: var(--lf-white);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.lf-header__search-form:focus-within {
  border-color: var(--lf-green);
}

.lf-header__search-input {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 4px 12px;
  font-size: 15px;
  color: var(--lf-default);
  font-family: var(--lf-font);
}

.lf-header__search-input::-moz-placeholder {
  color: var(--lf-secondary);
}

.lf-header__search-input::placeholder {
  color: var(--lf-secondary);
}

.lf-header__search-btn {
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--lf-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.lf-header__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lf-header__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--lf-default);
  white-space: nowrap;
}

.lf-header__location-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--lf-default);
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--lf-font);
}

.lf-header__location-btn:hover {
  color: var(--lf-green);
}

.lf-header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lf-default);
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.lf-header__cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  background-color: var(--lf-green);
  color: var(--lf-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.lf-header__row2 {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lf-header__row2::-webkit-scrollbar {
  display: none;
}

.lf-header__nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--lf-default);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lf-header__nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lf-header__nav-link.is-active {
  color: var(--lf-default);
}

.lf-header__mobile-search-trigger {
  display: none;
}

/* ==========================================================================
   Section 1: Breadcrumbs + H1 + Hero Category Strip
   ========================================================================== */
.lf-hero {
  padding-top: 18px;
  padding-bottom: 12px;
}

.lf-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lf-default);
  margin-bottom: 14px;
}

.lf-breadcrumbs a {
  color: var(--lf-default);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lf-breadcrumbs__sep {
  color: var(--lf-secondary);
  font-weight: 400;
}

.lf-hero__h1 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--lf-default);
}

.lf-coin-list {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.lf-coin-list::-webkit-scrollbar {
  display: none;
}

.lf-coin-tile {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: var(--lf-radius-xl);
  background-color: var(--lf-mint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--lf-default);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.lf-coin-tile:hover {
  background-color: var(--lf-mint-hover);
  transform: translateY(-2px);
}

.lf-coin-tile__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lf-coin-tile__label {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--lf-default);
  text-align: center;
  white-space: nowrap;
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Section 2: Sponsored Brands Dark Banner
   ========================================================================== */
.lf-sponsored-wrap {
  padding-top: 20px;
  padding-bottom: 12px;
}

.lf-sponsored-box {
  background-color: var(--lf-default);
  border-radius: var(--lf-radius-xl);
  padding: 20px;
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.lf-sponsored-box__intro {
  flex: 0 0 23%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10px;
  color: var(--lf-white);
}

.lf-sponsored-box__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--lf-white);
}

.lf-sponsored-box__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.lf-sponsored-box__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lf-sponsored-card {
  background-color: var(--lf-white);
  border-radius: var(--lf-radius-xl);
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.lf-sponsored-card__img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--lf-radius);
}

.lf-sponsored-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.lf-sponsored-card__meta {
  flex: 1;
}

.lf-sponsored-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--lf-default);
  text-decoration: none;
  margin-bottom: 4px;
}

.lf-sponsored-card__title:hover {
  text-decoration: underline;
}

.lf-sponsored-card__brand {
  font-size: 12px;
  color: var(--lf-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lf-btn-outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 7px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 32px;
  background-color: var(--lf-white);
  color: var(--lf-default);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lf-btn-outline-pill:hover {
  border-color: var(--lf-default);
  background-color: var(--lf-offwhite);
}

/* ==========================================================================
   Standard Leafly Dispensary Product Card
   ========================================================================== */
.lf-product-card {
  position: relative;
  height: 100%;
  background-color: var(--lf-white);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.lf-product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #d6d6d6;
}

.lf-product-card__flag {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--lf-offwhite);
  color: var(--lf-default);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 10px;
  border-bottom-right-radius: 12px;
  border-top-left-radius: var(--lf-radius);
  z-index: 2;
}

.lf-product-card__img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  margin: 8px auto 12px;
  overflow: hidden;
  border-radius: var(--lf-radius);
  flex-shrink: 0;
}

.lf-product-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.lf-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.lf-product-card__brand {
  font-size: 12px;
  line-height: 1.3;
  color: var(--lf-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lf-product-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--lf-default);
}

.lf-product-card__title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lf-product-card__title a:hover {
  text-decoration: underline;
}

.lf-product-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.lf-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--lf-offwhite);
  color: var(--lf-default);
  border-radius: var(--lf-radius);
  padding: 2px 8px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
}

.lf-pill--icon {
  padding: 2px 6px;
  font-weight: 600;
}

.lf-fulfill-ico {
  flex-shrink: 0;
  color: var(--lf-default);
}

.lf-product-card__potency {
  font-size: 12px;
  line-height: 1.3;
  color: var(--lf-secondary);
}

.lf-product-card__discount {
  margin-top: 2px;
}

.lf-badge-pink {
  display: inline-block;
  background-color: var(--lf-notification);
  color: var(--lf-white);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--lf-radius);
}

.lf-product-card__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.lf-product-card__price {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--lf-default);
}

.lf-product-card__unit {
  font-size: 12px;
  color: var(--lf-secondary);
}

.lf-product-card__compare {
  font-size: 12px;
  color: var(--lf-secondary);
  text-decoration: line-through;
}

.lf-product-card__store {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--lf-default);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lf-product-card__fulfillment {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.lf-product-card__range {
  font-size: 12px;
  color: var(--lf-secondary);
  margin-top: 2px;
}

.lf-product-card__cta-wrap {
  margin-top: auto;
  padding-top: 14px;
}

.lf-btn-green-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  padding: 8px 20px;
  border: none;
  border-radius: var(--lf-radius-pill);
  background-color: var(--lf-green);
  color: var(--lf-white);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  font-family: var(--lf-font);
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.15s ease;
}

.lf-btn-green-pill:hover {
  background-color: var(--lf-green-hover);
  color: var(--lf-white);
}

.lf-btn-green-pill--soldout {
  background-color: #cccccc;
  color: var(--lf-default);
}

/* ==========================================================================
   Section 4: Deals Near You
   ========================================================================== */
.lf-deals-box {
  background-color: var(--lf-offwhite);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius-xl);
  padding: 16px;
}

.lf-deals-box__head {
  margin-bottom: 14px;
}

.lf-deals-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.lf-deal-card {
  background-color: var(--lf-white);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius-xl);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--lf-default);
  gap: 8px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.lf-deal-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.lf-deal-card__img-wrap {
  width: 136px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lf-deal-card__img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.lf-deal-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--lf-default);
  line-height: 1.25;
}

.lf-deal-card--all {
  gap: 12px;
}

.lf-deal-card__circle-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--lf-offwhite);
  color: var(--lf-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Section 5: Shop by Brand
   ========================================================================== */
.lf-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--lf-default);
  gap: 8px;
}

.lf-brand-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  background-color: var(--lf-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.15s ease;
}

.lf-brand-card:hover .lf-brand-card__img-wrap {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.lf-brand-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.lf-brand-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--lf-default);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-align: center;
}

/* ==========================================================================
   Section 7: Brand Spotlight ("Cannabis, shipped to your door")
   ========================================================================== */
.lf-spotlight-subhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.lf-spotlight-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lf-default);
}

.lf-spotlight-brand__logo {
  width: 74px;
  height: 74px;
  border-radius: var(--lf-radius);
  border: 1px solid var(--lf-border);
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.lf-spotlight-brand__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--lf-default);
  margin-bottom: 6px;
}

.lf-spotlight-brand__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--lf-mint);
  color: var(--lf-deep-green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--lf-radius);
}

.lf-direct-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--lf-white);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  padding: 16px;
  text-decoration: none;
  color: var(--lf-default);
  box-sizing: border-box;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.lf-direct-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #d6d6d6;
}

.lf-direct-card__img-wrap {
  width: 122px;
  height: 122px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--lf-radius);
}

.lf-direct-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.lf-direct-card__cat {
  font-size: 12px;
  color: var(--lf-secondary);
  margin-bottom: 4px;
}

.lf-direct-card__title {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--lf-default);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lf-direct-card__vendor {
  font-size: 12px;
  color: var(--lf-secondary);
  margin-bottom: 6px;
}

.lf-direct-card__spec {
  font-size: 12px;
  font-weight: 700;
  color: var(--lf-default);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.lf-direct-card__compare {
  color: var(--lf-secondary);
  font-weight: 400;
}

.lf-direct-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lf-default);
  margin-top: 6px;
}

.lf-direct-card__reviews {
  font-weight: 400;
  color: var(--lf-secondary);
}

.lf-star-icon {
  color: var(--lf-default);
}

/* ==========================================================================
   Section 8 & 9: Strain Types & Effects Cards
   ========================================================================== */
.lf-strain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lf-icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--lf-white);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  padding: 16px 8px;
  text-decoration: none;
  color: var(--lf-default);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.lf-icon-tile:hover {
  border-color: var(--lf-green);
  box-shadow: 0 3px 8px rgba(1, 124, 107, 0.1);
}

.lf-icon-tile__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--lf-default);
  text-transform: lowercase;
  text-align: center;
  margin: 0;
}

.lf-effect-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 34px;
}

.lf-effect-icon-wrap__fg {
  position: relative;
  z-index: 2;
  color: var(--lf-default);
  display: inline-flex;
}

.lf-effect-icon-wrap__blob {
  position: absolute;
  right: 12px;
  top: 8px;
  color: var(--lf-green);
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Section 11: Browse All Categories Directory
   ========================================================================== */
.lf-directory__body {
  position: relative;
  -moz-column-count: 3;
       column-count: 3;
  -moz-column-gap: 32px;
       column-gap: 32px;
  transition: max-height 0.3s ease;
}

.lf-directory__body.is-collapsed {
  max-height: 215px;
  overflow: hidden;
}

.lf-directory__body.is-collapsed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68px;
  background: linear-gradient(180deg, rgba(246, 246, 246, 0) 0%, #f6f6f6 92%);
  pointer-events: none;
}

.lf-directory__group {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-bottom: 18px;
}

.lf-directory__parent {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--lf-default);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 8px;
}

.lf-directory__parent:hover,
.lf-directory__child:hover {
  color: var(--lf-green);
}

.lf-directory__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lf-directory__list li {
  margin-bottom: 6px;
}

.lf-directory__child {
  font-size: 14px;
  color: var(--lf-default);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lf-directory__toggle {
  margin-top: 10px;
  background: transparent;
  border: none;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--lf-default);
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--lf-font);
}

.lf-directory__toggle:hover {
  color: var(--lf-green);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.lf-feedback-bar {
  background-color: var(--lf-default);
  color: var(--lf-white);
  text-align: center;
  padding: 13px 16px;
  font-size: 15px;
}

.lf-feedback-bar__btn {
  background: transparent;
  border: none;
  padding: 0;
  margin-left: 6px;
  color: var(--lf-white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: var(--lf-font);
}

.lf-footer {
  background-color: var(--lf-offwhite);
  color: var(--lf-default);
}

.lf-footer__brand-row {
  text-align: center;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--lf-border);
}

.lf-footer__brand-row a {
  color: var(--lf-default);
  display: inline-flex;
}

.lf-footer__social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--lf-border);
}

.lf-footer__social-link {
  color: var(--lf-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.lf-footer__social-link:hover {
  color: var(--lf-green);
}

.lf-footer__mid-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--lf-border);
  align-items: center;
}

.lf-footer__eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--lf-default);
  margin: 0 0 8px;
}

.lf-footer__news-sub {
  font-size: 15px;
  color: var(--lf-default);
  margin: 0 0 14px;
}

.lf-footer__news-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--lf-default);
  margin-bottom: 6px;
}

.lf-footer__news-form {
  display: flex;
  max-width: 440px;
}

.lf-footer__news-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--lf-border);
  border-right: none;
  border-radius: var(--lf-radius) 0 0 var(--lf-radius);
  background-color: var(--lf-white);
  font-size: 15px;
  color: var(--lf-default);
  font-family: var(--lf-font);
}

.lf-footer__news-btn {
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--lf-border);
  border-radius: 0 var(--lf-radius) var(--lf-radius) 0;
  background-color: var(--lf-white);
  color: var(--lf-default);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--lf-font);
}

.lf-footer__news-btn:hover {
  color: var(--lf-green);
}

.lf-footer__news-msg {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

.lf-footer__news-msg.is-success {
  display: block;
  color: var(--lf-green);
}

.lf-footer__news-msg.is-error {
  display: block;
  color: var(--lf-error);
}

.lf-footer__legal-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--lf-secondary);
}

.lf-footer__legal-note a {
  color: var(--lf-secondary);
  text-decoration: underline;
}

.lf-footer__app-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lf-footer__app-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lf-footer__app-img {
  width: 82px;
  height: 82px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}

.lf-footer__app-title {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  color: var(--lf-default);
}

.lf-footer__app-sub {
  margin: 0;
  font-size: 14px;
  color: var(--lf-default);
}

.lf-footer__app-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lf-footer__app-badges img {
  height: 40px;
  width: auto;
  display: block;
}

.lf-footer__links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 28px 0;
}

.lf-footer__col-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--lf-default);
}

.lf-footer__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lf-footer__col-list li {
  margin-bottom: 12px;
}

.lf-footer__col-list a {
  font-size: 15px;
  font-weight: 600;
  color: var(--lf-default);
  text-decoration: none;
}

.lf-footer__col-list a:hover {
  text-decoration: underline;
  color: var(--lf-green);
}

.lf-footer__disclaimer {
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
  color: var(--lf-secondary);
  margin-bottom: 24px;
}

.lf-footer__copyright {
  border-top: 1px solid var(--lf-border);
  padding: 20px 16px 28px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--lf-secondary);
}

/* Modals (Location Picker & Website Feedback) */
.lf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.lf-modal-backdrop.is-open {
  display: flex;
}

.lf-modal {
  width: 100%;
  max-width: 420px;
  background: var(--lf-white);
  border-radius: var(--lf-radius-xl);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.lf-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--lf-secondary);
  cursor: pointer;
}

.lf-modal__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--lf-default);
}

.lf-modal__desc {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--lf-secondary);
}

.lf-modal__input,
.lf-modal__textarea {
  width: 100%;
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--lf-font);
  color: var(--lf-default);
  box-sizing: border-box;
  margin-bottom: 12px;
}

.lf-modal__input:focus,
.lf-modal__textarea:focus {
  border-color: var(--lf-green);
}

/* Inner Eva pages visual harmony */
.template-collection .product-snippet,
.template-search .product-snippet {
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  padding: 12px;
  background: var(--lf-white);
  transition: box-shadow 0.15s ease;
}

.template-collection .product-snippet:hover,
.template-search .product-snippet:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1023px) {
  .lf-header__promo-link,
  .lf-header__location-text {
    display: none;
  }

  .lf-sponsored-box {
    flex-direction: column;
  }

  .lf-sponsored-box__intro {
    flex: none;
    padding-top: 0;
  }

  .lf-sponsored-box__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lf-deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lf-deal-card--all {
    grid-column: span 2;
    flex-direction: row;
    padding: 16px;
  }

  .lf-carousel-slide--4 {
    flex: 0 0 68%;
    min-width: 230px;
  }

  .lf-carousel-slide--6 {
    flex: 0 0 38%;
    min-width: 132px;
  }

  .lf-directory__body {
    -moz-column-count: 2;
         column-count: 2;
  }

  .lf-footer__mid-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 639px) {
  .lf-header__row1 {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
  }

  .lf-header__search {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .lf-header__location-btn {
    display: none;
  }

  .lf-carousel-controls {
    display: none;
  }

  .lf-spotlight-subhead {
    flex-direction: column;
    align-items: flex-start;
  }

  .lf-strain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .lf-directory__body {
    -moz-column-count: 1;
         column-count: 1;
  }

  .lf-footer__links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Slide-Out Navigation Drawer (Desktop & Mobile)
   ========================================================================== */
.lf-drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background-color: rgba(0, 0, 0, 0);
  pointer-events: none;
  visibility: hidden;
  transition: background-color 0.25s ease, visibility 0.25s ease;
}

.lf-drawer-mask.is-open {
  background-color: rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  visibility: visible;
}

.lf-drawer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: calc(100vw - 28px);
  background-color: var(--lf-white);
  color: var(--lf-default);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.16);
}

.lf-drawer-mask.is-open .lf-drawer {
  transform: translateX(0);
}

.lf-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--lf-border);
  flex-shrink: 0;
}

.lf-drawer__logo {
  color: var(--lf-green);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.lf-drawer__close {
  background: transparent;
  border: none;
  padding: 8px;
  margin: -4px -8px -4px 0;
  cursor: pointer;
  color: var(--lf-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lf-drawer__close:hover {
  color: var(--lf-green);
}

.lf-drawer__body {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  padding: 12px 20px 24px;
  scrollbar-width: none;
}

.lf-drawer__body::-webkit-scrollbar {
  display: none;
}

.lf-drawer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lf-drawer__item {
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}

.lf-drawer__item--first {
  padding: 10px 0;
}

.lf-drawer__item--plain {
  padding: 8px 0;
}

.lf-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--lf-default);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.lf-drawer__link--sub {
  font-size: 14px;
  font-weight: 600;
}

.lf-drawer__link:hover,
.lf-drawer__sublink:hover,
.lf-drawer__btn-link:hover {
  color: var(--lf-green);
  text-decoration: underline;
}

.lf-drawer__sublist {
  margin: 6px 0 0;
  padding: 0 0 0 14px;
  list-style: none;
}

.lf-drawer__sublist li {
  padding: 4px 0;
}

.lf-drawer__sublink {
  display: block;
  color: var(--lf-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.lf-drawer__heading {
  padding: 16px 0 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lf-secondary);
}

.lf-drawer__count {
  font-size: 12px;
  font-weight: 600;
  color: var(--lf-secondary);
  background-color: var(--lf-offwhite);
  border-radius: var(--lf-radius-pill);
  padding: 1px 8px;
  flex-shrink: 0;
}

.lf-drawer__btn-link {
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--lf-default);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--lf-font);
}

.lf-drawer__apps {
  padding-top: 16px;
}

.lf-drawer__apps:empty,
.lf-drawer__app-item:empty {
  display: none;
}

.lf-drawer__app-item {
  padding: 8px 0;
}
