/*
Theme Name: CycleCycle
Theme URI: http://example.com/cyclecycle
Author: Antigravity
Author URI: http://example.com
Description: Custom, lightweight, and highly responsive WordPress theme for a bike rental shop. Features a 1970s outdoor-inspired color palette.
Version: 1.0.16
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyclecycle
*/

/* removed import */
:root {
  /* 70s Base Palette (Refined for Mesh Blending) */
  --color-orange: #e76f51;
  --color-mustard: #e9c46a;
  --color-teal: #2a9d8f;
  --color-dark-teal: #1e4d58;
  --color-white: #ffffff;
  --color-soft-white: rgba(255, 255, 255, 0.9);

  /* Luminous Glassmorphism Tokens */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%);
  --glass-bg-subtle: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
  --glass-bg-header: linear-gradient(135deg, rgba(22, 45, 53, 0.85) 0%, rgba(14, 30, 36, 0.9) 100%);
  --glass-border: rgba(255, 255, 255, 0.38);
  --glass-border-light: rgba(255, 255, 255, 0.6);
  --glass-blur: 20px;
  --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 0 rgba(255, 255, 255, 0.5);

  --font-heading: 'Google Sans Flex', 'Impact', sans-serif;
  --font-logo: 'Righteous', cursive;
  --font-secondary: 'Google Sans Flex', sans-serif;
  --font-body: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --spacing-sm: 0.5rem;
  --spacing-md: 1.5rem;
  /* Increased for airy feel */
  --spacing-lg: 3.5rem;
  /* Increased for airy feel */
  --spacing-xl: 6rem;
  /* Increased for airy feel */

  --radius-lg: 32px;
  /* Softer radii */
  --radius-md: 16px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-dark-teal);
}

body {
  font-family: var(--font-body);
  color: var(--color-soft-white);
  background:
    radial-gradient(at 0% 0%, var(--color-dark-teal) 0px, transparent 50%),
    radial-gradient(at 100% 0%, var(--color-teal) 0px, transparent 50%),
    radial-gradient(at 100% 100%, var(--color-orange) 0px, transparent 50%),
    radial-gradient(at 0% 100%, var(--color-mustard) 0px, transparent 50%),
    var(--color-dark-teal);
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 850;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
  text-transform: none;
  letter-spacing: -0.5px;
}

h3,
h4,
h5,
h6 {
  font-weight: 750;
  /* Slightly lighter for smaller headers to improve legibility */
}

