.shop-section {
  min-height: 100vh;
  background: var(--neutral-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.shop-section h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--neutral-light);
  position: relative;
}

.shop-section h3 {
  font-family: var(--font-body);
  font-size: var(--fs-h5);
  font-weight: var(--fw-medium);
  color: var(--support);
  text-align: center;
  margin-bottom: 3rem;
}

.tag-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  max-width: 60rem;
}

.tag {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid var(--support);
  color: var(--support);
  border-radius: 2rem;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--support);
  transition: left 0.3s ease;
  z-index: -1;
}

.tag:hover {
  color: var(--neutral-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 218, 220, 0.3);
}

.tag:hover::before {
  left: 0;
}

.tag.active {
  background: var(--support);
  color: var(--neutral-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 218, 220, 0.4);
}

.shop-container {
  max-width: 80rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.shop-item {
  background: var(--neutral-light);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(168, 218, 220, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 1 1 20rem;
  max-width: 22rem;
  min-width: 18rem;
}

.shop-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(29, 53, 87, 0.15);
}

.shop-item img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shop-item:hover img {
  transform: scale(1.05);
}

.shop-item h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  font-weight: var(--fw-semibold);
  color: var(--neutral-dark);
  margin: 1.5rem 1.5rem 1rem 1.5rem;
  line-height: var(--lh-h5);
}

.shop-item p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--section-text);
  line-height: var(--lh-base);
  margin: 0 1.5rem 1rem 1.5rem;
  opacity: 0.8;
}

.shop-item .price {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--accent);
  margin: 0 1.5rem 1.5rem 1.5rem;
  display: block;
}

.sizes {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 1.5rem 1.5rem 1.5rem;
}

.sizes label {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--neutral-dark);
}

.sizes select {
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--support);
  border-radius: 0.5rem;
  background: var(--neutral-light);
  color: var(--neutral-dark);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 4rem;
}

.sizes select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.1);
}

.item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  margin-top: auto;
}

.item-actions button {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.wishlist {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.wishlist::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.wishlist:hover {
  color: var(--neutral-light);
  transform: translateY(-2px);
}

.wishlist:hover::before {
  left: 0;
}

.quick-view {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.quick-view::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.quick-view:hover {
  color: var(--neutral-light);
  transform: translateY(-2px);
}

.quick-view:hover::before {
  left: 0;
}

.add-to-cart {
  background: var(--support);
  color: var(--neutral-dark);
  border: 2px solid var(--support);
  font-weight: var(--fw-semibold);
}

.add-to-cart::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--neutral-dark);
  transition: left 0.3s ease;
  z-index: -1;
}

.add-to-cart:hover {
  color: var(--neutral-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 218, 220, 0.3);
}

.add-to-cart:hover::before {
  left: 0;
}

.more-cta {
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--support);
  border: 2px solid var(--support);
  border-radius: 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--fs-h6);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  position: relative;
  overflow: hidden;
}

.more-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--support);
  transition: left 0.3s ease;
  z-index: -1;
}

.more-cta:hover {
  color: var(--neutral-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(168, 218, 220, 0.3);
}

.more-cta:hover::before {
  left: 0;
}

.more-cta:active {
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .shop-section {
    padding: 3rem 1.5rem;
  }

  .shop-container {
    gap: 1.5rem;
  }

  .shop-item {
    flex: 1 1 18rem;
    min-width: 16rem;
  }

  .tag-selector {
    gap: 0.5rem;
  }

  .tag {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 820px) {
  .shop-section h2 {
    font-size: var(--fs-h2);
  }

  .shop-section h3 {
    font-size: var(--fs-h6);
    margin-bottom: 2rem;
  }

  .shop-container {
    gap: 1rem;
  }

  .shop-item {
    flex: 1 1 15rem;
    min-width: 15rem;
    max-width: 20rem;
  }

  .shop-item img {
    height: 14rem;
  }

  .item-actions {
    padding: 1rem;
  }

  .tag-selector {
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .shop-section {
    padding: 2rem 1rem;
  }

  .shop-section h2 {
    font-size: var(--fs-h3);
  }

  .shop-section h3 {
    font-size: var(--fs-base);
    margin-bottom: 1.5rem;
  }

  .tag-selector {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .tag {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .shop-container {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .shop-item {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: auto;
    align-items: center;
    text-align: center;
  }

  .shop-item img {
    height: 12rem;
  }

  .shop-item h3 {
    font-size: var(--fs-h6);
    margin: 1rem 1rem 0.75rem 1rem;
  }

  .shop-item p {
    margin: 0 1rem 0.75rem 1rem;
  }

  .shop-item .price {
    font-size: var(--fs-h5);
    margin: 0 1rem 1rem 1rem;
  }

  .sizes {
    margin: 0 1rem 1rem 1rem;
  }

  .item-actions {
    gap: 0.5rem;
    padding: 1rem;
  }

  .item-actions button {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }

  .more-cta {
    padding: 0.875rem 2rem;
    font-size: var(--fs-base);
  }
}
