/*
 * Tina booking application UI
 *
 * This file is intentionally scoped to #randevu. It changes presentation only;
 * booking IDs, service data, visible business copy and SEO markup stay intact.
 */

#randevu {
  --booking-ink: #070813;
  --booking-panel: #111326;
  --booking-panel-raised: #171a31;
  --booking-line: rgba(255, 255, 255, 0.1);
  --booking-line-strong: rgba(251, 113, 174, 0.38);
  --booking-text: #fff8fc;
  --booking-muted: #b8b6c8;
  --booking-rose: #fb4f9c;
  --booking-rose-deep: #d92e7f;
  --booking-orchid: #9b6cff;
  --booking-champagne: #ffd8e8;
  --booking-success: #4adea5;
  position: relative;
  isolation: isolate;
  padding: 0.25rem;
}

#randevu::before,
#randevu::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0.52;
}

#randevu::before {
  width: min(34rem, 70vw);
  height: min(34rem, 70vw);
  top: -12rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(251, 79, 156, 0.24), transparent 68%);
}

#randevu::after {
  width: min(28rem, 62vw);
  height: min(28rem, 62vw);
  bottom: -10rem;
  left: -9rem;
  background: radial-gradient(circle, rgba(155, 108, 255, 0.2), transparent 68%);
}

#randevu .booking-app-aura {
  inset: -1rem !important;
  border-radius: 2.25rem !important;
  background:
    linear-gradient(140deg, rgba(251, 79, 156, 0.08), transparent 34%),
    linear-gradient(320deg, rgba(155, 108, 255, 0.08), transparent 42%) !important;
  filter: none !important;
}

#randevu #booking-widget.booking-app-shell {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.75rem) !important;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: clamp(1.4rem, 3vw, 2rem) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 22%),
    radial-gradient(circle at 90% 0%, rgba(251, 79, 156, 0.13), transparent 33%),
    radial-gradient(circle at 0% 100%, rgba(155, 108, 255, 0.11), transparent 36%),
    linear-gradient(155deg, #121426 0%, #0c0e1d 52%, #111225 100%) !important;
  box-shadow:
    0 24px 70px rgba(2, 3, 12, 0.52),
    0 0 0 1px rgba(251, 113, 174, 0.1) inset !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  contain: layout paint;
}

#randevu #booking-widget.neon-border::before,
#randevu #booking-widget.neon-border::after {
  display: none !important;
  animation: none !important;
}

#randevu .booking-app-header {
  margin: -0.15rem -0.15rem 0;
  padding: 0.2rem 0.15rem 1.15rem;
  border-bottom: 1px solid var(--booking-line);
}

#randevu .booking-app-eyebrow {
  min-height: 2rem;
  margin-bottom: 0.75rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(251, 113, 174, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 79, 156, 0.14), rgba(155, 108, 255, 0.08));
  color: #ffc6df;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(5, 6, 18, 0.24);
}

#randevu .booking-app-eyebrow-dot {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--booking-rose);
  box-shadow: 0 0 0 4px rgba(251, 79, 156, 0.12), 0 0 14px rgba(251, 79, 156, 0.64);
  animation: booking-status-pulse 2.4s ease-in-out infinite;
}

@keyframes booking-status-pulse {
  0%, 100% { opacity: 0.72; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

/* Continuous, GPU-cheap ticker. Both copies contain the same server-rendered text. */
#randevu .booking-ticker {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.7rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), rgba(251, 79, 156, 0.055), rgba(255, 255, 255, 0.025));
  transform: translateZ(0);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

#randevu .booking-ticker-track.animate-marquee {
  display: flex !important;
  width: max-content;
  min-width: max-content;
  gap: 4rem;
  padding: 0.72rem 0 !important;
  white-space: nowrap !important;
  /* Sized as a ticker strip rather than a headline: at headline weight the
     clipped leading word read as a broken page title. The text itself, its
     markup and the animation contract are untouched. */
  color: #ff8fb8;
  font-size: clamp(0.8rem, 1vw, 0.94rem);
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1.5;
  text-shadow: none !important;
  filter: none !important;
  user-select: none;
  will-change: transform;
  animation: booking-marquee 40s linear infinite !important;
}

#randevu .booking-ticker-copy {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  #randevu .booking-ticker:hover .booking-ticker-track {
    animation-play-state: paused !important;
  }
}

#randevu .booking-ticker-track:focus-visible {
  animation-play-state: paused !important;
  outline: 2px solid rgba(251, 113, 174, 0.72);
  outline-offset: -2px;
}

@keyframes booking-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 2rem), 0, 0); }
}

