.shop-page {
  background: #f7f3ee;
}

.shop-hero {
  padding: 150px 0 36px;
  background: #f7f3ee;
}

.shop-hero__content {
  max-width: 900px;
}

.shop-hero__kicker {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #7a746c;
}

.shop-hero__title {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .95;
}

.shop-hero__text {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.72;
  color: #5b564f;
}

.shop-hero__text p {
  margin: 0;
}

/* CATEGORY HERO */
.shop-category-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.shop-category-hero__media {
  min-height: 360px;
  background: #ece4d8;
  border-radius: 30px;
  overflow: hidden;
}

.shop-category-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TOP CATEGORIES */
.shop-shortcuts {
  padding: 0 0 24px;
}

.shop-shortcuts__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: .18s ease;
}

.shop-shortcut:hover {
  transform: translateY(-1px);
}

.shop-shortcut.is-active {
  background: #1f1f1f;
  color: #fff;
}

/* SUBCATEGORIES */
.shop-subcategories {
  padding: 8px 0 28px;
}

.shop-subcategories__header {
  margin-bottom: 18px;
}

.shop-subcategories__label {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #7a746c;
}

.shop-subcategories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-subcategory-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  transition: .18s ease;
}

.shop-subcategory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.06);
}

.shop-subcategory-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 4px;
}

.shop-subcategory-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-subcategory-card__title {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  color: #1f1f1f;
}

.shop-subcategory-card__text {
  color: #5b564f;
  line-height: 1.6;
  font-size: 15px;
}

/* TOOLBAR */
.shop-toolbar {
  padding: 12px 0 28px;
}

.shop-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-toolbar .woocommerce-result-count {
  margin: 0;
  color: #6a645c;
}

.shop-toolbar .woocommerce-ordering {
  margin: 0;
}

.shop-toolbar select {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: #1f1f1f;
}

/* GRID */
.shop-grid-section {
  padding: 0 0 96px;
}

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

.shop-product-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
}

.shop-product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 4.2;
  background: #fff;
  padding: 24px;
  box-sizing: border-box;
}

.shop-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: normal;
}

.shop-product-card__content {
  padding: 24px;
}

.shop-product-card__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.12;
}

.shop-product-card__title a {
  color: #1f1f1f;
  text-decoration: none;
}

.shop-product-card__text {
  margin: 0 0 18px;
  color: #5b564f;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.shop-product-card__price {
  color: #1f1f1f;
  font-weight: 600;
}

.shop-product-card__link {
  color: #1f1f1f;
  text-decoration: none;
  font-weight: 700;
}

/* PAGINATION */
.shop-pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 56px auto 0;
}

.shop-pagination .woocommerce-pagination {
  display: flex;
  justify-content: center;
  width: 100%;
}

.shop-pagination .woocommerce-pagination ul.page-numbers,
.shop-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  list-style: none;
  box-shadow: 0 18px 44px rgba(31, 31, 31, 0.07);
  backdrop-filter: blur(12px);
}

.shop-pagination .page-numbers li {
  margin: 0;
  padding: 0;
  border: 0 !important;
  list-style: none;
}

.shop-pagination .page-numbers a,
.shop-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(31, 31, 31, 0.06);
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.shop-pagination .page-numbers a:hover,
.shop-pagination .page-numbers a:focus-visible {
  background: #1f1f1f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(31, 31, 31, 0.14);
}

.shop-pagination .page-numbers .current {
  background: #1f1f1f !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(31, 31, 31, 0.14);
}

.shop-pagination .page-numbers .dots {
  background: transparent;
  box-shadow: none;
  color: #8a837a;
}

.shop-pagination .page-numbers .prev,
.shop-pagination .page-numbers .next {
  min-width: 46px;
}

/* EMPTY */
.shop-empty {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

@media (max-width: 1024px) {
  .shop-hero {
    padding-top: 110px;
  }

  .shop-category-hero,
  .shop-subcategories__grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-category-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shop-hero__title {
    font-size: clamp(34px, 10vw, 52px);
  }

  .shop-toolbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-subcategories__grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid-section {
    padding-bottom: 120px;
  }
}
