.h7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--h7-space-2);
  min-height: 50px;
  padding: 0 var(--h7-space-6);
  border-radius: var(--h7-radius-xs);
  border: 1px solid transparent;
  font-size: var(--h7-size-caption);
  font-weight: var(--h7-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--h7-tracking-button);
  text-align: center;
  cursor: pointer;
  transition: var(--h7-transition-colour), transform var(--h7-duration-instant) var(--h7-ease-standard);
}

.h7-btn:active { transform: translateY(1px); }


.h7-btn--primary {
  background: var(--h7-action-primary-bg);
  color: var(--h7-action-primary-fg);
}
.h7-btn--primary:hover {
  background: var(--h7-action-primary-bg-hover);
  color: var(--h7-action-primary-fg);
}

.h7-btn--secondary {
  background: transparent;
  color: var(--h7-action-secondary-fg);
  border-color: var(--h7-border-strong);
}
.h7-btn--secondary:hover {
  background: var(--h7-surface-inset);
  color: var(--h7-action-secondary-fg);
  border-color: var(--h7-text-primary);
}

.h7-btn--lg { min-height: 60px; padding-inline: var(--h7-space-8); }
.h7-btn--wide { width: 100%; }

.h7-btn[aria-disabled="true"] {
  background: rgba(138, 106, 47, 0.28);
  color: rgba(67, 51, 40, 0.42);
  border-color: transparent;
  cursor: not-allowed;
}


.h7-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--h7-radius-xs);
  color: var(--h7-icon-default);
  transition: var(--h7-transition-colour);
}
.h7-icon-btn:hover { color: var(--h7-text-accent); background: var(--h7-surface-inset); }

.h7-theme-toggle__sun { display: none; }
[data-theme="dark"] .h7-theme-toggle__sun  { display: block; }
[data-theme="dark"] .h7-theme-toggle__moon { display: none; }


.h7-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--h7-space-2);
  color: var(--h7-text-primary);
  font-size: var(--h7-size-body-sm);
}
.h7-link-arrow svg { transition: var(--h7-transition-transform); }
.h7-link-arrow:hover { color: var(--h7-text-accent); }
.h7-link-arrow:hover svg { transform: translateX(6px); }


.h7-card {
  display: flex;
  flex-direction: column;
  background: var(--h7-card-bg);
  color: var(--h7-natural-linen);
  border: 1px solid rgba(238, 229, 214, 0.45);
  border-radius: var(--h7-radius-card);
  box-shadow: var(--h7-shadow-card);
  overflow: hidden;
  transition: transform var(--h7-duration-base) var(--h7-ease-standard),
              box-shadow var(--h7-duration-base) var(--h7-ease-standard),
              border-color var(--h7-duration-base) var(--h7-ease-standard);
}

.h7-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--h7-indigo-deep);
  border-bottom: 1px solid rgba(238, 229, 214, 0.30);
}
.h7-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--h7-duration-reveal) var(--h7-ease-linen);
}

.h7-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--h7-space-2);
  padding: var(--h7-space-5);
  flex: 1;
}
.h7-card__body .h7-title { color: var(--h7-natural-linen); }


a.h7-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--h7-shadow-card-hover);
  border-color: var(--h7-natural-linen);
}
a.h7-card:hover .h7-card__media img { transform: scale(1.03); }


a.h7-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--h7-shadow-card-hover), var(--h7-focus-ring);
  border-color: var(--h7-natural-linen);
}


.h7-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--h7-space-2);
  min-height: 44px;
  padding: 0 var(--h7-space-5);
  border-radius: var(--h7-radius-xs);
  border: 1px solid var(--h7-border-default);
  color: var(--h7-text-primary);
  font-size: var(--h7-size-caption);
  cursor: pointer;
  transition: var(--h7-transition-colour);
}
.h7-tag:hover { border-color: var(--h7-border-strong); }
.h7-tag[aria-pressed="true"],
.h7-tag[aria-checked="true"] {
  background: var(--h7-dark-indigo);
  border-color: var(--h7-dark-indigo);
  color: var(--h7-natural-linen);
}


.h7-divider {
  border: none;
  border-top: 1px solid var(--h7-border-default);
  margin: 0;
}

.h7-divider--ornament {
  display: flex;
  align-items: center;
  gap: var(--h7-space-5);
  border: none;
}
.h7-divider--ornament::before,
.h7-divider--ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--h7-border-default);
}
.h7-divider--ornament img { width: 28px; height: 28px; opacity: 0.75; }


.h7-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  flex-shrink: 0;
}
.h7-icon--sm { width: 20px; height: 20px; }
.h7-icon--lg { width: 32px; height: 32px; }
.h7-icon--xl { width: 40px; height: 40px; }