#randevu .booking-app-intro {
  margin-top: 0.85rem;
  color: var(--booking-muted);
  line-height: 1.55;
}

/* Four-step application progress */
#randevu .booking-progress {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 1.15rem;
  background: rgba(5, 6, 17, 0.42);
  box-shadow: 0 10px 30px rgba(2, 3, 12, 0.2) inset;
}

/* Keep the internal step state accessible to booking.js and assistive technology. */
body.tina-app #randevu .booking-progress.booking-progress--visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#randevu .booking-progress .step-chip {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 3.55rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.58rem 0.65rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  background: transparent;
  box-shadow: none;
  color: #9696aa;
  font-family: inherit;
  font-size: clamp(0.67rem, 1.5vw, 0.8rem);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
  transform: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

#randevu .booking-progress .step-chip::after {
  display: none !important;
  animation: none !important;
}

#randevu .booking-progress .step-number {
  display: inline-flex;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 1.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.045);
  color: #8e8da0;
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

#randevu .booking-progress .step-label {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: left;
}

#randevu .booking-progress .step-chip[data-active="true"] .step-label {
  border: 0;
  background: transparent;
}

#randevu .booking-progress .step-chip[data-state="current"],
#randevu .booking-progress .step-chip[data-active="true"] {
  border-color: rgba(251, 113, 174, 0.34);
  background: linear-gradient(135deg, rgba(251, 79, 156, 0.17), rgba(155, 108, 255, 0.1));
  color: #fff6fb;
  box-shadow: 0 8px 20px rgba(251, 79, 156, 0.09);
  transform: none;
}

#randevu .booking-progress .step-chip[data-state="current"] .step-number,
#randevu .booking-progress .step-chip[data-active="true"] .step-number {
  border-color: transparent;
  background: linear-gradient(135deg, var(--booking-rose), var(--booking-orchid));
  color: white;
  box-shadow: 0 6px 16px rgba(251, 79, 156, 0.3);
}

#randevu .booking-progress .step-chip[data-state="complete"] {
  color: #bbb9c9;
}

#randevu .booking-progress .step-chip[data-state="complete"] .step-number {
  border-color: rgba(74, 222, 165, 0.28);
  background: rgba(74, 222, 165, 0.12);
  color: #9af0cd;
}

#randevu .booking-app-body {
  position: relative;
  z-index: 3;
  padding: clamp(0.9rem, 2vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 35%),
    rgba(6, 7, 18, 0.36);
}

#randevu .booking-step {
  animation: booking-step-in 220ms ease-out;
}

@keyframes booking-step-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

#randevu .booking-section-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: #e9e5ee;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

#randevu .booking-section-label::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--booking-rose), var(--booking-orchid));
  box-shadow: 0 0 10px rgba(251, 79, 156, 0.34);
}

#randevu .loading-banner {
  border: 1px solid rgba(251, 113, 174, 0.2);
  border-radius: 1rem;
  background: rgba(251, 79, 156, 0.075);
  box-shadow: none;
}

#randevu #category-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  margin-top: 0.5rem;
}

#randevu .category-section.digital-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095) !important;
  border-radius: 1.15rem !important;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.045), transparent 40%),
    linear-gradient(145deg, #191b32, #111326) !important;
  box-shadow: 0 10px 26px rgba(2, 3, 12, 0.24) !important;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

#randevu .category-section.digital-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(251, 79, 156, 0.8), rgba(155, 108, 255, 0.22));
  opacity: 0.48;
  pointer-events: none;
}

#randevu .category-section.digital-card:hover {
  border-color: rgba(251, 113, 174, 0.26) !important;
  transform: translateY(-1px);
}

#randevu .category-section.open {
  grid-column: 1 / -1;
  border-color: rgba(251, 113, 174, 0.42) !important;
  background:
    linear-gradient(135deg, rgba(251, 79, 156, 0.11), transparent 36%),
    linear-gradient(155deg, #1b1c35, #111326) !important;
  box-shadow: 0 16px 38px rgba(6, 7, 20, 0.35), 0 0 0 1px rgba(251, 79, 156, 0.07) inset !important;
}

#randevu .category-section.open::before {
  width: 4px;
  opacity: 1;
}

#randevu .category-button {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 4.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.72rem 0.8rem 0.72rem 0.92rem !important;
  overflow: hidden;
  border-radius: inherit;
  color: var(--booking-text);
  text-align: left;
  transition: background-color 180ms ease;
}

#randevu .category-button::after {
  display: none !important;
  animation: none !important;
}

#randevu .category-button:hover {
  background: rgba(251, 79, 156, 0.045) !important;
}

