/* ──────────────────────────────────────────────────────────────
   Research-compound disclaimer
   - .site-disclaimer       : short strip for home/shop/blog/etc.
   - .pdp-legal-disclaimer  : long glass-style <details> dropdown
                              used on /products/* and /stacks/*
   ────────────────────────────────────────────────────────────── */

/* ── Short disclaimer strip (shown site-wide above footer) ── */
.site-disclaimer {
  max-width: 72rem;
  margin: 2.5rem auto 1.25rem;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 184, 0, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 184, 0, 0.06), rgba(255, 96, 96, 0.04)),
    rgba(13, 18, 25, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 220, 170, 0.92);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.site-disclaimer strong {
  color: #ffc86b;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 0.35rem;
}
.site-disclaimer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 640px) {
  .site-disclaimer {
    margin: 1.75rem 0.75rem 0.75rem;
    padding: 0.8rem 1rem;
    font-size: 0.72rem;
  }
}

/* ── Long disclaimer: glass <details> dropdown on product pages ── */
.pdp-legal-disclaimer {
  max-width: 72rem;
  margin: 2.5rem auto 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background:
    linear-gradient(150deg, rgba(11, 16, 23, 0.82), rgba(7, 11, 16, 0.92)),
    radial-gradient(520px 260px at 0% 0%, rgba(0, 229, 255, 0.05), transparent 60%),
    radial-gradient(520px 260px at 100% 100%, rgba(176, 96, 255, 0.05), transparent 60%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 24px 54px rgba(0, 229, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
.pdp-legal-disclaimer > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #eaf6ff;
  font-weight: 600;
  letter-spacing: 0.02em;
  user-select: none;
  transition: background 0.2s ease;
}
.pdp-legal-disclaimer > summary::-webkit-details-marker { display: none; }
.pdp-legal-disclaimer > summary::marker { content: ''; }
.pdp-legal-disclaimer > summary:hover {
  background: linear-gradient(125deg, rgba(0, 229, 255, 0.06), rgba(176, 96, 255, 0.04));
}
.pdp-legal-disclaimer .pdp-legal-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin-right: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 184, 0, 0.35);
  background: linear-gradient(125deg, rgba(255, 184, 0, 0.12), rgba(255, 96, 96, 0.08));
  color: #ffc86b;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pdp-legal-disclaimer .pdp-legal-title {
  flex: 1;
  font-size: 0.95rem;
  color: #eaf6ff;
}
.pdp-legal-disclaimer .pdp-legal-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #7fe9ff;
  transition: transform 0.25s ease;
}
.pdp-legal-disclaimer[open] .pdp-legal-chevron { transform: rotate(180deg); }
.pdp-legal-disclaimer .pdp-legal-body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  color: rgba(234, 246, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.75;
}
.pdp-legal-disclaimer .pdp-legal-body p { margin: 1rem 0 0; }
.pdp-legal-disclaimer .pdp-legal-body p:first-child { margin-top: 1.1rem; }
.pdp-legal-disclaimer .pdp-legal-body strong {
  color: #ffc86b;
  letter-spacing: 0.03em;
}
.pdp-legal-disclaimer .pdp-legal-body a {
  color: #7fe9ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 640px) {
  .pdp-legal-disclaimer { margin: 1.75rem 0.75rem 1rem; border-radius: 14px; }
  .pdp-legal-disclaimer > summary { padding: 0.95rem 1.1rem; flex-wrap: wrap; }
  .pdp-legal-disclaimer .pdp-legal-eyebrow { margin-bottom: 0.35rem; }
  .pdp-legal-disclaimer .pdp-legal-body { padding: 0 1.1rem 1.25rem; font-size: 0.85rem; }
}

/* Hide the old minimal per-product disclaimer that lived inside <main> —
   the new glass dropdown replaces it. */
.pdp-disclaimer { display: none !important; }
