.photo-hero {
  background-image: var(--photo-home-hero, url("/hero.jpg"));
}

.login-card .login-text-button {
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 800;
}

.login-card .login-text-button:hover {
  color: var(--orange-2);
  text-decoration: underline;
}

.login-success {
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--sage-soft);
  color: var(--sage-deep) !important;
  font-size: 11px;
  font-weight: 800;
}

.experience-grid .photo-interior {
  background-image: var(--photo-home-interior, linear-gradient(145deg, #e6bc8b, #834e36 52%, #152619));
}

.experience-grid .photo-sauna {
  background-image: var(--photo-home-sauna, linear-gradient(150deg, #cfaf79, #906847 45%, #575834 72.5%, #3a4f2b, #144623));
}

.photo-view {
  background-image: var(--photo-home-view, linear-gradient(155deg, #7dc3de, #439389 40%, #0d4322));
}

.photo-trail {
  background-image: var(--photo-home-trail, linear-gradient(140deg, #c2be81, #386f3b, #122d19));
}

.photo-fire {
  background-image: var(--photo-home-fire, linear-gradient(150deg, #ef852e, #81300f 50%, #452910, #071b0c));
}

.photo-river {
  background-image: var(--photo-home-river, linear-gradient(145deg, #93ccd6, #5ea8ad 25%, #409698, #198585 50%, #163f21));
}

.bouda-block-photo.photo-interior {
  background-image: var(--photo-bouda-interior, linear-gradient(145deg, #e6bc8b, #834e36 52%, #152619));
}

.bouda-block-photo.photo-sauna {
  background-image: var(--photo-bouda-sauna, linear-gradient(150deg, #cfaf79, #906847 45%, #575834 72.5%, #3a4f2b, #144623));
}

.bouda-block-photo.photo-kitchen {
  background-image: var(--photo-bouda-kitchen, linear-gradient(145deg, #d6b17b, #875b3e 52%, #22372b));
}

.admin-content {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding: 34px 42px 64px;
}

.admin-panel {
  border-radius: 20px;
  box-shadow: 0 14px 38px -34px color-mix(in srgb, var(--a-text) 45%, transparent);
}

.panel-title {
  min-height: 76px;
  padding: 20px 24px;
}

.admin-kpis {
  gap: 18px;
  margin-bottom: 24px;
}

.admin-kpis article {
  position: relative;
  min-height: 142px;
  padding: 22px;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 38px -34px color-mix(in srgb, var(--a-text) 55%, transparent);
}

.admin-kpis article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--orange);
}

.admin-kpis article:nth-child(2)::before,
.admin-kpis article:nth-child(4)::before {
  background: var(--sage-deep);
}

.admin-kpis b {
  margin-block: 12px 5px;
  font-size: clamp(28px, 2.1vw, 38px);
}

.inquiry-tiles {
  padding: 22px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}

.inquiry-tile {
  position: relative;
  min-height: 258px;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 14px 34px -32px color-mix(in srgb, var(--a-text) 55%, transparent);
}

.inquiry-tile::before {
  content: "";
  position: absolute;
  inset: 0 20px auto;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: var(--orange);
  opacity: .85;
}

.inquiry-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px -30px color-mix(in srgb, var(--a-text) 70%, transparent);
}

.inquiry-tile h3 {
  margin-top: 18px;
  font-size: 19px;
}

.inquiry-tile > p {
  margin-bottom: 18px;
  font-size: 10px;
}

.inquiry-tile > div {
  padding-block: 16px;
}

.inquiry-tile footer {
  margin-top: auto;
  padding-top: 17px;
}

.inquiry-tile footer > b {
  font-size: 21px;
}

.guest-grid {
  gap: 18px;
}

.guest-card {
  border-radius: 18px;
  box-shadow: 0 14px 36px -34px color-mix(in srgb, var(--a-text) 55%, transparent);
}

.guest-card > .guest-reset-password {
  margin-top: 8px;
  padding: 9px 11px;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--a-border);
  border-radius: 10px;
  background: var(--a-surface-2);
  color: var(--a-text);
}

.guest-card > .guest-reset-password:hover {
  border-color: var(--sage-deep);
  color: var(--sage-deep);
}

.guest-password-success {
  margin: 10px 0 0;
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 800;
}

.admin-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 25, 18, .66);
  backdrop-filter: blur(6px);
}

.admin-password-modal {
  position: relative;
  width: min(460px, 100%);
  padding: 24px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--a-border);
  border-radius: 20px;
  background: var(--a-surface);
  box-shadow: 0 28px 80px rgba(8, 24, 17, .38);
}

.admin-password-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-password-modal header span {
  color: var(--sage-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.admin-password-modal h3 {
  margin: 5px 0 3px;
  font: 800 24px/1 var(--display);
}

.admin-password-modal header p {
  margin: 0;
  color: var(--a-muted);
  font-size: 11px;
}

.admin-password-modal header > button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: var(--a-surface-2);
  color: var(--a-text);
}

.admin-password-modal label {
  display: grid;
  gap: 7px;
  color: var(--a-soft);
  font-size: 10px;
  font-weight: 800;
}

.admin-password-modal input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--a-border);
  border-radius: 11px;
  outline: 0;
  background: var(--a-bg);
  color: var(--a-text);
}

.admin-password-modal input:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px var(--sage-soft);
}

.admin-password-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 4px;
}

.admin-password-modal footer button {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.admin-password-modal footer .secondary {
  border: 1px solid var(--a-border);
  background: transparent;
  color: var(--a-text);
}

.drawer footer {
  flex-wrap: wrap;
}

.drawer footer .delete-reservation {
  flex-basis: 100%;
  border: 1px solid #c94b4b;
  background: transparent;
  color: #b63131;
}

.drawer footer .delete-reservation:hover:not(:disabled) {
  background: #fce7e5;
}

.drawer footer .delete-reservation:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.invoice-table {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
  background: var(--a-bg);
}

.invoice-table article {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--a-border);
  border-radius: 18px;
  background: var(--a-surface);
  box-shadow: 0 14px 36px -34px color-mix(in srgb, var(--a-text) 55%, transparent);
}

.invoice-table article > i,
.invoice-table article > div {
  grid-column: 1 / -1;
}

.invoice-table article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.settings-grid {
  gap: 20px;
}

.settings-panel {
  border-radius: 20px;
}

.settings-fields {
  gap: 16px;
}

.photo-library-error {
  margin: 16px 20px 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange-2);
  font-size: 10px;
  font-weight: 800;
}

.photo-library-list {
  display: grid;
}

.photo-library-item {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--a-border);
}

.photo-library-item:last-child {
  border-bottom: 0;
}

.photo-library-preview {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--a-border);
  border-radius: 13px;
  background: var(--a-surface-2);
}

.photo-library-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-library-preview span {
  padding: 15px;
  color: var(--a-muted);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.photo-library-copy {
  min-width: 0;
}

.photo-library-copy > span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.photo-library-copy h4 {
  margin: 9px 0 4px;
  font: 800 17px/1.1 var(--display);
}

.photo-library-copy p {
  margin: 0 0 5px;
  color: var(--a-soft);
  font-size: 10px;
}

.photo-library-copy small {
  color: var(--a-muted);
  font-size: 8px;
}

.photo-list-upload {
  min-width: 142px;
  padding: 10px 13px;
  border: 1px solid var(--a-border);
  border-radius: 10px;
  background: var(--a-surface-2);
  color: var(--a-text);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.photo-list-upload:hover {
  border-color: var(--sage-deep);
  color: var(--sage-deep);
}

.photo-list-upload input {
  display: none;
}

@media (max-width: 1100px) {
  .admin-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .admin-content {
    padding: 22px 15px 46px;
  }

  .admin-kpis,
  .invoice-table {
    grid-template-columns: 1fr;
  }

  .admin-kpis article {
    min-height: 116px;
  }

  .inquiry-tiles {
    padding: 12px;
    grid-template-columns: 1fr;
  }

  .invoice-table {
    padding: 12px;
  }

  .invoice-table article {
    grid-template-columns: 1fr;
  }

  .photo-library-item {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
  }

  .photo-list-upload {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Interactive points on the interior photo */
.bouda-detail-photo {
  overflow: visible;
  isolation: isolate;
}

.bouda-detail-photo::before {
  border-radius: inherit;
}

.bouda-hotspot {
  position: absolute;
  z-index: 4;
  width: 0;
  height: 0;
  animation: boudaHotspotIn .55s var(--hotspot-delay) cubic-bezier(.22, 1, .36, 1) both;
}

.bouda-hotspot-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  background: rgba(247, 246, 240, .92);
  box-shadow: 0 10px 28px rgba(3, 28, 14, .32);
  backdrop-filter: blur(8px);
}

.bouda-hotspot-pin::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: inherit;
  animation: boudaHotspotPulse 2.4s ease-out infinite;
}

.bouda-hotspot-pin span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #315445;
  box-shadow: 0 0 0 4px rgba(49, 84, 69, .14);
}

.bouda-hotspot.orange .bouda-hotspot-pin span {
  background: var(--orange);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 18%, transparent);
}

.bouda-hotspot-card {
  position: absolute;
  left: 21px;
  bottom: 18px;
  width: min(245px, calc(100vw - 54px));
  padding: 15px 17px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(9px) scale(.96);
  transform-origin: left bottom;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 15px;
  background: rgba(2, 34, 13, .94);
  color: #f8f6ed;
  box-shadow: 0 22px 50px -22px rgba(0, 0, 0, .7);
  backdrop-filter: blur(14px);
  transition: opacity .22s, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.bouda-hotspot.align-left .bouda-hotspot-card {
  right: 21px;
  left: auto;
  transform-origin: right bottom;
}

.bouda-hotspot-card b {
  display: block;
  font: 800 15px/1.2 var(--display);
}

.bouda-hotspot-card p {
  margin: 6px 0 0;
  color: rgba(248, 246, 237, .72);
  font-size: 11px;
  line-height: 1.55;
}

.bouda-hotspot.hovered .bouda-hotspot-card,
.bouda-hotspot.open .bouda-hotspot-card,
.bouda-hotspot:focus-within .bouda-hotspot-card {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

@keyframes boudaHotspotIn {
  from { opacity: 0; transform: scale(.65); }
  to { opacity: 1; transform: none; }
}

@keyframes boudaHotspotPulse {
  0% { opacity: .7; transform: scale(.65); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

.bouda-points-editor {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(340px, .85fr);
  gap: 20px;
}

.bouda-points-preview {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--a-border);
  border-radius: 18px;
  background: #173b2e center / cover no-repeat;
  cursor: crosshair;
  touch-action: none;
}

.bouda-points-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 15, 7, .26));
}

.bouda-points-hint {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(2, 34, 13, .82);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.bouda-editor-pin {
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: #315445;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
  touch-action: none;
}

.bouda-editor-pin.orange {
  background: var(--orange);
}

.bouda-editor-pin.selected {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .5), 0 10px 26px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%) scale(1.12);
}

.bouda-editor-pin span {
  font-size: 10px;
  font-weight: 800;
}

.bouda-points-fields {
  max-height: 430px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bouda-point-row {
  padding: 12px;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: start;
  gap: 10px;
  border: 1px solid var(--a-border);
  border-radius: 14px;
  background: var(--a-surface-2);
}

.bouda-point-row.selected {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--sage-deep) 13%, transparent);
}

.bouda-point-select,
.bouda-point-delete {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--a-surface);
  color: var(--a-text);
  font-weight: 800;
}

.bouda-point-row.selected .bouda-point-select {
  background: var(--sage-deep);
  color: #fff;
}

.bouda-point-delete:hover {
  background: #f6dfd8;
  color: #9a351f;
}

.bouda-point-inputs {
  display: grid;
  gap: 7px;
}

.bouda-point-inputs input,
.bouda-point-inputs textarea,
.bouda-point-inputs select {
  width: 100%;
  border: 1px solid var(--a-border);
  border-radius: 8px;
  background: var(--a-surface);
  color: var(--a-text);
  font-size: 10px;
}

.bouda-point-inputs input,
.bouda-point-inputs select {
  height: 34px;
  padding: 0 9px;
}

.bouda-point-inputs textarea {
  padding: 8px 9px;
  resize: vertical;
}

.bouda-point-inputs > div {
  display: grid;
  grid-template-columns: 64px 64px 1fr auto;
  align-items: center;
  gap: 7px;
}

.bouda-point-inputs label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--a-muted);
  font-size: 9px;
  font-weight: 800;
}