#randevu .category-primary,
#randevu .category-trailing {
  display: flex;
  min-width: 0;
  align-items: center;
}

#randevu .category-primary {
  flex: 1 1 auto;
  gap: 0.75rem;
}

#randevu .category-trailing {
  flex: 0 0 auto;
  gap: 0.55rem;
}

#randevu .category-icon-shell {
  display: inline-flex;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(251, 79, 156, 0.15), rgba(155, 108, 255, 0.1));
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(3, 4, 14, 0.24);
}

#randevu .category-title-shimmer {
  min-width: 0;
  margin: 0;
  color: #f9f3f8 !important;
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 720;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-shadow: none;
  animation: none !important;
}

#randevu .category-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22rem;
  padding: 0.3rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #c8c4d0;
  font-size: 0.66rem;
  white-space: nowrap;
}

#randevu .category-count strong {
  color: #fff2f8;
  font-size: 0.75rem;
}

#randevu .category-button .chevron {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 113, 174, 0.18);
  border-radius: 999px;
  background: rgba(251, 79, 156, 0.07);
  color: #ffc3dc;
  transition: transform 180ms ease, background-color 180ms ease;
}

#randevu .category-button .chevron svg {
  width: 0.86rem;
  height: 0.86rem;
}

#randevu .category-services {
  position: relative;
  z-index: 3;
  padding: 0 0.75rem 0.8rem !important;
}

#randevu .service-row {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 4.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.55rem;
  padding: 0.8rem 3rem 0.8rem 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 0.95rem;
  background: rgba(7, 8, 20, 0.52);
  box-shadow: none;
  color: #eee9ef;
  text-align: left;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

#randevu .service-row::before {
  content: "";
  position: absolute;
  inset: 50% 0.88rem auto auto;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.48rem;
  background: rgba(255, 255, 255, 0.035);
  opacity: 1;
  transform: translateY(-50%);
  animation: none !important;
  mix-blend-mode: normal;
}

#randevu .service-row::after {
  display: none !important;
  animation: none !important;
}

#randevu .service-row:hover {
  border-color: rgba(251, 113, 174, 0.3);
  background: rgba(251, 79, 156, 0.07);
  box-shadow: none;
  transform: translateY(-1px);
}

#randevu .service-row[aria-pressed="true"] {
  border-color: rgba(251, 113, 174, 0.64);
  background: linear-gradient(135deg, rgba(251, 79, 156, 0.19), rgba(155, 108, 255, 0.11));
  box-shadow: 0 0 0 1px rgba(251, 79, 156, 0.1) inset;
  transform: none;
}

#randevu .service-row[aria-pressed="true"]::before {
  content: "✓";
  inset: 50% 0.88rem auto auto;
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-color: transparent;
  border-radius: 0.48rem;
  background: linear-gradient(135deg, var(--booking-rose), var(--booking-orchid));
  color: white;
  font-size: 0.78rem;
  text-shadow: none;
  transform: translateY(-50%);
  animation: none;
}

#randevu .service-row-addon {
  border-style: dashed;
  border-color: rgba(155, 108, 255, 0.28);
  background: rgba(155, 108, 255, 0.055);
}

#randevu .service-row-content {
  min-width: 0;
}

#randevu .service-name {
  color: #fff6fb;
  font-size: 0.9rem;
  line-height: 1.3;
}

#randevu .service-desc {
  color: #aaa8b9;
  font-size: 0.74rem;
  line-height: 1.45;
}

#randevu .service-price {
  flex: 0 0 auto;
  color: #ffd5e7;
  font-size: 0.78rem;
}

#randevu #selected-summary {
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
  color: #aaa8b8;
  line-height: 1.4;
}

#randevu #selected-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.45rem;
}

#randevu #selected-details.hidden {
  display: none;
}

#randevu #selected-details .selected-detail {
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border-color: rgba(74, 222, 165, 0.2);
  border-radius: 0.8rem;
  background: rgba(74, 222, 165, 0.075);
}

/* Calendar, time slots and form */
#randevu #calendar-container {
  gap: clamp(0.28rem, 1.2vw, 0.5rem) !important;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 1rem;
  background: rgba(5, 6, 17, 0.42);
}

#randevu #calendar-container > div {
  color: #8f8d9e;
}

#randevu #calendar-container button {
  min-width: 0;
  min-height: 44px;
  border-radius: 0.72rem;
  box-shadow: none !important;
  font-size: 0.78rem;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

#randevu #calendar-container .calendar-day-btn {
  border-color: rgba(251, 113, 174, 0.32) !important;
  background: rgba(251, 79, 156, 0.1) !important;
  color: #ffd0e4 !important;
}

