
.qap-section {
  --qap-bg: #ffffff;
  --qap-surface: #f7faf6;
  --qap-surface-strong: #eef4ef;
  --qap-text: #17201b;
  --qap-body: #5c665f;
  --qap-muted: #8a958e;
  --qap-border: #d9e3d9;
  --qap-accent: #1f6f4a;
  --qap-accent-dark: #123b2a;
  --qap-shadow: 0 16px 36px rgba(18, 59, 42, 0.08);

  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: 64px 24px 72px;
  background: var(--qap-bg);
  color: var(--qap-text);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
  overflow: hidden;
}
.qap-section * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.qap-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.qap-header {
  margin-bottom: 38px;
  text-align: left;
}
.qap-title {
  color: var(--qap-text);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.qap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.qap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  text-decoration: none;
  color: inherit;
}
.qap-card:hover,
.qap-card:focus {
  outline: none;
}
.qap-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--qap-surface-strong);
  box-shadow: 0 2px 8px rgba(18, 59, 42, 0.04);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.qap-image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.qap-card:nth-child(1) .qap-image-container img {
  object-position: 32% center;
}
.qap-card:nth-child(2) .qap-image-container img {
  object-position: 40% center;
}
.qap-card:nth-child(3) .qap-image-container img {
  object-position: 35% center;
}
.qap-card:nth-child(4) .qap-image-container img {
  object-position: 30% center;
}
.qap-card:hover .qap-image-container,
.qap-card:focus .qap-image-container {
  transform: translateY(-6px);
  box-shadow: var(--qap-shadow);
}
.qap-card:hover .qap-image-container img,
.qap-card:focus .qap-image-container img {
  transform: scale(1.05);
}
.qap-card-body {
  display: flex;
  flex-direction: column;
  padding: 16px 2px 2px;
  text-align: left;
}
.qap-card-title {
  color: var(--qap-text);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 180ms ease;
}
.qap-card:hover .qap-card-title {
  color: var(--qap-accent);
}
.qap-product-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qap-product-thumb {
  width: 18px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1.5px 3px rgba(23, 32, 27, 0.08));
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.qap-card:hover .qap-product-thumb {
  transform: scale(1.08) translateY(-1px);
}
.qap-product-desc {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--qap-body);
  font-weight: 600;
  transition: color 180ms ease;
}
.qap-card:hover .qap-product-desc {
  color: var(--qap-text);
}

@media (max-width: 1024px) {
  .qap-section {
    padding: 52px 20px 62px;
  }
  .qap-title {
    font-size: 28px;
  }
  .qap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .qap-section {
    padding: 42px 16px 52px;
  }
  .qap-title {
    font-size: 24px;
    line-height: 1.25;
  }
  .qap-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .qap-product-desc {
    font-size: 11.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qap-image-container,
  .qap-image-container img,
  .qap-product-thumb {
    transition: none;
  }
  .qap-card:hover .qap-image-container {
    transform: none;
  }
  .qap-card:hover .qap-image-container img {
    transform: none;
  }
  .qap-card:hover .qap-product-thumb {
    transform: none;
  }
}