.h7-amenity {
  display: flex;
  align-items: center;
  gap: var(--h7-space-4);
  color: var(--h7-text-primary);
  font-size: var(--h7-size-body-sm);
}
.h7-amenity .h7-icon { color: var(--h7-icon-muted); }


.h7-field { display: flex; flex-direction: column; gap: var(--h7-space-2); }

.h7-field__label {
  font-size: 0.8125rem;
  font-weight: var(--h7-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--h7-tracking-caps);
  color: var(--h7-text-muted);
}

.h7-input,
.h7-select,
.h7-textarea {
  width: 100%;
  min-height: 44px;
  padding: var(--h7-space-2) 0;
  background: transparent;
  color: var(--h7-text-primary);
  border: none;
  border-bottom: 1px solid var(--h7-border-default);
  border-radius: 0;
  font-size: var(--h7-size-body-sm);
  transition: border-color var(--h7-duration-fast) var(--h7-ease-standard);
}

.h7-input::placeholder,
.h7-textarea::placeholder { color: var(--h7-text-muted); }

.h7-input:focus,
.h7-select:focus,
.h7-textarea:focus {
  outline: none;
  border-bottom-width: 1.5px;
  border-bottom-color: var(--h7-text-accent);
  box-shadow: none;
}

.h7-textarea {
  min-height: 120px;
  padding: var(--h7-space-3);
  border: 1px solid var(--h7-border-default);
  border-radius: var(--h7-radius-xs);
  resize: vertical;
}
.h7-textarea:focus { border-width: 1.5px; border-color: var(--h7-text-accent); }

.h7-select {
  appearance: none;
  padding-right: var(--h7-space-6);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}


.h7-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--h7-space-3);
  cursor: pointer;
  font-size: var(--h7-size-body-sm);
}
.h7-checkbox input {
  width: 20px; height: 20px;
  margin-top: 4px;
  accent-color: var(--h7-earthen-clay);
  flex-shrink: 0;
}


.h7-well {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: var(--h7-surface-subtle);
  border: 1px dashed var(--h7-border-default);
  color: var(--h7-text-muted);
  font-size: var(--h7-size-caption);
  text-align: center;
  padding: var(--h7-space-5);
}


.h7-figure__credit { font-size: 0.8125rem; color: var(--h7-text-muted); opacity: 0.8; }


.h7-logo,
.h7-monogram {
  display: block;
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
}
.h7-logo     { background-image: var(--h7-logo); }
.h7-monogram { background-image: var(--h7-monogram); }


.h7-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--h7-grid-gap);
}
@media (max-width: 900px) { .h7-card-grid { grid-template-columns: 1fr; } }


.h7-room-card__rate {
  display: flex;
  align-items: center;
  gap: var(--h7-space-1);
  color: var(--h7-text-accent);
  font-family: var(--h7-font-display);
  font-size: var(--h7-size-title);
}
.h7-room-card__rate small {
  font-family: var(--h7-font-body);
  font-style: normal;
  font-size: var(--h7-size-caption);
  color: var(--h7-text-muted);
}


.h7-breadcrumb {
  display: flex;
  gap: var(--h7-space-2);
  font-size: var(--h7-size-caption);
  color: var(--h7-text-muted);
  margin-bottom: var(--h7-space-5);
}
.h7-breadcrumb a { color: var(--h7-text-muted); }
.h7-breadcrumb a:hover { color: var(--h7-text-accent); }

.h7-block { display: flex; flex-direction: column; gap: var(--h7-space-5); }
.h7-block__head { display: flex; flex-direction: column; gap: var(--h7-space-2); }
.h7-block__head p { color: var(--h7-text-muted); font-size: var(--h7-size-body-sm); }

.h7-block__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--h7-space-6) var(--h7-space-5);
}
.h7-block__fields > .h7-field--full { grid-column: 1 / -1; }

.h7-notice {
  padding: var(--h7-space-4) var(--h7-space-5);
  border: 1px solid var(--h7-aged-brass);
  border-radius: var(--h7-radius-xs);
  font-size: var(--h7-size-body-sm);
}
.h7-notice[hidden] { display: none; }

.h7-hint { font-size: var(--h7-size-caption); }
.h7-hint[hidden] { display: none; }

.h7-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--h7-space-8); }
.h7-steps p { color: var(--h7-text-secondary); font-size: var(--h7-size-body-sm); }

@media (max-width: 900px) {
  .h7-steps { grid-template-columns: 1fr; gap: var(--h7-space-6); }
}
@media (max-width: 640px) {
  .h7-block__fields { grid-template-columns: 1fr; }
}