#randevu #calendar-container .calendar-day-btn:hover {
  border-color: rgba(251, 113, 174, 0.65) !important;
  background: rgba(251, 79, 156, 0.2) !important;
  transform: translateY(-1px);
}

#randevu .booking-calendar-legend {
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.72rem;
}

#randevu #slots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

#randevu .slot-button {
  min-height: 4.8rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
    #121426;
  box-shadow: none;
  color: #fff7fb;
  text-align: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

#randevu .slot-button::before,
#randevu .slot-button::after {
  display: none !important;
  animation: none !important;
}

#randevu .slot-button:hover,
#randevu .slot-button[aria-pressed="true"] {
  border-color: rgba(251, 113, 174, 0.5);
  background: linear-gradient(135deg, rgba(251, 79, 156, 0.17), rgba(155, 108, 255, 0.1));
  box-shadow: none;
  transform: translateY(-1px);
}

#randevu .slot-staff-label {
  margin-top: 0.2rem;
  color: #a9a6b8;
  font-size: 0.7rem;
}

#randevu .summary-card {
  border: 1px solid rgba(251, 113, 174, 0.18);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(251, 79, 156, 0.08), rgba(155, 108, 255, 0.05)),
    rgba(7, 8, 20, 0.54);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#randevu .summary-card::after {
  display: none !important;
  animation: none !important;
}

#randevu .booking-form label {
  color: #c6c2ce;
  font-size: 0.76rem;
  font-weight: 650;
}

#randevu .booking-field {
  min-height: 3rem;
  padding: 0.78rem 0.85rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.85rem !important;
  background: rgba(6, 7, 18, 0.58) !important;
  color: #fff8fc !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

#randevu textarea.booking-field {
  min-height: 6rem;
  resize: vertical;
}

#randevu .booking-field::placeholder {
  color: #777587;
}

#randevu .booking-field:focus {
  outline: none;
  border-color: rgba(251, 113, 174, 0.66) !important;
  background: rgba(11, 12, 27, 0.78) !important;
  box-shadow: 0 0 0 3px rgba(251, 79, 156, 0.12) !important;
}

/* App-like action dock */
#randevu .booking-actions {
  position: relative;
  z-index: 5;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

#randevu .booking-primary,
#randevu .booking-secondary {
  min-height: 44px;
  border-radius: 0.9rem !important;
  font-weight: 760;
  letter-spacing: -0.01em;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

#randevu .booking-primary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(135deg, var(--booking-rose), var(--booking-rose-deep) 50%, var(--booking-orchid)) !important;
  background-size: 180% 100% !important;
  color: white !important;
  box-shadow: 0 12px 26px rgba(217, 46, 127, 0.25), 0 1px 0 rgba(255, 255, 255, 0.22) inset !important;
}

#randevu .booking-primary::before,
#randevu .booking-primary::after,
#randevu .booking-secondary::before,
#randevu .booking-secondary::after {
  display: none !important;
  animation: none !important;
}

#randevu .booking-primary:hover {
  background-position: 100% 0 !important;
  box-shadow: 0 14px 30px rgba(217, 46, 127, 0.32), 0 1px 0 rgba(255, 255, 255, 0.22) inset !important;
  transform: translateY(-1px);
}

#randevu .booking-secondary {
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #d9d4dc !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#randevu .booking-secondary:hover {
  border-color: rgba(251, 113, 174, 0.28) !important;
  background: rgba(251, 79, 156, 0.075) !important;
  transform: translateY(-1px);
}

#randevu .booking-primary:active,
#randevu .booking-secondary:active {
  transform: scale(0.985);
}

/* Hide floating chrome while the booking application itself is in view.
   NOT: Hizli islem menusu (.booking-fab-stack) BU KURALIN DISINDADIR.
   Eskiden ekranin altinda iki ayri buton duruyordu ve randevu bileseninin
   uzerine bindigi icin gizleniyordu. Artik tek, kucuk bir yuvarlak buton
   var; sayfanin her yerinde — randevu bolumu dahil — sabit kalir, boylece
   telefon/WhatsApp/yol tarifi her an bir dokunus uzaktadir. */
body.booking-app-active .pwa-install-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px);
}