a {
  color: var(--color-mustard);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

a:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-block;
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 1.2rem 2.5rem;
  border-radius: 60px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: var(--color-white);
  color: var(--color-orange);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-small {
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
}

/* Header */
.site-header {
  background-color: transparent;
  padding: var(--spacing-md) 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: var(--glass-bg-mobile);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

@media (min-width: 1024px) {
  .site-header.is-scrolled {
    background: rgba(22, 45, 53, 0.72);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Badge styling */
.site-logo-badge {
  background: rgba(22, 52, 60, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  padding: 0.6rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: inline-block;
}

.site-logo-badge:hover {
  background: rgba(26, 62, 72, 0.95);
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

.site-logo-badge .custom-logo-link {
  display: block;
}

.site-logo-badge .custom-logo {
  max-height: 48px;
  width: auto;
  border-radius: 0;
}

/* Scrolled header logo adjustment */
.site-header.is-scrolled .site-logo-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.site-logo-badge a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.site-branding .logo-text {
  font-family: 'Righteous', sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 2.2rem;
  color: #e76f51;
  white-space: nowrap;
}

.logo-subtext {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--color-mustard);
  letter-spacing: 5px;
  margin-top: 4px;
  text-transform: uppercase;
  opacity: 1;
}

.site-branding a:hover .logo-text {
  color: var(--color-white);
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.main-navigation li {
  display: flex;
  align-items: center;
}

.main-navigation a:not(.nav-cta) {
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.main-navigation a:not(.nav-cta):hover {
  opacity: 1;
  color: var(--color-mustard);
}

.site-header.is-scrolled .main-navigation a:not(.nav-cta) {
  color: var(--color-white);
  opacity: 1;
}

.site-main {
  padding: 120px 0 var(--spacing-xl);
  /* Clear fixed header */
}

/* On homepage, hero section handles its own spacing */
.home .site-main {
  padding: 0;
}

.page-header {
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 0;
}

.entry-content {
  max-width: 800px;
  /* Optimal reading width */
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: var(--spacing-md);
}

/* Ensure header background handles are uniform across site */
.site-header {
  background-color: transparent;
  border-bottom: none;
}

.main-navigation a.nav-cta {
  background-color: var(--color-orange);
  color: var(--color-white) !important;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: var(--spacing-sm);
  transition: all 0.4s ease;
  opacity: 1;
}

.main-navigation a.nav-cta:hover {
  background-color: var(--color-white);
  color: var(--color-orange) !important;
  transform: translateY(-2px);
}

.main-navigation a.nav-login-btn,
.main-navigation a.nav-admin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: 0.5rem;
  transition: all 0.3s ease;
  opacity: 0.95;
  text-shadow: none;
  line-height: 1;
}

.main-navigation a.nav-login-btn svg,
.main-navigation a.nav-admin-btn svg {
  display: block;
}

.main-navigation a.nav-login-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-mustard) !important;
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-navigation a.nav-admin-btn {
  background: rgba(42, 157, 143, 0.25);
  border-color: rgba(42, 157, 143, 0.6);
  color: #4ade80 !important;
}

.main-navigation a.nav-admin-btn:hover {
  background: var(--color-teal);
  color: #ffffff !important;
  border-color: var(--color-teal);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(42, 157, 143, 0.35);
}

.menu-toggle {
  display: none;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  border: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  padding: 8px 15px;
  border-radius: 12px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 100%);
  transform: scale(1.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  color: var(--color-white);
  text-align: left;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-size: cover;
  background-position: center;
  margin-bottom: var(--spacing-xl);
  overflow: hidden;
  /* Prevent sticker from causing horizontal scroll */
  transition: background-image 1.5s ease-in-out;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 34, 42, 0.55) 0%, rgba(14, 34, 42, 0.2) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  background: rgba(22, 52, 62, 0.58);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -webkit-backface-visibility: hidden;
  padding: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .hero-section::before {
    background: rgba(14, 34, 42, 0.4);
  }

  .hero-content {
    padding: 2.25rem 1.5rem;
    background: rgba(20, 48, 58, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    width: 100%;
    margin: 0 auto;
  }
}

.hero-sticker {
  position: absolute;
  top: -30px;
  right: -30px;
  background-color: var(--color-orange);
  color: var(--color-white);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Righteous', cursive;
  font-size: 1.2rem;
  line-height: 1.2;
  transform: rotate(12deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border: 2px dashed rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .hero-sticker {
    top: -18px;
    right: -10px;
    width: 90px;
    height: 90px;
    font-size: 0.95rem;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-section h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 8vw, 5rem);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
  color: var(--color-soft-white);
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Steps Section */
.how-it-works {
  padding: var(--spacing-xl) 0;
  text-align: center;
  scroll-margin-top: 120px;
  /* Offset for fixed header */
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.step-card {
  padding: var(--spacing-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.step-card:hover {
  transform: translateY(-15px);


  background: rgba(255, 255, 255, 0.12);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-mustard);
  line-height: 1;
  margin-bottom: var(--spacing-sm);
  opacity: 0.6;
}

/* Fleet Section */
.our-fleet {
  padding: var(--spacing-md) 0;
  scroll-margin-top: 100px;
}

.our-fleet h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
}

.bike-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  /* Slightly wider for airy feel */
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.bike-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.bike-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.12);
}

.bike-image-placeholder {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid var(--glass-border);
  border-radius: 0;
}

.bike-details {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bike-details h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.bike-details p {
  color: var(--color-soft-white);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.bike-price {
  color: var(--color-orange);
  font-weight: 800;
  font-size: 1.25rem;
  margin-top: auto;
}

.booqable-embed-wrapper {
  margin-top: var(--spacing-md);
  text-align: left;
}

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-widget h3 {
  color: var(--color-mustard);
  font-family: var(--font-heading);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 2px dashed rgba(253, 250, 240, 0.2);
  font-size: 0.875rem;
}

/* Calendar Booking Section */
.calendar-booking {
  padding: var(--spacing-md) 0;
  scroll-margin-top: 100px;
  text-align: center;
}

.calendar-booking h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  color: var(--color-soft-white);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

.calendar-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--glass-shadow);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: var(--spacing-md); */
}

.calendar-header h3 {
  margin: 0;
  color: var(--color-white);
  font-size: 1.4rem;
}

.calendar-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--color-white);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar-nav:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: scale(1.1);
}

.calendar-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-soft-white);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot.cruiser {
  background-color: var(--color-orange);
}

.dot.electric {
  background-color: var(--color-teal);
}

.dot.tandem {
  background-color: var(--color-mustard);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

#calendar-grid-header {
  margin-bottom: var(--spacing-sm);
}

#calendar-grid-days {
  margin-bottom: 1.25rem;
}

.day-name {
  font-weight: 700;
  color: var(--color-mustard);
  text-transform: uppercase;
  font-size: 0.8rem;
  padding-bottom: 5px;
}

.calendar-day {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day:not(.empty):hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-soft-white);
  transform: translateY(-2px);
}

.calendar-day.selected {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
  box-shadow: 0 4px 15px rgba(231, 111, 81, 0.4);
}

.calendar-day.in-range {
  background: rgba(231, 111, 81, 0.2);
  border-radius: 0;
}

.calendar-day.range-start {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.calendar-day.range-end {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.date-num {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 3px;
  z-index: 2;
}

.indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1;
  z-index: 2;
}

.calendar-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.selected-range-text {
  font-size: 1.1rem;
  color: var(--color-mustard);
  font-weight: 600;
  height: 24px;
}

.btn-calendar-search:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
  }

  .main-navigation.is-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: var(--spacing-lg) var(--spacing-md);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
  }

  .main-navigation.is-active a {
    font-size: 1.5rem;
    color: var(--color-white);
    display: block;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-navigation.is-active a.nav-cta {
    background-color: var(--color-orange);
    color: var(--color-white) !important;
    margin: var(--spacing-md) auto;
    width: auto;
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
  }

  .main-navigation.is-active a.nav-login-btn,
  .main-navigation.is-active a.nav-admin-btn {
    margin: var(--spacing-sm) auto var(--spacing-md);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    padding: 0;
  }

  /* Hero Mobile Fixes */
  .hero-content {
    padding: 2.5rem 2rem;
    margin-top: 40px;
    max-width: 100%;
  }

  .hero-sticker {
    width: 90px;
    height: 90px;
    font-size: 0.9rem;
    top: -20px;
    right: -10px;
  }

  .hero-section h1 {
    font-size: 2.8rem;
  }

  /* Calendar Mobile Fixes */
  .calendar-wrapper {
    padding: var(--spacing-sm) 0.5rem;
  }

  .calendar-header h3 {
    font-size: 1.4rem;
  }

  .calendar-nav {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .calendar-nav svg {
    width: 16px;
    height: 16px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .day-name {
    font-size: 0.65rem;
    padding-bottom: 2px;
  }

  .calendar-day {
    border-radius: var(--radius-sm, 8px);
  }

  .date-num {
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .stock-subtext {
    font-size: 0.58rem;
  }

  .indicators .dot {
    width: 5px;
    height: 5px;
  }

  .calendar-legend {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .legend-item {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   CYCLECYCLE BOOKING DRAWER & CHECKOUT SYSTEM
   ========================================================================== */

/* Calendar Sold Out & Badges */
.calendar-day.sold-out {
  opacity: 0.45;
  cursor: not-allowed !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.dot.booked {
  background-color: #e76f51;
  box-shadow: 0 0 8px rgba(231, 111, 81, 0.6);
}

.stock-subtext {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
}

.calendar-day.selected .stock-subtext {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.bike-badge {
  display: inline-block;
  background: rgba(42, 157, 143, 0.25);
  border: 1px solid var(--color-teal);
  color: var(--color-mustard);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* Drawer Overlay */
.booking-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 30, 36, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Slide-out Drawer Panel */
.booking-drawer {
  width: 100%;
  max-width: 540px;
  height: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #1b353f 0%, #15272e 100%);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.5rem;
  position: relative;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-white);
}

.booking-drawer-overlay.open .booking-drawer {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 1.8rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.drawer-close:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: rotate(90deg);
}

.drawer-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-mustard);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.drawer-header h2 {
  font-size: 2rem;
  margin-bottom: 4px;
  color: var(--color-white);
}

.drawer-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

/* Steps Progress Bar */
.drawer-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.step-indicator {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.step-indicator span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.step-indicator.active {
  color: var(--color-mustard);
}

.step-indicator.active span {
  background: var(--color-mustard);
  color: #122127;
  font-weight: 800;
}

.step-indicator.completed {
  color: var(--color-teal);
}

.step-indicator.completed span {
  background: var(--color-teal);
  color: #fff;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-heading {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

/* Summary Card */
.summary-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.summary-label {
  color: rgba(255, 255, 255, 0.6);
}

.stock-pill {
  background: rgba(42, 157, 143, 0.25);
  color: var(--color-mustard);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Quantity Stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
}

.qty-stepper input {
  width: 60px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  background: transparent;
  border: none;
  color: var(--color-white);
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

/* Form Fields */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e9c46a'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 36px;
  cursor: pointer;
}

.form-group select option {
  background-color: #1b353f;
  color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-mustard);
  background-color: rgba(255, 255, 255, 0.12);
}

/* Addons Cards */
.addons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.addon-card.clickable {
  cursor: pointer;
}

.addon-card.clickable:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.addon-card.selected {
  border-color: var(--color-teal);
  background: rgba(42, 157, 143, 0.15);
}

.addon-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.addon-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
}

.addon-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.addon-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-mustard);
}

.addon-price.free {
  color: var(--color-teal);
}

/* Waiver Box */
.waiver-box {
  background: rgba(231, 111, 81, 0.08);
  border: 1px solid rgba(231, 111, 81, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
}

.waiver-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.waiver-label a {
  color: var(--color-mustard);
  text-decoration: underline;
}

/* Price Breakdown */
.price-breakdown {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.price-row.discount-row {
  color: #2a9d8f;
  font-weight: 700;
}

.price-row.grand-total {
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-orange);
}

/* Partner & Promo Welcome Banner */
.partner-welcome-banner {
  background: linear-gradient(90deg, #1e4d58 0%, #2a9d8f 50%, #c85a32 100%);
  color: #ffffff;
  padding: 8px 16px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1005; /* Always above fixed site-header (1000) */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  animation: slideDownBanner 0.35s ease-out;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Offset fixed header and page elements when banner is visible */
body.has-partner-banner .site-header {
  top: var(--partner-banner-height, 46px);
}

body.has-partner-banner .hero-section {
  padding-top: calc(var(--spacing-xl) + var(--partner-banner-height, 46px));
}

body.has-partner-banner .site-main {
  margin-top: var(--partner-banner-height, 46px);
}

.home.has-partner-banner .site-main {
  margin-top: 0;
}

/* WordPress Admin Bar Compatibility (if enabled) */
body.admin-bar .site-header {
  top: 32px;
}
body.admin-bar .partner-welcome-banner {
  top: 32px;
}
body.admin-bar.has-partner-banner .site-header {
  top: calc(32px + var(--partner-banner-height, 46px));
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  body.admin-bar .partner-welcome-banner {
    top: 46px;
  }
  body.admin-bar.has-partner-banner .site-header {
    top: calc(46px + var(--partner-banner-height, 46px));
  }
}

.partner-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.partner-banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.partner-banner-icon {
  font-size: 1.2rem;
}

.partner-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.partner-banner-btn {
  background: #ffffff;
  color: #16262e;
  border: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.partner-banner-btn:hover {
  background: #e9c46a;
  transform: scale(1.05);
}

.partner-banner-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 0 4px;
}

.partner-banner-close:hover {
  opacity: 1;
}

/* Coupon & Promo Drawer Section */
.coupon-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(233, 196, 106, 0.4);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 1.25rem;
}

.coupon-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-mustard);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.coupon-input-group {
  display: flex;
  gap: 8px;
}

.coupon-input-group input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--color-white);
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  outline: none;
}

.coupon-input-group input:focus {
  border-color: var(--color-mustard);
}

.btn-coupon-apply {
  background: var(--color-teal);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-coupon-apply:hover {
  background: #238276;
}

.coupon-feedback {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.coupon-feedback.success {
  color: #2a9d8f;
}

.coupon-feedback.error {
  color: #e76f51;
}

/* Payment / Stripe */
.stripe-element-container {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}

.sandbox-notice {
  background: rgba(233, 196, 106, 0.15);
  border: 1px solid var(--color-mustard);
  color: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.payment-error-text {
  color: #e76f51;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Step Action Buttons */
.step-actions {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
}

.btn-next,
.btn-submit {
  flex: 1;
  background: var(--color-orange);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(231, 111, 81, 0.4);
}

.btn-next:hover,
.btn-submit:hover {
  background: #d45d3f;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Success Card */
.success-card {
  text-align: center;
  padding: 1.5rem 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-teal);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.success-ref {
  font-size: 1.1rem;
  color: var(--color-mustard);
  margin-bottom: 1.5rem;
}

.success-summary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Waiver Modal Overlay */
.waiver-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 24, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.waiver-modal-content {
  background: linear-gradient(145deg, #1b353f 0%, #122127 100%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  padding: 24px;
  position: relative;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.waiver-modal-large {
  max-width: 820px;
  height: 90vh;
  max-height: 880px;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
}

.waiver-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
  margin-bottom: 12px;
  position: relative;
}

.waiver-modal-header h3 {
  font-size: 1.35rem;
  color: var(--color-mustard);
  margin: 0 0 4px;
  padding-right: 40px;
}

.waiver-modal-header p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.waiver-terms-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  padding-right: 12px;
  margin: 8px 0 16px;
}

/* Legal Warning Callout */
.waiver-warning-callout {
  background: rgba(231, 111, 81, 0.12);
  border: 1px solid rgba(231, 111, 81, 0.4);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fca38d;
  line-height: 1.4;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Legal Section Cards */
.waiver-sec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
}

.waiver-sec-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-mustard);
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Initial Inputs */
.initial-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.initial-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
}

.initial-input {
  width: 90px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(233, 196, 106, 0.1);
  border: 2px solid var(--color-mustard);
  color: var(--color-mustard);
  border-radius: 6px;
  padding: 6px 10px;
  outline: none;
  transition: all 0.2s ease;
}

.initial-input:focus {
  background: rgba(233, 196, 106, 0.2);
  box-shadow: 0 0 8px rgba(233, 196, 106, 0.4);
}

.initial-input.valid {
  border-color: var(--color-teal);
  color: #4ade80;
  background: rgba(42, 157, 143, 0.15);
}

/* Fee Schedule Table */
.waiver-fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.waiver-fee-table th,
.waiver-fee-table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.waiver-fee-table th {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-mustard);
  font-weight: 700;
}

.waiver-fee-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-white);
}

/* Signature Pad */
.sig-pad-box {
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
}

.sig-pad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sig-pad-header label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
}

.sig-canvas-wrapper {
  position: relative;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  height: 120px;
  touch-action: none;
}

.sig-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.sig-canvas-line {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  border-bottom: 1px dashed #cbd5e1;
  pointer-events: none;
}

.sig-canvas-hint {
  position: absolute;
  bottom: 6px;
  left: 20px;
  font-size: 10px;
  color: #94a3b8;
  pointer-events: none;
  font-family: sans-serif;
}

.sig-pad-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.btn-sig-clear {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sig-clear:hover {
  background: var(--color-orange);
  color: #fff;
}

/* Waiver Modal Footer */
.waiver-modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.waiver-status-indicator {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.waiver-status-indicator strong {
  color: var(--color-mustard);
}

/* Step 3 Waiver Trigger Card */
.waiver-status-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.waiver-status-card.completed {
  border-color: var(--color-teal);
  background: rgba(42, 157, 143, 0.12);
}

.waiver-status-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.waiver-status-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.waiver-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.waiver-status-badge.pending {
  background: rgba(231, 111, 81, 0.2);
  color: #fca38d;
  border: 1px solid rgba(231, 111, 81, 0.4);
}

.waiver-status-badge.signed {
  background: rgba(42, 157, 143, 0.2);
  color: #4ade80;
  border: 1px solid rgba(42, 157, 143, 0.4);
}

.btn-open-waiver {
  width: 100%;
  background: rgba(233, 196, 106, 0.15);
  border: 1px solid var(--color-mustard);
  color: var(--color-mustard);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-open-waiver:hover {
  background: var(--color-mustard);
  color: #122127;
}

.btn-open-waiver.signed {
  background: rgba(42, 157, 143, 0.2);
  border-color: var(--color-teal);
  color: #fff;
}

/* Drawer Mobile Adjustments */
@media (max-width: 600px) {
  .booking-drawer {
    padding: 1.5rem 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Legal & Compliance Pages (Privacy Policy, Terms & Conditions)
   ========================================================================== */
.legal-page {
  padding-top: calc(var(--spacing-xl) + 2rem);
  padding-bottom: var(--spacing-xl);
  max-width: 860px;
  margin: 0 auto;
}

.legal-page-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 3.5rem 3rem;
  color: var(--color-soft-white);
}

.legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.legal-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-mustard);
  background: rgba(233, 196, 106, 0.15);
  border: 1px solid rgba(233, 196, 106, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.legal-title {
  font-size: 2.75rem;
  font-family: var(--font-heading);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.legal-meta {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.legal-section h2 {
  font-size: 1.45rem;
  font-family: var(--font-heading);
  color: var(--color-mustard);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.legal-section p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.85rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-section li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.legal-section a {
  color: var(--color-teal);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--color-mustard);
}

.legal-section.highlight-box {
  background: rgba(42, 157, 143, 0.12);
  border: 1px solid rgba(42, 157, 143, 0.4);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
}

.legal-section.highlight-box h2 {
  color: #48cae4;
}

.contact-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 0.75rem;
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Footer Legal Links */
.footer-legal-links {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--color-mustard);
  text-decoration: underline;
}

.footer-sep {
  opacity: 0.4;
}

.sms-disclaimer-note {
  font-size: 0.8rem;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .legal-page-card {
    padding: 2.25rem 1.5rem;
  }

  .legal-title {
    font-size: 2.1rem;
  }

  .legal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-footer .btn {
    text-align: center;
  }
}

/* ==========================================================================
   Stripe Payment Element Container & Styling
   ========================================================================== */
.payment-section {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.stripe-element-container {
  min-height: 44px;
  margin-top: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.payment-error-text {
  color: var(--color-orange);
  font-size: 0.88rem;
  margin-top: 10px;
  font-weight: 600;
  min-height: 18px;
}

/* Subtle Footer Build & Version Tag */
.footer-build-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.72rem;
  font-family: monospace, var(--font-body);
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
  cursor: default;
  vertical-align: middle;
  padding: 1px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.footer-build-tag:hover {
  color: var(--color-mustard);
  background: rgba(233, 196, 106, 0.12);
}