/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(78, 205, 196, 0.3);
  box-shadow: var(--shadow-card);
  background: var(--color-bg-card-hover);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  margin-bottom: 1.5rem;
}

.card .btn {
  margin-top: auto;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(78, 205, 196, 0.3);
}

.service-card-body {
  padding: 2.5rem;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-card .service-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-teal);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.service-card p {
  margin-bottom: 2rem;
}

/* ===== FEATURES / ICON GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(78, 205, 196, 0.3);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  display: block;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--color-gold);
}

.feature-item p {
  font-size: 0.95rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.08), rgba(201, 168, 76, 0.08));
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin: 0 auto;
  max-width: var(--max-width);
}

.cta-banner h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ===== CALLOUT / DISCLAIMER BOX ===== */
.callout {
  background: rgba(201, 168, 76, 0.08);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
}

.callout p {
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 0;
}

.callout-info {
  background: rgba(78, 205, 196, 0.08);
  border-left-color: var(--color-teal);
}

/* ===== PULL QUOTE ===== */
.pull-quote {
  text-align: center;
  padding: 3rem 2rem;
  margin: 3rem 0;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--color-teal);
  opacity: 0.3;
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-teal), var(--color-gold));
}

.timeline-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: 10px;
  top: 0;
  width: 42px;
  height: 42px;
  background: var(--color-bg-card);
  border: 2px solid var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-teal);
}

.timeline-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--color-gold);
}

.timeline-step p {
  font-size: 1rem;
}

/* ===== TABLE ===== */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.styled-table thead th {
  background: rgba(78, 205, 196, 0.1);
  color: var(--color-teal);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.styled-table tbody td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(78, 205, 196, 0.08);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.styled-table tbody tr:last-child td {
  border-bottom: none;
}

.styled-table tbody tr:hover {
  background: rgba(78, 205, 196, 0.03);
}

.styled-table td:first-child {
  color: var(--color-gold);
  font-weight: 600;
}

/* ===== CONTENT SECTIONS ===== */
.content-block {
  margin-bottom: 4rem;
}

.content-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.content-block h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.content-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.content-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
}

/* ===== CONTACT RESULT MESSAGE ===== */
.contact-result {
  padding: .85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  font-size: .92rem;
}
.contact-result.success {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: var(--color-success-text);
}
.contact-result.error {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: var(--color-error-text);
}
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}
#contact-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0rem 1.2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9bb0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

/* ===== CONTACT INFO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.contact-info-list .contact-icon {
  font-size: 1.3rem;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.photos-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.photo-placeholder {
  width: 100%;
  height: 200px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE COMPONENTS ===== */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-step {
    padding-left: 60px;
  }

  .timeline-number {
    left: 0;
    width: 38px;
    height: 38px;
  }

  .styled-table {
    font-size: 0.85rem;
  }

  .styled-table thead th,
  .styled-table tbody td {
    padding: 0.7rem 1rem;
  }

  .cta-banner {
    padding: 3rem 1.5rem;
  }

  .photos-placeholder {
    grid-template-columns: 1fr;
  }

  /* Mobile hero sizing */
  .hero, .hero-home, .hero-page {
    min-height: 60vh;
    padding: 6rem 1.25rem 3rem;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
  }
  .hero-page.hero-kontakti {
    min-height: 70vh;
  }
  .hide-mobile {
    display: none;
  }
}