@media (max-width: 767px) {

  #randevu {
    margin: -0.15rem -0.15rem 0;
    padding: 0;
  }

  #randevu #booking-widget.booking-app-shell {
    padding: 0.85rem !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 18px 42px rgba(2, 3, 12, 0.44), 0 0 0 1px rgba(251, 113, 174, 0.08) inset !important;
  }

  #randevu .booking-app-header {
    padding: 0.1rem 0.05rem 0.9rem;
  }

  #randevu .booking-ticker:hover .booking-ticker-track,
  #randevu .booking-ticker:focus-within .booking-ticker-track {
    animation-play-state: running !important;
  }

  #randevu .booking-ticker-track.animate-marquee {
    font-size: 1rem;
    animation-duration: 36s !important;
  }

  #randevu .booking-progress {
    gap: 0.28rem;
    margin: 0.75rem 0;
    padding: 0.38rem;
    border-radius: 1rem;
  }

  #randevu .booking-progress .step-chip {
    min-height: 3.5rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    padding: 0.42rem 0.2rem;
    text-align: center;
  }

  #randevu .booking-progress .step-number {
    width: 1.55rem;
    height: 1.55rem;
    flex-basis: 1.55rem;
    border-radius: 0.52rem;
    font-size: 0.64rem;
  }

  #randevu .booking-progress .step-label {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    font-size: 0.7rem;
    line-height: 1.1;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #randevu .booking-app-body {
    padding: 0.75rem;
    border-radius: 1.1rem;
  }

  #randevu .category-button {
    min-height: 4.55rem;
    padding-inline: 0.75rem !important;
  }

  #randevu .category-icon-shell {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }

  #randevu .category-count {
    padding-inline: 0.4rem;
  }

  #randevu .category-button .chevron {
    width: 1.8rem;
    height: 1.8rem;
    flex-basis: 1.8rem;
  }

  #randevu .booking-actions {
    position: sticky;
    bottom: calc(0.45rem + env(safe-area-inset-bottom));
    margin-inline: -0.25rem;
    padding: 0.7rem 0.25rem 0.25rem;
    background: linear-gradient(180deg, rgba(8, 9, 22, 0), rgba(8, 9, 22, 0.94) 28%);
  }

  #randevu .booking-actions .booking-primary {
    min-width: min(11rem, 62%);
    flex: 1 1 11rem;
  }

  #randevu .booking-actions .booking-secondary {
    flex: 0 0 auto;
  }
}

@media (max-width: 370px) {
  #randevu .category-count {
    font-size: 0;
  }

  #randevu .category-count strong {
    font-size: 0.7rem;
  }

  #randevu .booking-progress .step-label {
    font-size: 0.64rem;
  }
}

@media (min-width: 860px) {
  #randevu #category-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #randevu #slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (hover: none) {
  #randevu .category-section.digital-card:hover,
  #randevu .service-row:hover,
  #randevu .slot-button:hover,
  #randevu .booking-primary:hover,
  #randevu .booking-secondary:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #randevu *,
  #randevu *::before,
  #randevu *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  #randevu .booking-app-eyebrow-dot,
  #randevu .booking-step {
    animation: none !important;
  }

  #randevu .booking-ticker {
    -webkit-mask-image: none;
    mask-image: none;
  }

  #randevu .booking-ticker-track.animate-marquee {
    display: block !important;
    width: auto;
    min-width: 0;
    white-space: normal !important;
    animation: none !important;
    will-change: auto !important;
  }

  #randevu .booking-ticker-copy {
    display: inline;
    white-space: normal;
  }

  #randevu .booking-ticker-copy[aria-hidden="true"] {
    display: none;
  }
}

/* Şeridi dondurmak YALNIZCA masaüstünde güvenlidir: orada yukarıdaki blok
   metni normal akışa açar (display:block + white-space:normal), yani duran
   yazının tamamı okunur.
   Mobilde aşağıdaki blok şeridi tekrar tek satıra alıyor; orada `transform`
   dondurulursa metin kapsül genişliğinde KESİLİR ve SEO metninin büyük kısmı
   hiç görünmez. `!important` bir transform, animasyonun ürettiği transform'u
   ezdiği için animasyon "çalışıyor" görünse de hareket etmez. */
@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  #randevu .booking-ticker-track.animate-marquee {
    transform: none !important;
  }
}

/* The mobile ticker is essential booking information. Keep a slower,
   continuous loop even when the phone requests reduced motion. */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  #randevu .booking-ticker-track.animate-marquee {
    display: flex !important;
    width: max-content;
    min-width: max-content;
    gap: 4rem;
    padding: 0.72rem 0 !important;
    white-space: nowrap !important;
    animation: booking-marquee 72s linear infinite !important;
    animation-play-state: running !important;
    will-change: transform !important;
  }

  #randevu .booking-ticker-copy,
  #randevu .booking-ticker-copy[aria-hidden="true"] {
    display: inline-block !important;
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