.bouda-point-inputs label input[type="number"] {
  padding: 0 4px;
  text-align: center;
}

.bouda-point-visible {
  white-space: nowrap;
}

.bouda-point-visible input {
  width: 15px;
  height: 15px;
}

.bouda-points-footer {
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  border-top: 1px solid var(--a-border);
}

.bouda-points-status {
  margin-right: auto;
  color: var(--a-muted);
  font-size: 10px;
  font-weight: 800;
}

.bouda-points-status.saved {
  color: var(--sage-deep);
}

.bouda-points-status.error {
  color: #b7442b;
}

.bouda-points-save {
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .bouda-points-editor {
    grid-template-columns: 1fr;
  }

  .bouda-points-fields {
    max-height: none;
  }
}

@media (max-width: 650px) {
  .bouda-hotspot-card {
    left: 17px;
    bottom: 17px;
    width: min(220px, calc(100vw - 48px));
  }

  .bouda-hotspot.align-left .bouda-hotspot-card {
    right: 17px;
    left: auto;
  }

  .bouda-points-editor {
    padding: 14px;
  }

  .bouda-points-preview {
    min-height: 330px;
  }

  .bouda-point-inputs > div {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bouda-hotspot,
  .bouda-hotspot-pin::before {
    animation: none;
  }
}

/* Legal pages and reservation consent */
.price-confirm a {
  color: #315445;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-settings-warning {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  padding: 14px 16px;
  border: 1px solid rgba(171, 104, 45, 0.24);
  border-radius: 12px;
  background: rgba(213, 145, 79, 0.12);
  color: #845122;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
}

.legal-page {
  min-height: 100vh;
  padding: 148px 24px 80px;
  background:
    radial-gradient(circle at 8% 6%, rgba(109, 143, 119, 0.16), transparent 28rem),
    #f2efe7;
  color: #17291f;
}

.legal-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid rgba(49, 84, 69, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 90px rgba(28, 49, 40, 0.1);
}

.legal-card h1 {
  max-width: 760px;
  margin: 12px 0 10px;
  font: 700 clamp(2.5rem, 7vw, 5.2rem)/0.95 "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.055em;
}

.legal-card h2 {
  margin: 42px 0 12px;
  font: 700 clamp(1.25rem, 3vw, 1.65rem)/1.2 "Bricolage Grotesque", sans-serif;
}

.legal-card p,
.legal-card li {
  color: #48574f;
  font: 500 0.98rem/1.8 Manrope, sans-serif;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card a {
  color: #315445;
  font-weight: 700;
}

.legal-version {
  margin-bottom: 34px;
  color: #758078 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-identity {
  display: grid;
  gap: 5px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #e4ebe5;
}

.legal-identity b {
  font-size: 1.05rem;
}

.legal-identity span,
.legal-identity a {
  font-size: 0.9rem;
}

.legal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid rgba(49, 84, 69, 0.13);
}

.legal-actions .submit-button {
  color: #fff;
  text-decoration: none;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(24px, calc((100vw - 920px) / 2));
  background: #17291f;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.legal-footer span:last-child,
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-footer a {
  color: #fff;
}

@media (max-width: 680px) {
  .legal-page {
    padding: 112px 12px 46px;
  }

  .legal-card {
    border-radius: 22px;
  }

  .legal-actions,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
