body.home-page {
  background: #f8fafb;
}

.home {
  padding-bottom: 0;
}

.home-hero {
  max-width: 1200px;
  margin: 24px auto 28px;
  padding: 36px 10px 36px;
  background: #e5eaeb;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(44, 70, 72, 0.08);
}

.home-founder {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  align-items: flex-start;
}

.home-founder__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.home-founder__timeline {
  border-left: 4px solid #c28e46;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 750px) {
  .home-founder__timeline {
    margin-top: 20px;
  }
}

.home-founder__greeting {
  background: linear-gradient(#996632, #e9bc69);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
  width: fit-content;
}

.home-founder__message {
  color: #2d3738;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

@media (min-width: 750px) {
  .home-founder__message {
    font-size: 18px;
  }
}

.home-founder__pill {
  background-color: #d3e0e2;
  color: #4a6365;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  font-size: 0.95em;
}

.home-founder__message strong {
  font-weight: 700;
  color: #244a52;
}

.home-founder__welcome {
  color: #d2920f;
  font-weight: 900;
}

.home-founder__photo {
  flex: 1.15;
  position: relative;
  max-width: 540px;
  width: 100%;
}

.home-founder__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  aspect-ratio: 572 / 561;
  width: 100%;
}

.home-founder__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.home-founder__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}

.home-founder__name {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.home-founder__role {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-top: 4px;
}

.home-founder__signature {
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-founder__signature img {
  height: 40px;
  width: auto;
  display: block;
}

.home-founder__signature-mobile {
  display: none;
}

.home-founder__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #e2fcd9;
  color: #416b27;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.home-founder__dot {
  width: 6px;
  height: 6px;
  background-color: #416b27;
  border-radius: 50%;
}

.home-stats {
  background: #e5eaeb;
  border-top: 3px solid #7a9c98;
  border-bottom: 3px solid #7a9c98;
  padding: 16px;
}

.home-stats__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.home-stats__item h2 {
  color: #2c4648;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}

.home-stats__item p {
  margin-top: 8px;
  color: #2c4648;
  font-size: 16px;
}

.home-products {
  background: #e5eaeb;
  padding: 28px 16px 80px;
}

.home .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 80px 0;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

.home .product-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease-in-out;
}

.home .product-card:hover {
  transform: translateY(-4px);
}

.home .product-card.is-open {
  z-index: 6;
}

.home .product-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  text-transform: capitalize;
  color: #305456;
  text-decoration: none;
  position: relative;
  z-index: 3;
  min-height: 2.6em;
  text-wrap: balance;
}

.home .product-card.bestseller .product-media::after {
  content: "Bestseller";
  padding: 0 2px;
  width: 100px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, #e9bc69 0%, #996632 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8px;
  right: 0;
  z-index: 4;
  pointer-events: none;
}

.home .pill {
  padding: 1px 8px;
  font-size: 0.9em;
  font-weight: 700;
  text-transform: uppercase;
  color: #7e3ff2;
  background: #f0e6ff;
  border-radius: 4px;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.home .product-title .pill {
  margin: 0 -2px;
  padding: 1px 2px;
  font-size: 1em;
  text-transform: none;
}

.home .pill.orange {
  color: #fff;
  background: #e8a06a;
}

.home .pill.strawberry {
  color: #c8214b;
  background: #ffd6e0;
}

.home .pill.blueberry {
  color: #3a3fae;
  background: #e0e4ff;
}

.home .pill.sour-apple {
  color: #3f7f00;
  background: #e3ffc9;
}

.home .pill.watermelon {
  color: #c83232;
  background: #ffe0e0;
}

.home .pill.peach {
  color: #c96e00;
  background: #ffe5cc;
}

.home .product-media {
  position: relative;
  width: 100%;
  margin: 0 0 10px;
}

.home .flavor-list {
  font-size: 13px;
  text-align: left;
  margin: 0;
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 3;
  pointer-events: none;
}

.home .flavor-list p {
  margin: 2px 0;
}

.home .img-wrap {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1;
  height: auto;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.home .img-wrap > a {
  position: absolute;
  inset: 0;
  display: block;
}

.home .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(var(--image-scale, 1)) !important;
  transform-origin: center center;
}

.home .total-units-sold {
  font-size: 13px;
  text-align: left;
  margin: 0;
  position: absolute;
  bottom: 8px;
  left: 0;
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 3;
  pointer-events: none;
}

.home .total-units-sold p {
  margin: 2px 0;
  font-weight: 600;
}

.home .product-price {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2d3738;
}

.home .product-price .regular,
.home .variation-options .regular {
  text-decoration: line-through;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
}

.home .product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.home .learn-link {
  text-decoration: underline;
  color: #305456;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
@media (max-width: 750px) {
  .home .learn-link {
    padding: 0 10px;
  }
	html, body {
		overflow-x: hidden;
	}
}

.home .add-btn {
  appearance: none;
  border: 0;
  background: #305456;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px;
  cursor: pointer;
  flex: 1;
  max-width: 210px;
  text-align: center;
}

.home .add-btn .arrow {
  float: right;
}

.home .variation-box {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.25s,
    transform 0.25s;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
  padding: 36px 16px 16px;
  z-index: 10;
}

.home .variation-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.home .close-popup {
  position: absolute;
  top: 6px;
  right: 8px;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  color: #666;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home .attribute-label {
  font-weight: 700;
  margin-bottom: 8px;
}

.home .attribute-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.home .strength {
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  background: #fff;
}

.home .strength.active {
  background: #ccc;
}

.home .variation-options button {
  display: block;
  width: 100%;
  border: 2px solid #000;
  background: #73e0a3;
  color: #fff;
  margin-bottom: 8px;
  border-radius: 40px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  position: relative;
}

.home .variation-options button:hover {
  background: #63d193;
}

.home .discount {
  position: absolute;
  right: 10px;
  top: 7px;
  background: #000;
  color: #fff;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 12px;
}

@media (max-width: 850px) {
  .home-hero {
    margin: 16px 16px 20px;
    padding: 24px 20px 24px;
    border-radius: 28px;
  }

  .home-founder {
    flex-direction: column-reverse;
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
  }

  .home-founder__photo {
    max-width: none;
  }

/*   .home-founder__signature {
    display: none;
  } */

/*   .home-founder__signature-mobile {
    display: block;
    margin-top: -16px;
  } */

  .home-founder__signature-mobile img {
    width: 150px;
    height: auto;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
  }

  .home-founder__card {
    border: solid 2px #305456;
  }
}

@media (max-width: 768px) {
  .home-stats__item h2 {
    font-size: 20px;
  }

  .home-stats__item p {
    font-size: 14px;
  }
}

@media (min-width: 900px) {
  .home .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .home .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
	padding: 20px 0;
  }

  .home .add-btn {
    max-width: none;
  }
}
