/* Product listing page — Figma node 11:6 */

.shop-main {
  padding-top: var(--header-h);
  background: #f6faff;
}

/* ========== Banner ========== */
.shop-banner {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #3d4a2d;
}

.shop-banner__media {
  position: absolute;
  inset: 0;
}

.shop-banner__media img {
  position: absolute;
  left: 0;
  top: -55.12%;
  width: 100%;
  height: 210.23%;
  max-width: none;
  object-fit: cover;
}

.shop-banner__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

/* ========== Toolbar ========== */
.shop-toolbar {
  background: #f7f8f7;
  border-bottom: 1px solid rgba(196, 198, 206, 0.3);
  padding: 24px 0 25px;
}

.shop-toolbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-breadcrumb a {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: rgba(67, 71, 77, 0.7);
  transition: color var(--dur-fast) var(--ease-soft);
}

.shop-breadcrumb a:hover {
  color: var(--color-olive);
}

.shop-breadcrumb__sep {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: var(--color-lime);
}

.shop-breadcrumb__current {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: #141d23;
}

.shop-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.shop-filter {
  flex: 0 0 auto;
  padding: 8px 24px;
  border: 0;
  border-radius: 9999px;
  background: var(--color-lime);
  color: #000f22;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.6px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-soft),
    color var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out);
}

.shop-filter:not(.is-active) {
  padding: 9px 25px;
  background: #fff;
  border: 1px solid rgba(196, 198, 206, 0.2);
  color: #43474d;
  font-weight: 400;
}

.shop-filter:hover {
  transform: translateY(-1px);
}

.shop-filter.is-active:hover {
  background: #dde68f;
}

/* ========== Product grid ========== */
.shop-products {
  background: #f7f8f6;
  padding: 56px 0 80px;
}

.shop-products__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 36px;
  transition: opacity var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-soft);
}

.shop-grid.is-switching {
  opacity: 0.4;
  transform: translateY(6px);
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.shop-card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.shop-card__media {
  position: relative;
  background: #e0e9f2;
  overflow: hidden;
}

.shop-card__media-inner {
  position: relative;
  height: 267.75px;
  overflow: hidden;
}

.shop-card__media-inner img {
  position: absolute;
  top: 0;
  left: -18.82%;
  width: 137.63%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.shop-card:hover .shop-card__media-inner img {
  transform: scale(1.05);
}

.shop-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.shop-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  padding: 0 4px;
}

.shop-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 20px;
  color: #141d23;
}

.shop-card__desc {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #43474d;
}

.shop-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.shop-card__link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 19.5px;
  color: var(--color-olive);
  transition: color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out);
}

.shop-card__link img {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.shop-card__link:hover {
  color: #2c3621;
}

.shop-card__link:hover img {
  transform: translateX(3px);
}

.shop-card__price {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.shop-card__price-from {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #000f22;
}

.shop-card__price-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 27px;
  color: #b51818;
}

/* ========== Pagination ========== */
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.shop-page-btn,
.shop-page-num {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #141d23;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out);
}

.shop-page-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.shop-page-btn--arrow {
  border: 1px solid rgba(196, 198, 206, 0.2);
}

.shop-page-btn--arrow img {
  width: 7.4px;
  height: 12px;
}

.shop-page-btn--arrow:hover,
.shop-page-num:hover {
  background: rgba(212, 221, 130, 0.25);
}

.shop-page-nums {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-page-num.is-active {
  background: var(--color-lime);
  color: #000f22;
}

.shop-page-ellipsis {
  padding: 0 8px;
  font-size: 16px;
  line-height: 24px;
  color: rgba(67, 71, 77, 0.4);
}

/* ========== Contact CTA ========== */
.shop-contact {
  position: relative;
  background: #000f22;
  padding: 64px 0;
  overflow: hidden;
}

.shop-contact__decor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 33.33%;
  opacity: 0.1;
  pointer-events: none;
}

.shop-contact__decor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-contact__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.shop-contact__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-contact__copy h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #fff;
}

.shop-contact__copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #768dad;
}

.shop-contact__action {
  width: 269px;
  display: flex;
  justify-content: flex-start;
}

.shop-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 199px;
  padding: 13px 32px;
  border-radius: 8px;
  background: var(--color-lime);
  color: #141d23;
  font-size: 16px;
  line-height: 24px;
  transition: background var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-out);
}

.shop-contact__btn:hover {
  background: #dde68f;
  transform: translateY(-2px);
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-banner__title {
    font-size: 72px;
  }
}

@media (max-width: 992px) {
  .shop-banner {
    height: 360px;
  }

  .shop-banner__title {
    font-size: 56px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 28px;
  }

  .shop-products__inner {
    gap: 56px;
  }

  .shop-contact__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-contact__action {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .shop-banner {
    height: 240px;
  }

  .shop-banner__title {
    font-size: 40px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-card__title {
    font-size: 20px;
    line-height: 1.2;
  }

  .shop-card__desc {
    font-size: 16px;
    line-height: 1.4;
  }

  .shop-card__meta {
    flex-wrap: wrap;
  }

  .shop-card__price {
    text-align: left;
  }

  .shop-contact {
    padding: 48px 0;
  }

  .shop-contact__copy p {
    white-space: normal;
  }

  .shop-contact__btn {
    width: 100%;
  }

  .shop-pagination {
    gap: 10px;
  }

  .shop-page-btn,
  .shop-page-num {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card__media-inner img,
  .shop-grid {
    transition: none;
  }
}
