/* VDS Cookie Consent — Frontend Styles */

#vds-cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.55);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
#vds-cookie-overlay.vds-visible {
  opacity: 1;
  pointer-events: auto;
}

#vds-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  font-family: 'Jost', sans-serif;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#vds-cookie-banner.vds-visible {
  transform: translateY(0);
}

#vds-cookie-inner {
  background: #1c1812;
  border-top: 1px solid rgba(198, 165, 100, 0.3);
  position: relative;
  overflow: hidden;
}
#vds-cookie-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,165,100,.5), rgba(198,165,100,.95), rgba(198,165,100,.5), transparent);
}
#vds-cookie-inner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,165,100,.04) 0%, transparent 70%);
  pointer-events: none;
}

.vds-cookie-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 40px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.vds-cookie-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(198,165,100,.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vds-cookie-icon svg {
  width: 22px;
  height: 22px;
  fill: rgba(198,165,100,.75);
}

.vds-cookie-body {
  flex: 1;
  min-width: 0;
}

.vds-cookie-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(198,165,100,.6);
  margin-bottom: 5px;
}

.vds-cookie-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
  color: #e8ddc8;
  line-height: 1.3;
  margin: 0 0 8px;
}

.vds-cookie-text {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255,255,255,.42);
  line-height: 1.7;
  margin: 0;
}
.vds-cookie-text a {
  color: rgba(198,165,100,.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(198,165,100,.25);
  transition: color .2s, border-color .2s;
}
.vds-cookie-text a:hover {
  color: rgba(198,165,100,1);
  border-color: rgba(198,165,100,.6);
}

.vds-cookie-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.vds-btn-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.vds-btn-accept {
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #1a1612;
  background: linear-gradient(135deg, #c6a564 0%, #d4b574 50%, #c6a564 100%);
  border: none;
  border-radius: 2px;
  padding: 11px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s, transform .15s;
}
.vds-btn-accept:hover { opacity: .88; transform: translateY(-1px); }
.vds-btn-accept:active { transform: translateY(0); opacity: 1; }

.vds-btn-reject {
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.vds-btn-reject:hover { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.28); }

.vds-btn-manage {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(198,165,100,.45);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  letter-spacing: .08em;
  text-decoration: underline;
  text-decoration-color: rgba(198,165,100,.2);
  transition: color .2s, text-decoration-color .2s;
}
.vds-btn-manage:hover { color: rgba(198,165,100,.8); text-decoration-color: rgba(198,165,100,.5); }

.vds-cookie-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.18);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  transition: color .2s;
  font-family: 'Jost', sans-serif;
}
.vds-cookie-close:hover { color: rgba(255,255,255,.5); }

/* ── Modal ── */
#vds-cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10,8,5,.6);
}
#vds-cookie-modal.vds-open { display: flex; }

.vds-modal-box {
  background: #1c1812;
  border: 1px solid rgba(198,165,100,.25);
  border-radius: 4px;
  max-width: 540px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: vdsModalIn .35s cubic-bezier(.22,1,.36,1) both;
}
@keyframes vdsModalIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.vds-modal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,165,100,.7), transparent);
}

.vds-modal-head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.vds-modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: #e8ddc8;
  margin: 0 0 6px;
}
.vds-modal-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.38);
  line-height: 1.6;
  margin: 0;
}

.vds-modal-body {
  padding: 4px 28px 8px;
}

.vds-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.vds-pref-row:last-child { border-bottom: none; }

.vds-pref-info { flex: 1; }
.vds-pref-label {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  display: block;
  margin-bottom: 3px;
  font-family: 'Jost', sans-serif;
}
.vds-pref-desc {
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(255,255,255,.3);
  line-height: 1.55;
  margin: 0;
  font-family: 'Jost', sans-serif;
}

/* Toggle switch */
.vds-toggle {
  flex-shrink: 0;
  position: relative;
  width: 40px;
  height: 22px;
  margin-top: 2px;
}
.vds-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.vds-toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  transition: background .25s, border-color .25s;
  cursor: pointer;
}
.vds-toggle input:checked + .vds-toggle-track {
  background: rgba(198,165,100,.85);
  border-color: rgba(198,165,100,.6);
}
.vds-toggle input:disabled + .vds-toggle-track {
  background: rgba(198,165,100,.35);
  border-color: rgba(198,165,100,.25);
  cursor: not-allowed;
}
.vds-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: transform .25s, background .25s;
}
.vds-toggle input:checked + .vds-toggle-track::after {
  transform: translateX(18px);
  background: #fff;
}

.vds-modal-foot {
  padding: 16px 28px 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,.06);
}

.vds-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.2);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  font-family: 'Jost', sans-serif;
  transition: color .2s;
}
.vds-modal-close-btn:hover { color: rgba(255,255,255,.5); }

/* ── Responsive ── */
@media (max-width: 700px) {
  .vds-cookie-wrap {
    flex-direction: column;
    padding: 22px 20px 26px;
    gap: 18px;
  }
  .vds-cookie-icon { display: none; }
  .vds-cookie-actions { align-items: stretch; width: 100%; }
  .vds-btn-row { flex-direction: column; }
  .vds-btn-accept,
  .vds-btn-reject { width: 100%; text-align: center; }
  .vds-btn-manage { text-align: center; }
  .vds-modal-box { max-height: 90vh; overflow-y: auto; }
}
