/* =========================================================
   Dr.GOLF — Cookie Consent Modal
   ========================================================= */

.dg-cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 20px clamp(16px, 4vw, 32px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .4s var(--ease-premium, cubic-bezier(.2,.7,.2,1)),
              transform .4s var(--ease-premium, cubic-bezier(.2,.7,.2,1));
  font-family: var(--font-sans, 'Inter', 'Noto Sans JP', sans-serif);
}

.dg-cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dg-cookie-consent-inner {
  width: 100%;
  max-width: 960px;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 4px;
  padding: 24px clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  color: #f4f1ea;
}

.dg-cookie-consent-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dg-cookie-consent-title {
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: #c9a961;
  margin: 0;
  font-weight: 500;
}

.dg-cookie-consent-text {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(244, 241, 234, 0.75);
  margin: 0;
}

.dg-cookie-consent-text a {
  color: #c9a961;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.dg-cookie-consent-text a:hover {
  color: #d9b873;
}

.dg-cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dg-cookie-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid rgba(201, 169, 97, 0.25);
  background: transparent;
  color: #f4f1ea;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
  font-family: inherit;
}

.dg-cookie-consent-btn:hover {
  border-color: #c9a961;
  color: #c9a961;
}

.dg-cookie-consent-btn.primary {
  background: #c9a961;
  color: #1a1a1a;
  border-color: #c9a961;
}

.dg-cookie-consent-btn.primary:hover {
  background: #d9b873;
  border-color: #d9b873;
  color: #1a1a1a;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .dg-cookie-consent {
    padding: 14px;
  }
  .dg-cookie-consent-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .dg-cookie-consent-actions {
    justify-content: stretch;
  }
  .dg-cookie-consent-btn {
    flex: 1;
    padding: 13px 14px;
  }
}
