/* store.html catalog */

.store-hero {
  padding: 40px 0 28px;
}

.store-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem 2.5rem;
  align-items: center;
}

.store-pill {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #e8ece6;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-hero h1 {
  margin: 0 0 0.75rem;
}

.store-hero__tagline {
  margin: 0 0 0.85rem;
  max-width: 28rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.35;
}

.store-hero__lead {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.store-hero__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-items: start;
}

.store-hero__features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.3;
  text-align: center;
}

.store-hero__features li > span:not(.store-hero__icon) {
  display: block;
  width: 100%;
  max-width: 11.5em;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: normal;
}

.store-hero__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  background: var(--green-wash);
  color: var(--green);
}

.store-hero__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.store-hero__media {
  position: relative;
  justify-self: end;
  width: min(108%, 720px);
  margin-right: -1.5rem;
}

.store-hero__photo {
  margin: 0;
  background: transparent;
}

.store-hero__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.store-catalog {
  padding: 20px 0 56px;
}

.store-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.store-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.store-carousel {
  position: relative;
  background: var(--green-wash);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.store-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.store-carousel__slide {
  min-width: 100%;
  height: 100%;
}

.store-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f3f6f1;
}

.store-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(24, 61, 42, 0.12);
}

.store-carousel__btn:hover {
  background: var(--white);
}

.store-carousel__btn--prev {
  left: 10px;
}

.store-carousel__btn--next {
  right: 10px;
}

.store-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.store-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(35, 77, 54, 0.28);
  cursor: pointer;
}

.store-carousel__dot.is-active {
  background: var(--green);
}

.store-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.store-card__body h2 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.store-card__body > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}

.store-card__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.store-card__bottom .price {
  flex: 1;
  min-width: 0;
}

.store-card__bottom .price__main {
  font-size: 1.12rem;
  color: var(--green-dark);
}

.store-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-shrink: 0;
  position: relative;
}

.buy-pop {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: min(260px, 78vw);
  padding: 0.85rem 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(35, 77, 54, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(24, 61, 42, 0.16);
}

.buy-pop__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.buy-pop__title {
  margin: 0 0 0.65rem;
  padding-right: 1.2rem;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.buy-pop__actions {
  display: grid;
  gap: 0.45rem;
}

.buy-pop__btn {
  width: 100%;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 0.55rem 0.75rem;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.buy-pop__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.buy-pop__btn--wa {
  background: #2f9e4b;
  color: #fff;
  border: none;
}

.buy-pop__btn--wa:hover {
  background: #268540;
  color: #fff;
}

.buy-pop__btn--tg {
  background: #234d36;
  color: #fff;
  border: none;
}

.buy-pop__btn--tg:hover {
  background: #1a3a28;
  color: #fff;
}

@media (max-width: 640px) {
  .buy-pop {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 92vw);
  }
}


.store-card__body h2 a {
  color: inherit;
}

.store-card__body h2 a:hover {
  color: var(--green);
}

.store-info {
  padding: 12px 0 64px;
}

.store-why {
  margin-bottom: 28px;
}

.store-why h2 {
  margin: 0 0 1.25rem;
}

.store-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.store-why__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-why__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.store-why__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.store-why__item p {
  margin: 0;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.35;
  font-size: 0.95rem;
}

.store-info__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.15rem;
  align-items: stretch;
}

.store-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.35rem 1.45rem;
  box-shadow: var(--shadow);
}

.store-panel h2 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.store-panel__lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.store-pay-countries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.store-pay-country {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.85rem 0.75rem;
  background: #f7f8f4;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.store-pay-country img {
  width: 40px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(24, 61, 42, 0.1);
}

.store-pay-country strong {
  font-size: 0.88rem;
  color: var(--green-dark);
}

.store-pay-country span {
  font-size: 0.78rem;
  color: var(--muted);
}

.store-pay-partners {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.4rem 1.35rem 1.45rem;
  background:
    linear-gradient(135deg, rgba(238, 246, 232, 0.95) 0%, rgba(255, 255, 255, 0.98) 48%, rgba(227, 244, 241, 0.7) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

.store-pay-partners__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-pay-partners__title {
  margin: 0 0 0.55rem;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.03em;
}

.store-pay-partners__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 38ch;
}

.store-pay-partners__media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  min-width: 0;
}

.store-pay-partners__side,
.store-pay-partners__logo {
  margin: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(24, 61, 42, 0.1);
  border: 1px solid rgba(35, 77, 54, 0.08);
  background: transparent;
  line-height: 0;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}

.store-pay-partners__side img,
.store-pay-partners__logo img {
  display: block;
  width: auto;
  height: 148px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.store-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.store-panel__head h2 {
  margin: 0;
}

.store-panel__hand {
  margin: 0;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green);
  line-height: 1.1;
}

.store-steps {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  position: relative;
}

.store-steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 1.15rem;
  height: 1px;
  background: var(--line);
}

.store-steps li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.store-steps__num {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.store-steps p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .store-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-hero__grid {
    grid-template-columns: 1fr;
  }

  .store-hero__media {
    justify-self: center;
    margin-right: 0;
    width: min(100%, 560px);
  }

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

  .store-why__grid,
  .store-info__grid,
  .store-pay-countries,
  .store-steps {
    grid-template-columns: 1fr 1fr;
  }

  .store-steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .store-info__grid {
    grid-template-columns: 1fr;
  }

  .store-pay-partners {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .store-pay-partners__text {
    max-width: none;
  }

  .store-hero__media {
    width: 100%;
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .store-catalog__grid,
  .store-why__grid,
  .store-pay-countries,
  .store-steps {
    grid-template-columns: 1fr;
  }

  .store-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
  }

  .store-hero__features li {
    font-size: 0.78rem;
    gap: 0.35rem;
  }

  .store-hero__features li > span:not(.store-hero__icon) {
    max-width: 14em;
  }

  .store-hero__icon {
    width: 2.1rem;
    height: 2.1rem;
  }

  .store-hero__icon svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .store-pay-partners {
    padding: 1.25rem 1.1rem;
  }

  .store-pay-partners__media {
    justify-content: flex-start;
    width: 100%;
  }

  .store-pay-partners__side img,
  .store-pay-partners__logo img {
    height: 110px;
  }

  .store-hero {
    padding-top: 20px;
  }

  .store-hero h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .store-catalog {
    padding-bottom: 40px;
  }

  .store-catalog__grid {
    gap: 14px;
  }

  .store-card__body {
    padding: 0.95rem 1rem 1.1rem;
  }

  .store-card__body h2 {
    font-size: 1.02rem;
  }

  .store-card__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .store-card__bottom .btn,
  .store-card__actions .btn {
    width: 100%;
  }

  .store-card__actions {
    width: 100%;
  }

  .store-card__bottom .price__main {
    font-size: 1.08rem;
  }

  .store-carousel__btn {
    width: 32px;
    height: 32px;
  }

  .store-info,
  .store-why {
    padding-bottom: 40px;
  }
}

@media (max-width: 380px) {
  .store-catalog__grid {
    gap: 12px;
  }
}
