/* ============================================================
   Paws & Palms Pet Wellness Retreat — demo site (Pawtime preview)
   Custom styles that layer on top of the Tailwind CDN config.
   ============================================================ */

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* Soft Material-3 style tonal elevation for cards & media. */
.tonal-elevation {
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.04);
}
.tonal-elevation-hover {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tonal-elevation-hover:hover {
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.08);
  transform: scale(1.01);
}

/* Landscape before/after cards — image is ~3:2; portrait cards crop the labels. */
.gallery-card--landscape {
  min-width: min(88vw, 720px);
  aspect-ratio: 1024 / 682;
  height: auto;
  background: #ebe4dc;
}
.gallery-card--landscape img {
  object-fit: contain;
  object-position: center;
}

/* Hide horizontal gallery scrollbar; arrows + swipe still scroll. */
.custom-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.custom-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Offset in-page anchors for the fixed header (~88px). */
:target {
  scroll-margin-top: 88px;
}
section[id] {
  scroll-margin-top: 88px;
}

/* Graceful image fallback when a remote photo fails to load. */
.img--fallback {
  background: linear-gradient(135deg, #ffdbd0, #ffb59e);
  min-height: 120px;
  position: relative;
}
.img--fallback::after {
  content: "Image unavailable";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #76321c;
}

/* Desktop nav links + active (scrollspy) state. */
.nav-logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-link {
  color: #54433e; /* on-surface-variant */
  font-weight: 500;
  padding: 4px 8px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover {
  color: #944931; /* primary */
}
.nav-link.is-active {
  color: #944931;
  font-weight: 700;
  border-bottom-color: #944931;
}

/* Mobile nav active state. */
.mobile-link.is-active {
  color: #944931;
  font-weight: 700;
}

/* Mobile nav hamburger. */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: #944931;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Reviews pager — 3-up grid, arrows swap pages. */
.reviews-viewport {
  overflow: hidden;
}
.reviews-track {
  transition: transform 0.45s ease;
  will-change: transform;
}
.reviews-page {
  min-width: 100%;
}

/* Team member cards. */
.team-photo {
  aspect-ratio: 4 / 5;
  max-height: 364px;
  background: #ebe4dc;
  object-fit: cover;
  object-position: top center;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #944931;
}

/* Pricing — size legend pills. */
.price-size-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffede8;
  color: #76321c;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Pricing table (desktop). */
.price-table {
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price-table th,
.price-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #dac1ba;
}
.price-table thead th {
  background: #f4f3f2;
  color: #76321c;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: bottom;
  border-bottom: 2px solid #dac1ba;
}
.price-table thead th.price-table__col--popular {
  background: #f4f3f2;
  color: #944931;
  position: relative;
}
.price-table__popular-badge {
  display: block;
  margin-top: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #944931;
}
.price-table tbody th {
  text-align: left;
  color: #1a1c1c;
  font-weight: 600;
}
.price-table__size-label {
  display: block;
}
.price-table__weight-badge {
  display: inline-block;
  margin: 4px 0 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffede8;
  color: #944931;
  font-size: 0.7rem;
  font-weight: 600;
}
.price-table__hint {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #54433e;
  margin-top: 2px;
}
.price-table tbody td {
  color: #944931;
  font-weight: 700;
}
.price-table tbody td.price-table__col--popular {
  background: rgba(255, 181, 158, 0.15);
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

/* XL breed callout. */
.price-xl-callout {
  font-size: 0.95rem;
}

/* Mobile size-pricing expandable cards. */
.price-size-card__summary {
  position: relative;
  padding-right: 2.5rem;
}
.price-size-card__summary::-webkit-details-marker {
  display: none;
}
.price-size-card__from {
  font-size: 0.95rem;
}
.price-size-card__popular-row {
  background: rgba(255, 181, 158, 0.3);
}
.price-size-card__icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}
.price-size-card[open] .price-size-card__icon {
  transform: translateY(-50%) rotate(180deg);
}
.price-size-card[open] .price-size-card__summary .font-title-lg {
  color: #944931;
}

/* Cat pricing feature block. */
.cat-pricing-feature {
  border: 1px solid rgba(148, 73, 49, 0.12);
}

/* Add-on groups. */
.addon-popular .material-symbols-outlined {
  font-size: 1.5rem;
}
.addon-group__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.addons-more .addon-group__list {
  gap: 0 1.5rem;
}
.addon-group__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dotted #dac1ba;
}
.addon-group__list li:last-child {
  border-bottom: 0;
}

/* Legal / policy pages */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #faf9f8;
}
.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dac1ba;
  padding: 16px 24px;
}
.legal-header__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.legal-header__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #944931;
}
.legal-header__back {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #54433e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.legal-header__back:hover {
  color: #944931;
}
.legal-main {
  flex: 1;
  width: min(720px, 92%);
  margin: 32px auto 48px;
}
.legal-panel {
  background: #fff;
  border: 1px solid #dac1ba;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.legal-panel h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #1a1c1c;
  margin: 0 0 8px;
}
.legal-panel__updated {
  color: #54433e;
  font-size: 0.9rem;
  margin: 0 0 28px;
}
.legal-panel h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #944931;
  margin: 24px 0 8px;
}
.legal-panel p,
.legal-panel li {
  color: #54433e;
  font-size: 0.95rem;
  line-height: 1.6;
}
.legal-panel p {
  margin: 0 0 12px;
}
.legal-panel ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}
.legal-panel li {
  margin-bottom: 6px;
}
.legal-panel a {
  color: #944931;
  font-weight: 600;
}
.legal-panel a:hover {
  text-decoration: underline;
}
.legal-footer {
  text-align: center;
  color: #54433e;
  font-size: 0.82rem;
  margin-top: 24px;
}
