.shop-header {
  padding: 12rem 0 1rem;
  background: transparent;
}

.shop-controls {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.shop-search-box {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.shop-search-input {
  flex: 1;
  min-width: 240px;
  background: var(--input);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent);
}

.shop-tag-select {
  min-width: 180px;
  background: var(--input);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-tag-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent);
}

.shop-filter-btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  border-radius: 9999px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

.shop-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.shop-filter-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 35%, transparent);
}

.shop-main-title {
  text-align: center;
  margin-bottom: 1.2rem;
}

.shop-main-title h1 {
  display: inline-block;
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 10px 30px color-mix(in srgb, var(--primary) 25%, transparent);
}

.shop-main-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0.7rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.85;
}

.shop-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.shop-result-count {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
}

.shop-card-image {
  height: 220px;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

.shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.shop-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 50%);
  pointer-events: none;
}

.shop-card-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-product-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.shop-product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.shop-product-card:hover .shop-card-image img {
  transform: scale(1.05);
}

.shop-price {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1;
}

#productModal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(3, 3, 3, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#productModalDialog {
  width: min(1320px, 98vw);
  max-height: 95vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border));
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.15);
  transform: translateY(14px) scale(0.985);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#productModalDialog.open {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.product-modal-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  min-height: 70vh;
}

.product-modal-media {
  min-height: 360px;
  background: var(--secondary);
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-modal-info {
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--card) 90%, var(--secondary)) 0%, var(--card) 100%);
}

.product-modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.product-modal-close:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.product-modal-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.product-modal-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.product-modal-description {
  color: var(--muted-foreground);
  line-height: 1.85;
  margin-bottom: 1.7rem;
  font-size: 1.05rem;
  max-width: 42ch;
}

.shop-empty {
  display: none;
  text-align: center;
  color: var(--muted-foreground);
  padding: 1.5rem 0 0.5rem;
  font-size: 1rem;
}

.shop-contact-section {
  position: relative;
  overflow: hidden;
  padding-top: 4.5rem;
}

.shop-contact-card {
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 45%),
    radial-gradient(circle at 88% 84%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 40%),
    linear-gradient(145deg, color-mix(in srgb, var(--card) 88%, #062a1b), color-mix(in srgb, var(--card) 95%, #0a2f1f));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(34, 197, 94, 0.16);
  padding: clamp(1.3rem, 2vw, 2.4rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem;
  align-items: center;
}

.shop-contact-kicker {
  display: inline-flex;
  border: 1px solid color-mix(in srgb, var(--primary) 60%, transparent);
  color: color-mix(in srgb, var(--primary) 70%, #fff);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
}

.shop-contact-copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.16;
}

.shop-contact-copy p {
  margin: 0;
  color: var(--muted-foreground);
  max-width: 64ch;
  line-height: 1.8;
}

.shop-contact-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.shop-contact-points span {
  border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--border));
  background: color-mix(in srgb, var(--secondary) 86%, #0e1d15);
  color: color-mix(in srgb, var(--foreground) 88%, #fff);
  border-radius: 9999px;
  padding: 0.38rem 0.78rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.shop-contact-actions {
  display: grid;
  gap: 0.75rem;
  min-width: min(260px, 100%);
}

.shop-contact-actions .btn {
  width: 100%;
  justify-content: center;
}

.shop-whatsapp-btn {
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.shop-whatsapp-btn:hover {
  background: #20bd5b;
  color: #fff;
}

@media (max-width: 768px) {
  .shop-header {
    padding-top: 8.8rem;
  }

  .shop-main-title h1 {
    font-size: 2.2rem;
  }

  .shop-search-box {
    width: 100%;
  }

  .product-modal-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-modal-media {
    min-height: 250px;
    max-height: 360px;
  }

  .product-modal-info {
    padding: 1.5rem;
  }

  .product-modal-title {
    font-size: 1.6rem;
  }

  .product-modal-price {
    font-size: 1.8rem;
  }

  .shop-contact-section {
    padding-top: 3.5rem;
  }

  .shop-contact-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .shop-contact-copy p {
    line-height: 1.65;
  }

  .shop-contact-actions {
    min-width: 100%;
  }
}
