/* C2 catalog — scoped under .c2-catalog to avoid clashes with research-menu.css */
.c2-catalog {
  --c2-bg: #03111e;
  --c2-bg-secondary: #061a2a;
  --c2-card: #061725;
  --c2-card-hover: #092338;
  --c2-border: rgba(0, 196, 218, 0.32);
  --c2-teal: #00c4da;
  --c2-teal-light: #4ee4ef;
  --c2-coral: #ff6233;
  --c2-ivory: #f5f0e8;
  --c2-text: #d7e1e8;
  --c2-muted: #9caebd;

  position: relative;
  overflow: hidden;
  padding: 54px 22px 30px;
  color: var(--c2-text);
  background:
    radial-gradient(
      circle at 15% 12%,
      rgba(0, 196, 218, 0.08),
      transparent 27%
    ),
    radial-gradient(
      circle at 85% 55%,
      rgba(24, 74, 127, 0.13),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #020d17 0%,
      var(--c2-bg) 45%,
      #061827 100%
    );
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.c2-catalog::before,
.c2-catalog::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  opacity: 0.13;
  background:
    radial-gradient(
      circle at center,
      transparent 0 45%,
      var(--c2-teal) 46% 47%,
      transparent 48% 100%
    );
  pointer-events: none;
}

.c2-catalog::before {
  top: -250px;
  right: -160px;
}

.c2-catalog::after {
  bottom: -260px;
  left: -170px;
}

.c2-catalog-inner {
  position: relative;
  z-index: 2;
  width: min(1500px, 100%);
  margin: 0 auto;
}

.c2-catalog-header {
  margin-bottom: 30px;
  text-align: center;
}

.c2-catalog-header h2 {
  margin: 0;
  color: var(--c2-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 67px);
  font-weight: 500;
  line-height: 1.05;
}

.c2-catalog-header h2 span {
  color: var(--c2-teal);
}

.c2-mini-wave {
  width: 70px;
  height: 8px;
  margin: 8px auto 12px;
  border-top: 2px solid var(--c2-teal);
  border-radius: 50%;
  transform: skewX(-20deg);
}

.c2-catalog-header p {
  margin: 0;
  color: var(--c2-muted);
  font-size: 0.95rem;
}

.c2-catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.c2-product-card {
  display: flex;
  min-height: 440px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--c2-border);
  border-radius: 17px;
  background:
    linear-gradient(
      180deg,
      rgba(7, 27, 43, 0.95),
      rgba(3, 17, 30, 0.98)
    );
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.c2-product-card:hover {
  border-color: var(--c2-teal);
  box-shadow:
    0 16px 46px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(0, 196, 218, 0.12);
  transform: translateY(-4px);
}

.c2-product-image {
  position: relative;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 196, 218, 0.18),
      transparent 51%
    ),
    linear-gradient(
      180deg,
      #072338,
      #041522
    );
}

.c2-product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(
      30deg,
      transparent 43%,
      var(--c2-teal) 44% 45%,
      transparent 46%
    ),
    linear-gradient(
      -30deg,
      transparent 43%,
      var(--c2-teal) 44% 45%,
      transparent 46%
    );
  background-size: 90px 90px;
}

.c2-purple-card .c2-product-image {
  background:
    radial-gradient(
      circle at center,
      rgba(141, 49, 168, 0.25),
      transparent 52%
    ),
    linear-gradient(180deg, #1a1530, #071522);
}

.c2-coral-card .c2-product-image {
  background:
    radial-gradient(
      circle at center,
      rgba(255, 98, 51, 0.18),
      transparent 52%
    ),
    linear-gradient(180deg, #271723, #071522);
}

.c2-product-image img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 82%;
  height: 205px;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 17px rgba(0, 0, 0, 0.45));
  transition: transform 200ms ease;
}

.c2-product-card:hover .c2-product-image img {
  transform: scale(1.035);
}

.c2-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 16px 14px;
}

.c2-product-body h3 {
  margin: 0;
  color: var(--c2-ivory);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.c2-product-body h3 span {
  color: var(--c2-ivory);
}

.c2-tag {
  align-self: flex-start;
  margin-top: 8px;
  padding: 3px 10px;
  border: 1px solid var(--c2-teal);
  border-radius: 999px;
  color: var(--c2-teal-light);
  font-size: 0.67rem;
  font-weight: 700;
}

.c2-product-body p {
  margin: 10px 0 12px;
  color: var(--c2-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.c2-price {
  margin-top: auto;
  margin-bottom: 12px;
  color: var(--c2-coral);
  font-size: 1.16rem;
  font-weight: 900;
}

.c2-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c2-view-button,
.c2-add-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.c2-view-button {
  border: 1px solid var(--c2-teal);
  background: transparent;
  color: var(--c2-teal-light);
}

.c2-view-button:hover {
  background: rgba(0, 196, 218, 0.08);
}

.c2-add-button {
  gap: 6px;
  border: 0;
  background:
    linear-gradient(
      180deg,
      #058cad,
      #08728e
    );
  color: white;
}

.c2-add-button:hover {
  background:
    linear-gradient(
      180deg,
      #0bb1d0,
      #0788a8
    );
}

.c2-main-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.c2-shop-all,
.c2-coa-button {
  display: inline-flex;
  min-width: 205px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.c2-shop-all {
  border: 1px solid var(--c2-teal);
  color: var(--c2-teal-light);
}

.c2-coa-button {
  border: 1px solid var(--c2-coral);
  color: var(--c2-coral);
}

.c2-quality-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 196, 218, 0.2);
}

.c2-quality-bar > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 14px;
}

.c2-quality-bar > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.c2-quality-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--c2-teal);
  border-radius: 50%;
  color: var(--c2-teal);
  font-size: 1rem;
  flex: 0 0 auto;
}

.c2-quality-bar strong {
  color: var(--c2-text);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.c2-catalog .c2-disclaimer {
  margin: 0;
  color: #708494;
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.c2-catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--c2-muted);
}

@media (max-width: 1280px) {
  .c2-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .c2-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .c2-quality-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .c2-quality-bar > div {
    border-left: 0 !important;
  }
}

@media (max-width: 680px) {
  .c2-catalog {
    padding: 42px 13px 26px;
  }

  .c2-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .c2-product-card {
    min-height: 390px;
  }

  .c2-product-image {
    min-height: 175px;
  }

  .c2-product-image img {
    height: 165px;
  }

  .c2-main-actions {
    flex-direction: column;
  }

  .c2-shop-all,
  .c2-coa-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .c2-catalog-grid {
    grid-template-columns: 1fr;
  }

  .c2-product-card {
    min-height: auto;
  }

  .c2-product-image {
    min-height: 240px;
  }

  .c2-product-image img {
    height: 225px;
  }

  .c2-quality-bar {
    grid-template-columns: 1fr;
  }
}
