/* SHOP 전용 스타일 */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-page {
  padding-top: var(--header-height);
  background: #fff;
}

.desktop-nav .active {
  position: relative;
}

.desktop-nav .active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--black);
  content: "";
}

/* SHOP HERO */
.shop-hero {
  position: relative;
  width: 100%;
  height: min(650px, calc(100vh - var(--header-height)));
  min-height: 480px;
  overflow: hidden;
}

.shop-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .8s ease-in-out;
  will-change: transform;
}

.shop-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.shop-hero-image {
  width: 100%;
  height: 100%;
  border: 0;
}

.shop-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.shop-hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.shop-hero-dot.active {
  width: 25px;
  background: #777;
}

/* PRODUCT LIST */
.shop-list-section {
  padding: 70px 0 110px;
  background: rgba(164, 210, 51, 0.035);
}

.shop-breadcrumb {
  margin: 0 0 36px;
  color: #777;
  font-size: 13px;
}

.shop-title-row h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-bottom: 55px;
  border-bottom: 1px solid #dedede;
}

.category-buttons {
  display: flex;
  gap: 16px;
}

.category-button {
  min-width: 148px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid #888;
  background: transparent;
  color: var(--black);
  font-size: 13px;
  cursor: pointer;
  transition: .2s ease;
}

.category-button:hover,
.category-button.active {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.sort-box select {
  min-width: 130px;
  height: 48px;
  padding: 0 40px 0 18px;
  border: 1px solid #888;
  border-radius: 0;
  background: #fff;
  color: var(--black);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 34px;
  padding-top: 55px;
}

.shop-product-card {
  min-width: 0;
}

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

.shop-product-image {
  aspect-ratio: 1 / 1;
  min-height: 0;
  background-color: #fff;
  transition: transform .35s ease;
}

.shop-product-image img,
.shop-subscribe-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-link:hover .shop-product-image {
  transform: translateY(-5px);
}

.shop-product-info {
  padding-top: 22px;
}

.shop-product-info h2 {
  margin: 6px 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.product-summary {
  margin: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

.shop-price-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-top: 18px;
}

.shop-price-row strong {
  font-size: 17px;
}

.shop-price-row span {
  color: #aaa;
  font-size: 12px;
}

.empty-message {
  padding: 90px 0 10px;
  color: #777;
  text-align: center;
}

/* SUBSCRIBE BANNER */
.shop-subscribe-banner {
  padding: 90px 0;
  color: var(--white);
  background: #202020;
}

.shop-subscribe-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: center;
}

.shop-subscribe-copy h2 {
  margin: 18px 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.shop-subscribe-copy > p:not(.section-label) {
  margin: 0 0 28px;
  color: #bbb;
  font-size: 15px;
  line-height: 1.75;
}

.shop-subscribe-image {
  min-height: 570px;
  border: 0;
}

@media (max-width: 900px) {
  .shop-hero {
    height: 520px;
    min-height: 0;
  }

  .shop-list-section {
    padding: 55px 0 80px;
  }

  .shop-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-box select {
    width: 100%;
  }

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

  .shop-subscribe-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .shop-subscribe-copy {
    order: 2;
  }

  .shop-subscribe-image {
    order: 1;
    min-height: 480px;
  }
}

@media (max-width: 600px) {
  .shop-hero {
    height: 420px;
  }

  .shop-breadcrumb {
    margin-bottom: 25px;
  }

  .shop-controls {
    margin-top: 30px;
    padding-bottom: 35px;
  }

  .category-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .category-button {
    min-width: 0;
    width: 100%;
    padding: 0 10px;
    font-size: 11px;
    white-space: normal;
  }

  .sort-box,
  .sort-box select {
    min-width: 0;
    max-width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 35px;
  }

  .shop-product-info h2 {
    font-size: 22px;
  }

  .shop-subscribe-banner {
    padding: 70px 0;
  }

  .shop-subscribe-image {
    min-height: 380px;
  }
}
