.sh-legal-footer { clear: both; border-top: 1px solid var(--line, rgba(255, 255, 255, 0.12)); background: #0c0d10; color: #cbd5e1; font: 13px/1.5 var(--font-body, "Plus Jakarta Sans", sans-serif); }
.sh-legal-footer__inner { max-width: 1200px; margin: auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sh-legal-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.sh-legal-footer a, .sh-legal-footer button { color: #f1f5f9; text-decoration: none; font: inherit; font-weight: 500; transition: color 0.15s ease; }
.sh-legal-footer button { background: none; border: 0; padding: 0; cursor: pointer; }
.sh-legal-footer a:hover, .sh-legal-footer button:hover { color: #ffffff; text-decoration: underline; }
body[data-mode="admin"] > .sh-legal-footer, body[data-mode="public"] > .sh-legal-footer { margin-left: 244px; }
.sh-cookie-notice { position: fixed; right: 16px; bottom: 16px; z-index: 2000; max-width: 540px; width: calc(100% - 32px); padding: 18px; display: flex; align-items: center; gap: 16px; background: #202025; color: #f5f5f6; border: 1px solid #55545c; border-radius: 12px; box-shadow: 0 16px 40px #0009; font: 14px/1.55 Arial, sans-serif; }
.sh-cookie-notice[hidden] { display: none; }
.sh-cookie-notice strong { font-size: 15px; }
.sh-cookie-notice p { margin: 5px 0 0; }
.sh-cookie-notice a { color: #ff8cad; text-decoration: underline; }
.sh-cookie-notice button { flex: none; background: #ff1e56; color: white; border: 0; border-radius: 7px; padding: 10px 14px; font: 700 13px Arial, sans-serif; cursor: pointer; }
.sh-cookie-notice button:focus-visible, .sh-legal-footer button:focus-visible, .sh-legal-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sh-legal-page { max-width: 900px; margin: 0 auto; padding: 42px 24px 72px; color: #e2e2e5; line-height: 1.7; }
.sh-legal-page h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 0 0 8px; }
.sh-legal-page h2 { font-size: 21px; line-height: 1.3; margin: 36px 0 8px; }
.sh-legal-page p, .sh-legal-page li { font-size: 15px; }
.sh-legal-page p { margin: 10px 0; }
.sh-legal-page ul { padding-left: 23px; }
.sh-legal-page a { color: #ff8cad; }
.sh-legal-page .sh-legal-meta { color: #a6a6ae; font-size: 13px; margin-bottom: 28px; }
.sh-legal-page .sh-legal-note { padding: 16px 18px; border-left: 3px solid #ff1e56; background: #1b1b20; border-radius: 0 8px 8px 0; }
.sh-legal-page table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sh-legal-page th, .sh-legal-page td { border: 1px solid #44444a; padding: 10px; text-align: left; vertical-align: top; }
.sh-legal-page th { background: #202025; }
.sh-auth-legal { margin: 14px 0 4px; color: #a6a6ae; font-size: 12px; line-height: 1.5; }
.sh-auth-legal a { color: #ff8cad; text-decoration: underline; }
.sh-commercial-fields { border-top: 1px solid var(--line, #303036); margin-top: 26px; padding-top: 22px; }
.sh-commercial-fields h2 { font-size: 19px; margin: 0 0 8px; }
.sh-commercial-fields p { color: var(--muted, #aaa); font-size: 13px; line-height: 1.5; margin: 0 0 16px; }
.sh-commercial-fields textarea { width: 100%; }
.sh-commercial-terms { background: #17171b; color: #e2e2e5; border: 1px solid #35353c; border-radius: 12px; padding: 20px 24px; margin: 20px 0; font-size: 13px; line-height: 1.55; }
.sh-commercial-terms h2 { font-size: 18px; margin: 0 0 8px; }
.sh-commercial-terms p { margin: 8px 0; }
.sh-commercial-terms dl { margin: 15px 0; display: grid; gap: 12px; }
.sh-commercial-terms dl > div { border-top: 1px solid #35353c; padding-top: 10px; }
.sh-commercial-terms dt { color: #fff; font-weight: 700; }
.sh-commercial-terms dd { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.sh-commercial-terms__pending { color: #ffadbd; font-weight: 700; }
#booking-dialog .sh-commercial-terms { margin: 20px 0; padding: 15px; }

/* Sanfona / Accordion de Condições Comerciais */
.sh-commercial-terms-accordion {
  background: #141417;
  color: #e2e2e5;
  border: 1px solid #282830;
  border-radius: 10px;
  margin: 14px 0 18px;
  font-size: 13px;
  line-height: 1.55;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sh-commercial-terms-accordion:hover {
  border-color: #383842;
}
.sh-commercial-terms-accordion[open] {
  border-color: rgba(255, 30, 86, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.sh-commercial-terms-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
  user-select: none;
  background: #18181c;
  list-style: none;
  transition: background 0.15s;
}
.sh-commercial-terms-accordion__summary::-webkit-details-marker {
  display: none;
}
.sh-commercial-terms-accordion__summary:hover {
  background: #1f1f24;
}
.sh-commercial-terms-accordion__header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sh-terms-icon {
  font-size: 16px;
  line-height: 1;
}
.sh-terms-titles {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sh-terms-main-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.sh-terms-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.sh-terms-badge--complete {
  background: rgba(0, 240, 181, 0.12);
  color: #00f0b5;
  border: 1px solid rgba(0, 240, 181, 0.25);
}
.sh-terms-badge--pending {
  background: rgba(255, 30, 86, 0.12);
  color: #ff6b8b;
  border: 1px solid rgba(255, 30, 86, 0.25);
}
.sh-terms-toggle-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted, #8b8b94);
  font-size: 11px;
  white-space: nowrap;
}
.sh-terms-chevron {
  display: inline-block;
  font-size: 14px;
  transition: transform 0.2s ease;
}
.sh-commercial-terms-accordion[open] .sh-terms-chevron {
  transform: rotate(180deg);
}
.sh-commercial-terms-accordion__content {
  padding: 16px 20px;
  border-top: 1px solid #282830;
  background: #121215;
}
.sh-terms-intro {
  margin: 0 0 14px;
  color: var(--muted, #8b8b94);
  font-size: 12px;
}
.sh-terms-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
.sh-terms-card {
  background: #18181d;
  border: 1px solid #282832;
  border-radius: 8px;
  padding: 12px 14px;
}
.sh-terms-card dt {
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sh-terms-card dd {
  margin: 0;
  color: #d1d1d6;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.sh-terms-disclaimer {
  font-size: 11px;
  color: var(--muted, #8b8b94);
  margin: 0;
  font-style: italic;
}

.sh-booking-terms { border-top: 1px solid var(--line, #303036); padding: 12px 0; font-size: 13px; }
.sh-booking-terms summary { cursor: pointer; color: var(--text, #eee); font-weight: 700; }
.sh-booking-terms dl { display: grid; gap: 10px; margin: 12px 0 0; }
.sh-booking-terms dt { font-weight: 700; }
.sh-booking-terms dd { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 800px) { body[data-mode="admin"] > .sh-legal-footer, body[data-mode="public"] > .sh-legal-footer { margin-left: 0; } .sh-cookie-notice { flex-direction: column; align-items: stretch; } .sh-cookie-notice button { align-self: flex-start; } .sh-legal-page table { display: block; overflow-x: auto; } }

/* ============================================================
   LIGHT THEME OVERRIDES FOR LEGAL & COMMERCIAL ACCORDION
   ============================================================ */
html[data-theme="light"] .sh-legal-footer {
  background: #f8fafc;
  color: #64748b;
  border-top-color: #e2e8f0;
}
html[data-theme="light"] .sh-legal-footer a,
html[data-theme="light"] .sh-legal-footer button {
  color: #334155;
}
html[data-theme="light"] .sh-legal-footer a:hover,
html[data-theme="light"] .sh-legal-footer button:hover {
  color: #0f172a;
}
html[data-theme="light"] .sh-cookie-notice {
  background: #ffffff;
  color: #1e293b;
  border-color: #cbd5e1;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
html[data-theme="light"] .sh-cookie-notice strong {
  color: #0f172a;
}
html[data-theme="light"] .sh-legal-page {
  color: #1e293b;
}
html[data-theme="light"] .sh-legal-page .sh-legal-meta {
  color: #64748b;
}
html[data-theme="light"] .sh-legal-page .sh-legal-note {
  background: #f1f5f9;
  border-left-color: #ff1e56;
}
html[data-theme="light"] .sh-legal-page table th,
html[data-theme="light"] .sh-legal-page table td {
  border-color: #e2e8f0;
}
html[data-theme="light"] .sh-legal-page table th {
  background: #f8fafc;
  color: #0f172a;
}
html[data-theme="light"] .sh-commercial-terms-accordion {
  background: #ffffff;
  color: #334155;
  border-color: #e2e8f0;
}
html[data-theme="light"] .sh-commercial-terms-accordion:hover {
  border-color: #cbd5e1;
}
html[data-theme="light"] .sh-commercial-terms-accordion__summary {
  background: #f8fafc;
}
html[data-theme="light"] .sh-commercial-terms-accordion__summary:hover {
  background: #f1f5f9;
}
html[data-theme="light"] .sh-terms-main-title {
  color: #0f172a;
}
html[data-theme="light"] .sh-commercial-terms-accordion__content {
  border-top-color: #e2e8f0;
  background: #ffffff;
}
html[data-theme="light"] .sh-terms-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}
html[data-theme="light"] .sh-terms-card dt {
  color: #0f172a;
}
html[data-theme="light"] .sh-terms-card dd {
  color: #475569;
}

