.shop-page {
  min-height: calc(1700px - 72px);
  background: #fff;
}

.shop-inner {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 24px;
}

.shop-hero {
  padding-top: 78px;
}

.shop-title {
  text-align: center;
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.shop-category-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 76px;
  margin-top: 56px;
}

.shop-tab {
  border: none;
  background: none;
  font: inherit;
  font-size: 19px;
  font-weight: 400;
  color: #666;
  letter-spacing: -0.01em;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.25s ease;
}

.shop-tab:hover {
  opacity: 0.65;
}

.shop-tab.is-active {
  color: #111;
}

.shop-product-section {
  padding-top: 38px;
  padding-bottom: 250px;
}

.shop-product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shop-product-card {
  background: #fff;
}

.shop-product-link {
  display: block;
}

.shop-product-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}

.shop-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  font-size: 10px;
  background: #000;
  color: #fff;
}

.shop-product-info {
  padding: 12px 4px 0;
}

.shop-product-category {
  font-size: 11px;
  color: #777;
  margin-bottom: 6px;
}

.shop-product-title {
  font-size: 14px;
  margin-bottom: 6px;
}

.shop-product-price {
  font-size: 13px;
}



@media (max-width: 1024px) {
  .shop-product-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .shop-product-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 18px;
  row-gap: 24px;
  justify-items: center;
}

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 320px;
}

.product-thumb {
  width: 100%;
  height: 400px;
  background: #d9d9d9;
  overflow: hidden;
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-meta {
  padding-top: 10px;
}

.product-name {
  font-size: 14px;
  line-height: 1.5;
  color: #111;
}

.product-price {
  margin-top: 4px;
  font-size: 13px;
  color: #555;
}

.shop-empty {
  padding: 80px 0;
  text-align: center;
  font-size: 15px;
  color: #999;
}

.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-top: 54px;
}

.shop-page-numbers {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-arrow,
.page-number {
  border: none;
  background: none;
  padding: 0;
  line-height: 1;
  color: #8b8b8b;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.page-arrow {
  font-size: 26px;
}

.page-number {
  font-size: 22px;
}

.page-arrow:hover,
.page-number:hover {
  opacity: 0.55;
}

.page-arrow:disabled,
.page-number:disabled {
  opacity: 0.3;
  cursor: default;
}

.page-number.is-active {
  color: #111;
}

.footer-inner h2 {
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  gap: 48px;
  margin-bottom: 28px;
}

.footer-links a {
  font-size: 15px;
}

.footer-info p,
.copyright {
  font-size: 11px;
  line-height: 1.9;
  color: #222;
}

@media (max-width: 1024px) {
  .shop-page {
    min-height: auto;
  }

  .shop-inner {
    max-width: 100%;
    padding: 0 24px;
  }

  .shop-hero {
    padding-top: 64px;
  }

  .shop-title {
    font-size: 48px;
  }

  .shop-category-tabs {
    gap: 40px;
    margin-top: 40px;
  }

  .shop-tab {
    font-size: 17px;
  }

  .shop-product-section {
    padding-top: 32px;
    padding-bottom: 140px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }
}

@media (max-width: 768px) {
  .shop-inner {
    padding: 0 16px;
  }

  .shop-hero {
    padding-top: 40px;
  }

  .shop-title {
    font-size: 28px;
  }

  .shop-category-tabs {
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
  }

  .shop-tab {
    font-size: 14px;
  }

  .shop-product-section {
    padding-top: 28px;
    padding-bottom: 90px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
    justify-items: center;
  }

  .product-card {
    width: 100%;
    max-width: 320px;
  }

  .shop-pagination {
    gap: 18px;
    margin-top: 32px;
  }

  .shop-page-numbers {
    gap: 10px;
  }

  .page-arrow {
    font-size: 20px;
  }

  .page-number {
    font-size: 18px;
  }

  .footer-inner h2 {
    font-size: 22px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-info p,
  .copyright {
    font-size: 10px;
    line-height: 1.7;
  }
}
/* ── 상품 카드 배송비 & 재고 표기 ── */
.product-shipping {
  margin-top: 3px;
  font-size: 11px;
  color: #888;
}

.product-stock-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 8px;
  font-size: 10px;
  background: rgba(200, 0, 0, 0.8);
  color: #fff;
}