/* ===== AUREA GALLERY ===== */
.aurea-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ag-main {
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.ag-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ag-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ag-thumb {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.2s ease, outline-color 0.2s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.ag-thumb img {
  display: block;
  height: 64px;
  width: auto;
  border-radius: 8px;
}
.ag-thumb--active,
.ag-thumb:hover {
  opacity: 1;
}
.ag-thumb--active {
  outline-color: var(--color-gold);
}
.aurea-gallery--solo .ag-main {
  max-width: 100%;
  aspect-ratio: 3 / 2;
}
.ag-data { display: none; }

/* ===== ABOUT PAGE — widgets row ===== */
.widgets-row {
  display: flex;
  gap: 3rem;
  align-items: stretch;
}
.therapist-widget {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.therapist-widget h3 {
  font-size: 1.4rem;
  color: var(--color-gold);
  margin: 0;
}
.therapist-widget .tw-name-role {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0;
}
.therapist-widget .tw-phone {
  display: inline-block;
  margin-top: auto;
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}
.therapist-widget .tw-phone:hover {
  color: var(--color-gold);
}

/* ===== ABOUT PAGE — contact info section ===== */
.contact-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}
.contact-info-item .ci-icon {
  font-size: 1.3rem;
  color: var(--color-teal);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .widgets-row {
    flex-direction: column;
  }
  .ag-thumb img {
    height: 52px;
  }
  .contact-info-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== HOMEPAGE HERO — WebP with JPG fallback ===== */
.hero-home {
  background-image: url('/uploads/group-sound-therapy-session7-hero.jpg');
  background-image: -webkit-image-set(url('/uploads/group-sound-therapy-session7-hero.webp') type('image/webp'), url('/uploads/group-sound-therapy-session7-hero.jpg') type('image/jpeg'));
  background-image: image-set(url('/uploads/group-sound-therapy-session7-hero.webp') type('image/webp'), url('/uploads/group-sound-therapy-session7-hero.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
}

/* ===== HERO TEXT OVERRIDES ===== */
.hero h1 .highlight {
  color: #bd9937;
  font-weight: 600;
  text-shadow: 1px 1px 1px #6c4708de;
  filter: drop-shadow(0px 0px 6px #cd8712c2);
}
.hero .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #cfc8ba;
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow: 1px 1px 3px #040404e0;
  filter: drop-shadow(0px 0px 1px #ffffffa8);
}
.btn-primary {
  background: linear-gradient(135deg, #b8932f, var(--color-gold-light));
  color: #dfd9cf;
  filter: drop-shadow(0px 0px 1px #b8932f);
  text-shadow: 1px 1px 1px #00000052;
}
.btn-secondary {
  border: 1.5px solid var(--color-teal);
  color: #b0c9c7;
  background: transparent;
}

/* ===== INNER PAGE HEROES ===== */
.hero-page {
  min-height: 75vh;
  padding: 10rem 2rem 4rem;
}
.hero-page.hero-kontakti {
  min-height: 100vh;
}

/* ===== SERVICE CARD IMAGE — natural height ===== */
.service-card-img {
  height: auto;
}

/* ===== CONTACT FORM SECTION — centered title ===== */
.contact-form-section h2 {
  text-align: center;
}
.contact-form-section .accent-line {
  margin-left: auto;
  margin-right: auto;
}

/* ===== EXPERIENCES — single column ===== */
.page-template-page-uslugi .cards-grid {
  grid-template-columns: 1fr;
}

/* ===== STATIC IMAGE GRIDS (bio/sound pages) ===== */
.img-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.img-grid-2x2 picture {
  display: block;
  width: 100%;
}
.img-grid-2x2 img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius, 12px);
}

/* ===== HERO GONG CLICK ===== */
.hero-clickable { cursor: pointer; }
.hero-clickable .hero-content { cursor: auto; }

.gong-ripple {
  position: absolute;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 2px solid var(--color-teal);
  pointer-events: none;
  opacity: .8;
  z-index: 2;
  animation: gongRipple 900ms ease-out forwards;
}
@keyframes gongRipple { to { transform: scale(14); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gong-ripple { display: none; } }

/* ===== BOOKING CALENDAR ===== */
.aurea-cal {
  max-width: 100%;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}
.aurea-cal.is-loading {
  opacity: 0.45;
  pointer-events: none;
  cursor: wait;
}
.aurea-cal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.aurea-cal .aurea-cal-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin: 0;
  margin-bottom: 0;
  color: var(--color-text);
  text-align: center;
  min-width: 14ch;
}
.aurea-cal-prev,
.aurea-cal-next {
  font-size: 1.5rem;
  color: var(--color-teal);
  text-decoration: none;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius, 8px);
  transition: var(--transition);
  user-select: none;
  border-color: #c9a84c;
  background-color: #c9a84c94;
}
.aurea-cal-prev:hover,
.aurea-cal-next:hover {
  background: rgb(17 117 110 / 47%);
}
.aurea-cal-prev--disabled {
  opacity: 0.00;
  cursor: not-allowed;
  pointer-events: none;
  max-height: 1px;
}
.aurea-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
}
.aurea-cal-wday {
  background: rgba(78, 205, 196, 0.08);
  text-align: center;
  padding: 0.6rem 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.aurea-cal-day {
  background: var(--color-bg-card);
  min-height: 90px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
}
.aurea-cal-day--empty {
  background: var(--color-bg-card);
  opacity: 0.5;
}
.aurea-cal-day--past {
  opacity: 0.45;
}
.aurea-cal-day--today {
  box-shadow: inset 0 0 0 2px var(--color-teal);
}
.aurea-cal-daynum {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}
.aurea-cal-day--today .aurea-cal-daynum {
  color: var(--color-teal);
}

/* Session chip */
.aurea-cal-session {
  background: rgba(78, 205, 196, 0.06);
  border-left: 3px solid var(--color-teal);
  border-radius: 0 6px 6px 0;
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.aurea-cal-session--individual {
  border-left-color: var(--color-gold);
  background: rgba(201, 168, 76, 0.06);
}
.aurea-cal-session-label {
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}
.aurea-cal-session-time {
  color: var(--color-teal);
  font-weight: 600;
}
.aurea-seats {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.aurea-seats--low {
  color: var(--color-gold);
  font-weight: 600;
}
.aurea-seats--full {
  color: var(--color-error-text, #a93226);
  font-weight: 600;
}
.aurea-book-btn {
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  margin-top: 0.2rem;
  align-self: flex-start;
}

/* Admin controls */
.aurea-cal-admin {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.15rem;
}
.aurea-admin-edit,
.aurea-admin-delete {
  border: none;
  background: rgba(78, 205, 196, 0.1);
  color: var(--color-teal);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  line-height: 1;
  transition: var(--transition);
}
.aurea-admin-delete {
  color: var(--color-error-text, #a93226);
  background: rgba(192, 57, 43, 0.08);
}
.aurea-admin-edit:hover { background: rgba(78, 205, 196, 0.2); }
.aurea-admin-delete:hover { background: rgba(192, 57, 43, 0.15); }

.aurea-admin-add {
  border: 1px dashed var(--color-teal);
  background: transparent;
  color: var(--color-teal);
  cursor: pointer;
  font-size: 0.72rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  margin-top: auto;
  transition: var(--transition);
}
.aurea-admin-add:hover {
  background: rgba(78, 205, 196, 0.08);
}

/* Admin modal */
.aurea-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aurea-modal[hidden] { display: none; }
.aurea-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.aurea-modal-content {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  padding: 2rem;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.aurea-modal-content h3 {
  margin: 0 0 1.2rem;
  font-size: 1.3rem;
  color: var(--color-gold);
}
.aurea-modal-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.aurea-modal-msg {
  margin-top: 0.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
}
.aurea-modal-msg.success {
  background: var(--color-success-bg);
  color: var(--color-success-text);
}
.aurea-modal-msg.error {
  background: var(--color-error-bg);
  color: var(--color-error-text);
}

/* ===== CALENDAR RESPONSIVE ===== */
@media (max-width: 768px) {
  .aurea-cal {
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .aurea-cal-grid {
    grid-template-columns: repeat(7, 1fr);
    font-size: 0.75rem;
  }
  .aurea-cal-day {
    min-height: 60px;
    padding: 0.25rem;
  }
  .aurea-cal-session {
    border-left: 0;
  }
  .aurea-cal-session-label {
    font-size: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .aurea-cal-session-time {
    font-size: 0.7rem;
  }
  .aurea-seats {
    font-size: 0.62rem;
    line-height: 1.1;
    font-weight: bold;
    white-space: nowrap;
  }
  .aurea-book-btn {
    font-size: 0.62rem;
    padding: 0.2rem 0.35rem;
    border-radius: 2px;
  }
  .aurea-cal-wday {
    font-size: 0.7rem;
    padding: 0.4rem 0.15rem;
  }
  .aurea-admin-add {
    font-size: 0.62rem;
  }
  .aurea-admin-edit,
  .aurea-admin-delete {
    display: inline;
    line-height: 2;
  }
}

@media (max-width: 480px) {
  .aurea-cal-day {
    min-height: 50px;
    padding: 0.15rem;
  }
  .aurea-cal-session {
    padding: 0;
  }
  .aurea-cal-session-label {
    font-size: 0.58rem;
  }
}

/* ===== CHECKOUT — scoped to checkout page only ===== */
body.woocommerce-checkout #main-content { padding-top: 100px; }
body.woocommerce-checkout .woocommerce { width: 90%; margin-left: auto; margin-right: auto; }
@media (max-width: 768px) {
  body.woocommerce-checkout #main-content { padding-top: 135px; }
}

/* ===== CHECKOUT SEATS SELECTOR ===== */
.aurea-seats-selector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  clear: both;
  margin: 0 0 1.2rem;
  padding: 0.8rem 0rem;
  background: transparent;
  border-radius: var(--radius, 8px);
  box-sizing: border-box;
}
.aurea-seats-title {
  margin: 0;
}
.aurea-seats-selector label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}
.aurea-seats-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.aurea-seats-minus,
.aurea-seats-plus {
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(78, 205, 196, 0.08);
  color: var(--color-teal);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.aurea-seats-minus:hover,
.aurea-seats-plus:hover {
  background: rgba(78, 205, 196, 0.18);
}
#aurea-seats-qty {
  width: 50px;
  height: 38px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  -moz-appearance: textfield;
}
#aurea-seats-qty::-webkit-inner-spin-button,
#aurea-seats-qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ===== INDIVIDUAL SESSION BADGES ===== */
.aurea-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.4;
}
.aurea-badge--paid {
  background: rgba(78, 205, 196, 0.15);
  color: #2a9d8f;
}
.aurea-badge--pending {
  background: rgba(201, 168, 76, 0.15);
  color: #c9a84c;
}

/* ===== CHECKOUT — dark-theme contrast fix (2026-07-06) =====
   Root cause: the parent theme's (Astra) dynamic CSS colors checkout text via
   its static global palette — `h1,h2,h3,…{color:var(--ast-global-color-2)}`
   (#1e293b) and `body,…{color:var(--ast-global-color-3)}` (#334155) — which
   our dark theme never remaps, so slate text sits on --color-bg #0a1628 at
   1.24:1. The light theme resolves those same vars to readable colors
   (13.6:1) and is intentionally left untouched: remapping is scoped to the
   dark context only, checkout page only, tokens only. */
:root[data-theme="dark"] body.woocommerce-checkout {
  --ast-global-color-2: var(--color-text);
  --ast-global-color-3: var(--color-text);
}
/* WooCommerce keeps div.payment_box on a light background; in dark theme the
   box then contains our light muted text (2.5:1). Use the dark card token. */
:root[data-theme="dark"] body.woocommerce-checkout #payment div.payment_box {
  background-color: var(--color-bg-card);
  color: var(--color-text-muted); /* box's own #515151 would sit on the dark card */
}
:root[data-theme="dark"] body.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--color-bg-card);
}
