/*
 * Grenbee - Modern Visual Redesign
 * Unified design language for booking form + customer account pages
 * Brand: Emerald green (#10b981)
 */

/* ===== CSS Variables / Design Tokens ===== */
:root {
  /* Brand Colors */
  --gk-brand: #10b981;
  --gk-brand-hover: #059669;
  --gk-brand-light: rgba(16, 185, 129, 0.1);
  --gk-brand-soft: rgba(16, 185, 129, 0.08);

  /* Core Colors */
  --gk-primary: #0f172a;
  --gk-primary-soft: #1e293b;
  --gk-secondary: #10b981;
  --gk-secondary-soft: rgba(16, 185, 129, 0.12);
  --gk-danger: #ef4444;
  --gk-warning: #f59e0b;
  --gk-success: #10b981;

  /* Surface Colors */
  --gk-dark: #0f172a;
  --gk-light: #f8fafc;
  --gk-card: #ffffff;
  --gk-border: #e2e8f0;
  --gk-border-light: rgba(15, 23, 42, 0.06);

  /* Text Colors */
  --gk-text: #0f172a;
  --gk-muted: #64748b;
  --gk-subtle: #94a3b8;

  /* Shadows */
  --gk-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --gk-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --gk-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --gk-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --gk-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --gk-shadow-brand: 0 8px 24px rgba(16, 185, 129, 0.2);

  /* Radii */
  --gk-radius-sm: 8px;
  --gk-radius: 12px;
  --gk-radius-lg: 16px;
  --gk-radius-xl: 20px;
  --gk-radius-full: 9999px;

  /* Spacing */
  --gk-gap: 16px;
  --gk-gap-sm: 12px;
  --gk-gap-lg: 24px;

  /* Transitions */
  --gk-trans: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --gk-trans-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Resets ===== */
.gk-booking,
.gk-booking *,
.gk-booking *::before,
.gk-booking *::after,
.gk-customer-auth,
.gk-customer-auth *,
.gk-customer-account,
.gk-customer-account * {
  box-sizing: border-box;
}

.gk-booking [hidden],
.gk-customer-auth [hidden],
.gk-customer-account [hidden] {
  display: none !important;
}

/* Focus styles */
.gk-booking *:focus {
  outline: none;
}

.gk-booking *:focus-visible,
.gk-customer-auth *:focus-visible,
.gk-customer-account *:focus-visible {
  outline: 2px solid var(--gk-brand);
  outline-offset: 2px;
}

/* Remove focus outline on links */
.gk-booking a:focus,
.gk-booking a:focus-visible,
.gk-auth-modal a:focus,
.gk-auth-modal a:focus-visible,
a.gk-account-link:focus,
a.gk-account-link:focus-visible,
a.gk-account-action:focus,
a.gk-account-action:focus-visible,
a.gk-policy-link:focus,
a.gk-policy-link:focus-visible {
  outline: none;
  box-shadow: none;
}

/* ===== Typography ===== */
.gk-booking,
.gk-customer-auth,
.gk-customer-account {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gk-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gk-progress-meta > *,
.gk-trust-pill > *,
.gk-service-card > *,
.gk-option-card > *,
.gk-current-service-row > *,
.gk-mobile-total > *,
.gk-mobile-total-inline > *,
.gk-coupon-applied > *,
.gk-coupon-applied-meta > *,
.gk-summary-row > *,
.gk-summary-breakdown-row > *,
.gk-summary-total-row > *,
.gk-checkout-confidence-card > *,
.gk-terms-label > *,
.gk-price-line > * {
  min-width: 0;
}

.gk-progress-step,
.gk-progress-title,
.gk-auth-modal__header h4,
.gk-auth-modal__header p,
.gk-glass-btn-text,
.gk-trust-pill,
.gk-step h2,
.gk-service-name,
.gk-option-title,
.gk-option-label,
.gk-current-service-label,
.gk-current-service-summary,
.gk-current-service-change,
.gk-field-help,
.gk-inline-flow-note,
.gk-step-error,
.gk-mobile-total-label,
.gk-mobile-total-amount,
.gk-mobile-total-line-label,
.gk-mobile-total-line-value,
.gk-coupon-applied-text,
.gk-coupon-applied-discount,
.gk-summary-label,
.gk-summary-value,
.gk-summary-breakdown-label,
.gk-summary-breakdown-value,
.gk-summary-total-label,
.gk-summary-total-value,
.gk-summary-chip,
.gk-summary-note-text,
.gk-summary-address-value,
.gk-payment-note,
.gk-checkout-confidence-card strong,
.gk-checkout-confidence-card span,
.gk-terms-label span,
.gk-status,
.gk-address-status,
.gk-price-line span {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* ===== CRITICAL: No zoom on mobile inputs ===== */
@media (max-width: 768px) {
  .gk-booking input,
  .gk-booking select,
  .gk-booking textarea,
  .gk-customer-auth input,
  .gk-customer-auth select,
  .gk-customer-auth textarea,
  .gk-customer-account input,
  .gk-customer-account select,
  .gk-customer-account textarea,
  .gk-auth-modal input,
  .gk-auth-modal select,
  .gk-auth-modal textarea {
    font-size: 16px !important;
  }
}

/* ===== Language Switcher ===== */
.gk-public-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.gk-public-topbar--booking {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.gk-public-topbar--account {
  margin-bottom: -2px;
}

.gk-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10;
  padding: 4px;
  border-radius: var(--gk-radius-full);
  border: 1px solid var(--gk-border);
  background: var(--gk-dark);
  box-shadow: var(--gk-shadow-sm);
}

.gk-language-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8px;
  min-height: 6px;
  padding: 0 4px;
  border-radius: var(--gk-radius-full);
  color: var(--gk-muted);
  font-size: 5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--gk-trans);
}

.gk-language-switcher__link:hover {
  color: var(--gk-primary);
  background: var(--gk-light);
}

.gk-language-switcher__link.is-active {
  color: #ffffff;
  background: var(--gk-dark);
}

/* ===== Booking Form Layout ===== */
.gk-booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--gk-gap-lg);
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding-bottom: 3rem;
  overflow: visible;
}

/* Checkout return state */
.gk-booking.gk-booking--checkout-return {
  position: relative;
  min-height: 320px;
}

.gk-booking.gk-booking--checkout-return .gk-progress,
.gk-booking.gk-booking--checkout-return .gk-steps,
.gk-booking.gk-booking--checkout-return .gk-sidebar {
  visibility: hidden;
}

/* Returning checkout overlay */
.gk-returning-checkout {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background: rgba(248, 250, 252, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.gk-returning-checkout[hidden] {
  display: none;
}

.gk-returning-checkout-brand {
  margin: 0;
  font-size: clamp(32px, 8vw, 56px);
  line-height: 1;
  letter-spacing: 0.15em;
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--gk-subtle) 0%,
    var(--gk-subtle) 34%,
    var(--gk-brand) 49%,
    var(--gk-subtle) 64%,
    var(--gk-subtle) 100%
  );
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gk-loader-sweep 1.35s linear infinite;
}

.gk-returning-checkout-bar {
  display: block;
  width: min(320px, 70vw);
  height: 6px;
  border-radius: var(--gk-radius-full);
  background: var(--gk-border);
  overflow: hidden;
}

.gk-returning-checkout-bar > span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gk-subtle) 0%, var(--gk-brand) 50%, var(--gk-subtle) 100%);
  background-size: 170% 100%;
  animation: gk-loader-bar 1.1s ease-in-out infinite;
}

.gk-returning-checkout-text {
  margin: 0;
  color: var(--gk-primary-soft);
  font-size: 14px;
  font-weight: 600;
}

@keyframes gk-loader-sweep {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@keyframes gk-loader-bar {
  0% { transform: translateX(-124%); }
  100% { transform: translateX(220%); }
}

/* Special booking layouts */
.booking-only-page #gk-booking,
body.gk-booking-only #gk-booking,
body.gk-blank-page #gk-booking {
  width: min(80vw, 1600px);
  max-width: min(80vw, 1600px) !important;
}

@media (max-width: 768px) {
  .booking-only-page #gk-booking,
  body.gk-booking-only #gk-booking,
  body.gk-blank-page #gk-booking {
    width: 100%;
    max-width: 100% !important;
  }
}

.booking-only-page .booking-only-shell,
body.gk-booking-only .booking-only-shell,
body.gk-blank-page .booking-only-shell {
  width: 100%;
  max-width: min(99vw, 1700px) !important;
  padding-inline: 0 !important;
}

main.booking-only-page,
body.gk-booking-only .site-main,
body.gk-blank-page .site-main,
.booking-only-page .booking-only-shell,
body.gk-booking-only .booking-only-shell,
body.gk-blank-page .booking-only-shell {
  overflow: visible !important;
}

.gk-step[data-step-id="address"],
.gk-step[data-step-id="address"] .gk-step-stack,
.gk-step[data-step-id="address"] .gk-step-panel,
.gk-step[data-step-id="address"] .gk-contact,
.gk-step[data-step-id="address"] .gk-address-simple,
.gk-step[data-step-id="address"] .gk-address-grid,
.gk-step[data-step-id="address"] .gk-contact-grid,
.gk-photo-upload,
.gk-photo-upload-control {
  min-width: 0;
}

/* Summary active state */
.gk-booking.gk-summary-active {
  grid-template-columns: minmax(0, 1fr);
  max-width: 800px;
}

.booking-only-page #gk-booking.gk-summary-active,
body.gk-booking-only #gk-booking.gk-summary-active,
body.gk-blank-page #gk-booking.gk-summary-active {
  max-width: 800px !important;
}

.gk-booking.gk-summary-active .gk-mobile-total {
  display: none !important;
}

.gk-booking.gk-summary-active .gk-sidebar {
  display: none !important;
}

/* ZIP check state */
.gk-booking.gk-zip-active {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  min-height: 100dvh;
  align-content: center;
  justify-items: center;
}

.booking-only-page #gk-booking.gk-zip-active,
body.gk-booking-only #gk-booking.gk-zip-active,
body.gk-blank-page #gk-booking.gk-zip-active {
  width: 100%;
  max-width: 640px !important;
  margin-inline: auto;
}

.gk-booking.gk-zip-active .gk-steps {
  width: min(92vw, 640px);
  max-width: 640px;
  margin: 0;
  position: static;
  top: auto;
  max-height: none;
  overflow-y: visible;
}

.gk-booking.gk-zip-active .gk-progress {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.gk-booking.gk-zip-active .gk-sidebar,
.gk-booking.gk-zip-active .gk-trust-bar {
  display: none !important;
}

.gk-booking.gk-zip-active .gk-mobile-total {
  justify-content: flex-start;
}

.gk-booking.gk-zip-active .gk-mobile-total-inline {
  display: none !important;
}

.gk-booking.gk-zip-active .gk-inline-price,
.gk-booking.gk-summary-active .gk-inline-price {
  display: none !important;
}

.gk-booking.gk-zip-active #gk-zip-check {
  width: 100%;
  max-width: 480px;
  display: block;
  margin-inline: auto;
}

.gk-booking.gk-zip-active .gk-step[data-step-id="zip"] {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.gk-booking.gk-zip-active .gk-step[data-step-id="zip"] h2 {
  justify-content: center;
  text-align: center;
}

.gk-booking.gk-zip-active .gk-step[data-step-id="zip"] .gk-contact {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.gk-booking.gk-zip-active .gk-step[data-step-id="zip"] .gk-actions {
  justify-content: center;
}

.gk-zip-home-mobile {
  display: none;
}

/* ===== Progress Bar ===== */
.gk-progress {
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 20;
  align-self: start;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 4px clamp(12px, 2vw, 20px) 2px;
  background: rgba(248, 250, 252, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 0;
  box-shadow: 0 0 0 100vmax rgba(248, 250, 252, 0.96);
  clip-path: inset(0 -100vmax -1px -100vmax);
  box-sizing: border-box;
}

.gk-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.gk-progress-step {
  font-size: 13px;
  font-weight: 600;
  color: var(--gk-muted);
  letter-spacing: 0.01em;
}

.gk-progress-title {
  display: none;
}

.gk-progress-track {
  height: 6px;
  border-radius: var(--gk-radius-full);
  background: var(--gk-brand-light);
  overflow: hidden;
}

.gk-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gk-brand);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Steps Container ===== */
.gk-steps {
  background: var(--gk-card);
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-xl);
  box-shadow: var(--gk-shadow);
  width: min(100%, 960px);
  margin-inline: auto;
  padding: 20px 24px 28px;
  min-width: 0;
  overflow-x: clip;
  position: static;
  top: auto;
  max-height: none;
  overflow-y: visible;
}

.gk-step {
  width: min(100%, 840px);
  margin-inline: auto;
  min-width: 0;
}

/* Step animations */
.gk-step.is-entering {
  animation: gk-fade-in 0.2s ease;
}

.gk-step[hidden] {
  display: none;
}

@keyframes gk-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Home Button ===== */
.gk-booking-home {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.gk-booking-home--mobile {
  display: none;
}

.gk-glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  min-height: 36px;
  padding: 4px 14px 4px 4px;
  border-radius: var(--gk-radius-full);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: var(--gk-primary);
  text-decoration: none;
  box-shadow: var(--gk-shadow-sm);
  transition: var(--gk-trans);
}

.gk-glass-btn:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.gk-glass-btn-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--gk-radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--gk-brand);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.gk-glass-btn-text {
  color: var(--gk-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== Trust Bar ===== */
.gk-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.gk-trust-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--gk-radius-full);
  background: var(--gk-light);
  color: var(--gk-primary-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.gk-trust-pill i {
  color: var(--gk-brand);
  font-size: 13px;
}

/* ===== Step Titles ===== */
.gk-step h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gk-primary);
}

.gk-step h2 i {
  color: var(--gk-brand);
  font-size: 18px;
}

.gk-step-title-badge {
  display: none;
}

.gk-step-hint {
  margin: 0 0 12px;
  color: var(--gk-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: none;
}

.gk-customize-progress {
  display: inline-block;
  margin: 0 0 12px;
  padding: 0;
  color: var(--gk-muted);
  font-size: 12px;
  font-weight: 500;
}

/* ===== Current Service Banner ===== */
.gk-current-service {
  display: block;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-light);
}

.gk-current-service-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.gk-current-service-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gk-primary);
}

.gk-current-service-change {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gk-brand);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--gk-trans-fast);
}

.gk-current-service-change:hover {
  color: var(--gk-brand-hover);
}

.gk-current-service-summary {
  font-size: 13px;
  line-height: 1.45;
  color: var(--gk-muted);
}

/* ===== Error Messages ===== */
.gk-step-error {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--gk-radius);
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.06);
  color: #b91c1c;
  font-size: 14px;
  font-weight: 500;
}

.gk-field-error {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #b91c1c;
  font-weight: 500;
}

.gk-services > .gk-field-error,
.gk-schedule-card > .gk-field-error,
.gk-photo-upload > .gk-field-error,
.gk-option-group > .gk-field-error,
.gk-quantity-group > .gk-field-error,
.gk-customize-section > .gk-field-error {
  margin: 0 0 8px;
}

/* Validation invalid states */
.gk-contact input.gk-validation-invalid,
.gk-contact select.gk-validation-invalid,
.gk-contact textarea.gk-validation-invalid,
.gk-coupon input.gk-validation-invalid,
#gk-zip-check.gk-validation-invalid {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.gk-services.gk-validation-invalid,
.gk-schedule-card.gk-validation-invalid,
.gk-photo-upload.gk-validation-invalid,
.gk-option-group.gk-validation-invalid,
.gk-quantity-group.gk-validation-invalid {
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.1);
}

/* ===== Customize Step ===== */
.gk-step-customize .gk-customize-stack {
  display: grid;
  gap: 16px;
}

.gk-recurrence-shell[hidden] {
  display: none !important;
}

.gk-step-customize .gk-recurrence-group {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-light);
}

.gk-recurrence-native[hidden] {
  display: none !important;
}

.gk-recurrence-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gk-recurrence-options .gk-option-card {
  min-height: 210px;
  padding: 28px;
  border-width: 1px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 2px solid var(--gk-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: var(--gk-trans);
}

.gk-recurrence-options .gk-option-card:hover {
  border-color: var(--gk-secondary);
  transform: translateY(-4px);
}

.gk-recurrence-options .gk-option-card.is-selected {
  border-color: var(--gk-secondary);
  background: #edf4ff;
  box-shadow: var(--gk-shadow-sm);
}

.gk-recurrence-options .gk-option-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.gk-recurrence-options .gk-option-description {
  color: rgba(15, 23, 42, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.gk-recurrence-options .gk-option-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--gk-primary);
  margin-top: auto;
}

.gk-recurrence-options .gk-option-badge {
  align-self: center;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: #0b57d0;
  padding: 6px 20px;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0.05em;
}

.gk-customize-section {
  display: grid;
  gap: 10px;
}

.gk-customize-section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-step-customize .gk-option-group,
.gk-step-customize .gk-quantity-group {
  padding: 14px;
}

/* ===== Service Cards ===== */
.gk-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gk-service-card {
  width: 100%;
  min-width: 0;
  padding: 16px;
  text-align: left;
  border: 2px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  cursor: pointer;
  transition: var(--gk-trans);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  min-height: 190px;
}

.gk-service-card-top,
.gk-service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gk-service-card:hover {
  border-color: var(--gk-brand);
  box-shadow: var(--gk-shadow);
  transform: translateY(-2px);
}

.gk-service-card.is-selected {
  border-color: var(--gk-brand);
  background: var(--gk-brand-light);
  box-shadow: var(--gk-shadow-brand);
}

.gk-service-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--gk-radius);
  background: var(--gk-brand-light);
  color: var(--gk-brand);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 16px;
}

.gk-service-card.is-selected .gk-service-icon {
  background: var(--gk-brand);
  color: #ffffff;
}

.gk-service-pill,
.gk-service-recurring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.gk-service-pill {
  background: rgba(15, 23, 42, 0.06);
  color: var(--gk-muted);
}

.gk-service-recurring {
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
}

.gk-service-name {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--gk-primary);
}

.gk-service-description {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gk-muted);
}

.gk-service-starting-at {
  font-size: 12px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-service-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--gk-muted);
}

/* ===== Options and Quantities ===== */
.gk-extras,
.gk-contact,
.gk-schedule {
  display: grid;
  gap: 12px;
}

.gk-extras {
  grid-template-columns: 1fr;
}

.gk-option-groups,
.gk-quantities {
  display: grid;
  gap: 16px;
}

.gk-option-group,
.gk-quantity-group {
  display: grid;
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-light);
}

.gk-option-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gk-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 110px;
  padding: 18px 20px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: #ffffff;
  cursor: pointer;
  transition: var(--gk-trans);
}

.gk-option-card:hover {
  border-color: var(--gk-brand);
  box-shadow: var(--gk-shadow-sm);
}

.gk-option-card.is-selected,
.gk-option-card:has(input:checked) {
  border-color: var(--gk-brand);
  background: var(--gk-brand-light);
}

.gk-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gk-option-marker {
  display: none;
}

.gk-option-label {
  flex: 1;
  font-weight: 600;
  color: var(--gk-primary);
  font-size: 14px;
}
.gk-option-price {
  align-self: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gk-brand);
  text-transform: none;
}

.gk-option-price.is-included {
  color: var(--gk-muted);
}

/* ===== Quantity Controls ===== */
.gk-quantity-group {
  gap: 10px;
}

.gk-quantity-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-quantity-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  color: var(--gk-text);
  font: inherit;
  font-size: 16px;
  transition: var(--gk-trans);
}

.gk-quantity-input:focus {
  outline: none;
  border-color: var(--gk-brand);
  box-shadow: 0 0 0 3px var(--gk-brand-light);
}

.gk-quantity-help {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gk-muted);
}

.gk-quantity-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 10px;
}

.gk-quantity-buttons.gk-quantity-buttons--cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gk-quantity-buttons.gk-quantity-buttons--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gk-quantity-buttons.gk-quantity-buttons--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gk-quantity-btn {
  min-height: 52px;
  padding: 14px 12px;
  border: 2px solid var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  color: var(--gk-primary);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gk-trans);
}

.gk-quantity-btn:hover {
  border-color: var(--gk-brand);
}

.gk-quantity-btn.is-selected {
  border-color: var(--gk-brand);
  background: var(--gk-brand);
  color: #ffffff;
}

.gk-quantity-btn--choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  font-size: 14px;
  padding-inline: 10px;
}

.gk-quantity-btn--choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gk-quantity-btn--choice:hover {
  border-color: var(--gk-brand);
}

.gk-quantity-btn--choice.is-selected,
.gk-quantity-btn--choice:has(input:checked) {
  border-color: var(--gk-brand);
  background: var(--gk-brand);
  color: #ffffff;
}

.gk-quantity-btn-text {
  display: block;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Quantity Stepper */
.gk-quantity-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 2px solid var(--gk-border);
  border-radius: var(--gk-radius);
  overflow: hidden;
  max-width: 180px;
  background: var(--gk-card);
}

.gk-stepper-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  color: var(--gk-brand);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gk-trans-fast);
  flex-shrink: 0;
  line-height: 1;
}

.gk-stepper-btn:hover:not(:disabled) {
  background: var(--gk-brand-light);
}

.gk-stepper-btn:active:not(:disabled) {
  background: var(--gk-brand-soft);
}

.gk-stepper-btn:disabled {
  color: var(--gk-border);
  cursor: default;
}

.gk-stepper-value {
  flex: 1;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--gk-primary);
  padding: 12px 8px;
  min-width: 48px;
  user-select: none;
}

/* ===== Extras (Add-ons) ===== */
.gk-extra {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  font-weight: 600;
  cursor: pointer;
  transition: var(--gk-trans);
  min-height: 52px;
}

.gk-extra:hover {
  border-color: var(--gk-brand);
}

.gk-extra:has(input:checked) {
  border-color: var(--gk-brand);
  background: var(--gk-brand-light);
}

.gk-extra input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gk-extra-marker {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gk-border);
  border-radius: 6px;
  background: var(--gk-card);
  position: relative;
  transition: var(--gk-trans-fast);
}

.gk-extra:has(input:checked) .gk-extra-marker {
  border-color: var(--gk-brand);
  background: var(--gk-brand);
}

.gk-extra:has(input:checked) .gk-extra-marker::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.gk-extra-auto-note {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--gk-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== Empty State ===== */
.gk-empty-state {
  padding: 16px 18px;
  border: 1px dashed var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-light);
  color: var(--gk-muted);
  font-size: 14px;
}

.gk-empty-state--schedule {
  grid-column: 1 / -1;
  margin: 0;
}

.gk-extras .gk-empty-state {
  grid-column: 1 / -1;
  margin: 0;
}

/* ===== Step Panels ===== */
.gk-step-stack {
  display: grid;
  gap: 16px;
}

.gk-step-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
}

.gk-step[data-step-id="address"] .gk-step-stack > *,
.gk-step[data-step-id="address"] .gk-step-panel > *,
.gk-step[data-step-id="address"] .gk-contact > *,
.gk-step[data-step-id="address"] .gk-address-grid > *,
.gk-step[data-step-id="address"] .gk-contact-grid > *,
.gk-photo-upload > *,
.gk-photo-upload-control > * {
  min-width: 0;
}

.gk-inline-price {
  display: none;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
}

.gk-inline-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gk-inline-price-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gk-primary-soft);
}

.gk-inline-price-total {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--gk-brand);
}

/* ===== Contact Grid / Form Fields ===== */
.gk-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gk-contact-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gk-contact-field--full {
  grid-column: 1 / -1;
}

.gk-contact label,
.gk-coupon label,
.gk-photo-upload > label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gk-primary);
}

.gk-contact input,
.gk-contact select,
.gk-contact textarea,
.gk-coupon input,
#gk-zip-check {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 16px;
  border: 2px solid var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  box-shadow: none;
  color: var(--gk-text);
  font: inherit;
  font-size: 16px;
  transition: var(--gk-trans);
}

.gk-contact textarea {
  min-height: 120px;
  resize: vertical;
}

.gk-password-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.gk-password-field input {
  padding-right: 48px;
}

.gk-password-field input::-ms-reveal,
.gk-password-field input::-ms-clear {
  display: none;
}

.gk-password-toggle {
  appearance: none;
  position: absolute;
  right: 12px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gk-subtle);
  cursor: pointer;
  transform: translateY(-50%);
  transition: var(--gk-trans-fast);
}

.gk-password-toggle:hover {
  color: var(--gk-primary);
}

.gk-password-toggle:focus-visible {
  outline: none;
  color: var(--gk-primary);
}

.gk-contact input::placeholder,
.gk-contact textarea::placeholder,
.gk-coupon input::placeholder,
#gk-zip-check::placeholder {
  color: var(--gk-subtle);
}

.gk-contact input:focus,
.gk-contact select:focus,
.gk-contact textarea:focus,
.gk-coupon input:focus,
#gk-zip-check:focus {
  outline: none;
}

.gk-contact input:focus-visible,
.gk-contact select:focus-visible,
.gk-contact textarea:focus-visible,
.gk-coupon input:focus-visible,
#gk-zip-check:focus-visible {
  outline: none;
}

.gk-contact input[readonly],
.gk-contact select[readonly],
.gk-contact textarea[readonly],
.gk-contact input:disabled,
.gk-contact select:disabled,
.gk-contact textarea:disabled,
.gk-coupon input:disabled,
#gk-zip-check:disabled {
  background: var(--gk-light);
  color: var(--gk-muted);
  cursor: not-allowed;
}

.gk-contact input[readonly],
.gk-contact select[readonly],
.gk-contact textarea[readonly] {
  cursor: default;
}

.gk-field-help,
.gk-address-preview-text,
.gk-inline-flow-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gk-muted);
}

/* ===== Sidebar (Price Summary) ===== */
.gk-sidebar {
  position: sticky;
  top: 56px;
  align-self: start;
  display: grid;
  gap: 10px;
  height: fit-content;
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  box-shadow: var(--gk-shadow);
  max-height: none;
  overflow: visible;
}

.gk-price-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-price-line,
.gk-price-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
}

.gk-price-line {
  line-height: 1.45;
  color: var(--gk-primary-soft);
}

.gk-price-line span:last-child,
.gk-price-total span:last-child {
  text-align: right;
  font-weight: 600;
}

.gk-price-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--gk-border);
  font-size: 18px;
  font-weight: 800;
  color: var(--gk-brand);
}

.gk-price-amount--discount {
  color: var(--gk-brand) !important;
}

/* ===== Mobile Total Bar ===== */
.gk-mobile-total {
  position: relative;
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.gk-mobile-total-inline {
  display: inline-flex;
  width: auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  box-shadow: var(--gk-shadow-sm);
}

.gk-mobile-total-toggle {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-full);
  background: var(--gk-card);
  font-weight: 600;
  color: var(--gk-primary);
  box-shadow: none;
  cursor: pointer;
  transition: var(--gk-trans);
}

.gk-mobile-total-toggle:hover {
  border-color: var(--gk-brand);
}

.gk-mobile-total-toggle.is-open {
  padding: 10px 12px;
}

.gk-mobile-total-label {
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gk-muted);
  font-weight: 700;
}

.gb-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.gk-mobile-total-toggle.is-open .gb-chevron {
  transform: rotate(180deg);
}

.gk-mobile-total-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 12;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 14px;
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  border: 1px solid var(--gk-border);
  box-shadow: none;
  transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.gk-mobile-total-panel.is-open {
  max-height: none;
  opacity: 1;
  padding: 12px 14px;
  overflow: visible;
  box-shadow: var(--gk-shadow-md);
}

.gk-mobile-total-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gk-border-light);
  font-size: 14px;
}

.gk-mobile-total-line:last-child {
  border-bottom: 0;
}

.gk-mobile-total-line-label {
  font-weight: 500;
  color: var(--gk-muted);
}

.gk-mobile-total-line-value {
  font-weight: 600;
  text-align: right;
}

.gk-mobile-total-amount,
#gk-mobile-total {
  color: var(--gk-brand);
  font-weight: 800;
  font-size: 18px;
}

.gk-mobile-total-line[data-key="total"] .gk-mobile-total-line-label,
.gk-mobile-total-line[data-key="total"] .gk-mobile-total-line-value {
  color: var(--gk-brand);
  font-weight: 700;
}

.gk-mobile-total-line--sub .gk-mobile-total-line-label {
  font-weight: 400;
}

.gk-mobile-total-line-value--multiline {
  white-space: pre-line;
}

/* ===== Schedule / Calendar ===== */
.gk-schedule-card {
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  display: grid;
}

.gk-schedule-card label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gk-primary);
  margin-bottom: 4px;
}

.gk-today-shortcut {
  display: block;
}

.gk-schedule-option-list,
.gk-time-slot-stack,
.gk-time-group-list {
  display: grid;
  gap: 10px;
}

.gk-schedule-option-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gk-schedule-option-list > .gk-calendar {
  grid-column: 1 / -1;
}

.gk-schedule-option-list--time {
  grid-template-columns: 1fr;
}

.gk-time-group-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gk-time-flex-row {
  display: grid;
  grid-template-columns: 1fr;
}

.gk-time-group-list--flat {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gk-schedule-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--gk-radius);
  background: #f8fafc;
  color: #0f172a;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: var(--gk-trans);
}

.gk-schedule-option:hover:not(:disabled):not(.is-selected) {
  border-color: var(--gk-brand);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.gk-schedule-option.is-selected {
  border-color: var(--gk-brand);
  background: #f8fafc;
  color: #0f172a;
  box-shadow: none;
}

.gk-schedule-option.is-disabled,
.gk-schedule-option:disabled {
  cursor: not-allowed;
  opacity: 1;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  font-weight: 500;
}

.gk-schedule-option-top {
  display: contents;
}

.gk-schedule-option-day {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

.gk-schedule-option-meta {
  display: none;
}

/* Today Shortcut Button */
.gk-today-shortcut-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--gk-radius);
  background: #f8fafc;
  color: var(--gk-primary);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: var(--gk-trans);
  appearance: none;
  font: inherit;
}

.gk-today-shortcut-btn:hover:not(:disabled):not(.is-selected) {
  border-color: var(--gk-brand);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.gk-today-shortcut-btn.is-selected {
  border-color: var(--gk-brand);
  background: #f8fafc;
  color: var(--gk-primary);
  box-shadow: none;
}

.gk-today-shortcut-btn.is-disabled,
.gk-today-shortcut-btn:disabled {
  cursor: not-allowed;
  border-color: var(--gk-border);
  background: var(--gk-light);
  color: var(--gk-muted);
  opacity: 1;
}

.gk-today-shortcut-copy {
  display: grid;
  gap: 4px;
}

.gk-today-shortcut-copy strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.gk-today-shortcut-copy span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--gk-muted);
}

.gk-today-shortcut-copy .gk-today-shortcut-meta {
  color: var(--gk-primary-soft);
}

.gk-today-shortcut-copy .gk-today-shortcut-fee {
  color: var(--gk-brand);
  font-weight: 600;
}

.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy strong,
.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy span,
.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy .gk-today-shortcut-meta,
.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy .gk-today-shortcut-fee {
  color: inherit;
}

.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy strong {
  color: var(--gk-primary);
}

.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy span {
  color: var(--gk-muted);
}

.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy .gk-today-shortcut-meta {
  color: var(--gk-primary-soft);
}

.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy .gk-today-shortcut-fee {
  color: var(--gk-brand);
}

.gk-today-shortcut-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 8px 10px;
  border-radius: var(--gk-radius-full);
  background: var(--gk-light);
  color: var(--gk-primary);
  font-size: 12px;
  font-weight: 600;
}

.gk-today-shortcut-btn.is-selected .gk-today-shortcut-pill {
  background: var(--gk-light);
  color: var(--gk-primary);
}

.gk-today-shortcut-btn.is-disabled .gk-today-shortcut-copy .gk-today-shortcut-fee,
.gk-today-shortcut-btn:disabled .gk-today-shortcut-copy .gk-today-shortcut-fee {
  color: var(--gk-muted);
  font-weight: 400;
}

.gk-today-shortcut-btn.is-disabled .gk-today-shortcut-pill,
.gk-today-shortcut-btn:disabled .gk-today-shortcut-pill {
  background: var(--gk-border);
  color: var(--gk-muted);
}

/* ===== Calendar ===== */
.gk-calendar {
  display: grid;
  gap: 8px;
}

.gk-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gk-calendar-month {
  font-size: 15px;
  font-weight: 700;
  color: var(--gk-primary);
  text-align: center;
}

.gk-calendar-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-sm);
  background: var(--gk-card);
  color: var(--gk-primary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: var(--gk-trans-fast);
  appearance: none;
}

.gk-calendar-nav:hover:not(:disabled) {
  border-color: var(--gk-brand);
  background: var(--gk-brand-light);
}

.gk-calendar-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gk-calendar-weekdays,
.gk-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.gk-calendar-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gk-muted);
  padding: 4px 0;
}

.gk-calendar-spacer {
  min-height: 44px;
}

.gk-calendar-day {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-height: 44px;
  padding: 6px 4px;
  border: 1px solid #cbd5e1;
  border-radius: var(--gk-radius-sm);
  background: #f8fafc;
  color: #0f172a;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: var(--gk-trans);
  appearance: none;
  font: inherit;
}

.gk-calendar-day:hover:not(:disabled):not(.is-selected) {
  border-color: var(--gk-brand);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.gk-calendar-day.is-today {
  border-color: var(--gk-brand);
  background: var(--gk-brand-light);
}

.gk-calendar-day.is-selected {
  border-color: var(--gk-brand);
  background: #f8fafc;
  color: #0f172a;
  box-shadow: none;
}

.gk-calendar-day.is-selected.is-today {
  background: var(--gk-brand-light);
}

.gk-calendar-day.is-disabled,
.gk-calendar-day:disabled {
  opacity: 1;
  cursor: not-allowed;
  border-color: var(--gk-border);
  background: var(--gk-light);
  color: var(--gk-subtle);
}

.gk-calendar-day.is-disabled .gk-calendar-day-meta,
.gk-calendar-day:disabled .gk-calendar-day-meta {
  color: var(--gk-subtle);
}

.gk-calendar-day-number {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: inherit;
}

.gk-calendar-day-meta {
  min-height: 12px;
  font-size: 9px;
  font-weight: 700;
  color: #047857;
  line-height: 1;
}

/* Calendar tooltips */
@media (hover: hover) and (pointer: fine) {
  .gk-schedule-option[data-gk-tooltip],
  .gk-calendar-day[data-gk-tooltip] {
    position: relative;
  }

  .gk-schedule-option[data-gk-tooltip]::before,
  .gk-calendar-day[data-gk-tooltip]::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--gk-primary) transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 6;
  }

  .gk-schedule-option[data-gk-tooltip]::after,
  .gk-calendar-day[data-gk-tooltip]::after {
    content: attr(data-gk-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%);
    min-width: 0;
    max-width: min(220px, calc(100vw - 32px));
    padding: 8px 12px;
    border-radius: var(--gk-radius-full);
    background: var(--gk-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
    box-shadow: var(--gk-shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 6;
  }

  .gk-calendar-day[data-gk-tooltip]::after {
    min-width: 72px;
    width: max-content;
    max-width: min(180px, calc(100vw - 32px));
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .gk-schedule-option[data-gk-tooltip]:hover::before,
  .gk-schedule-option[data-gk-tooltip]:hover::after,
  .gk-calendar-day[data-gk-tooltip]:hover::before,
  .gk-calendar-day[data-gk-tooltip]:hover::after {
    opacity: 1;
  }
}

/* ===== Inline Flow Notes ===== */
.gk-inline-flow-note {
  padding: 12px 14px;
  border-radius: var(--gk-radius);
  background: var(--gk-light);
}

.gk-inline-flow-note:empty {
  display: none;
}

.gk-inline-flow-note.is-highlight {
  background: var(--gk-brand-light);
  color: #047857;
}

.gk-inline-flow-note.is-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
}

/* ===== Address Fields ===== */
.gk-address-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gk-address-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: var(--gk-radius-full);
  background: var(--gk-brand-light);
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gk-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gk-address-advanced {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--gk-border-light);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-light);
}

.gk-address-advanced-toggle {
  appearance: none;
  justify-self: flex-start;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-full);
  background: var(--gk-card);
  color: var(--gk-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--gk-trans);
}

.gk-address-advanced-toggle:hover {
  border-color: var(--gk-brand);
  color: var(--gk-brand);
}

.gk-address-status {
  padding: 14px 16px;
  border-radius: var(--gk-radius);
  font-size: 14px;
  line-height: 1.45;
}

.gk-address-status.is-muted {
  background: var(--gk-light);
  color: var(--gk-muted);
}

.gk-address-status.is-success {
  background: var(--gk-brand-light);
  color: #047857;
}

.gk-address-status.is-error {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}

.gk-address-status.is-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

.gk-address-decision {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: var(--gk-radius);
  background: rgba(245, 158, 11, 0.08);
}

.gk-address-decision[hidden] {
  display: none !important;
}

.gk-address-decision__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
}

.gk-address-decision__message,
.gk-address-decision__notice {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #92400e;
}

.gk-address-decision__notice {
  font-size: 13px;
  color: #b45309;
}

.gk-address-decision__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gk-address-decision__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--gk-radius);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gk-trans-fast);
}

.gk-address-decision__button--primary {
  border: 0;
  background: var(--gk-brand);
  color: #ffffff;
}

.gk-address-decision__button--primary:hover {
  background: var(--gk-brand-hover);
}

.gk-address-decision__button--secondary {
  border: 1px solid rgba(146, 64, 14, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: #92400e;
}

.gk-address-decision__button--secondary:hover {
  border-color: rgba(146, 64, 14, 0.28);
  background: #ffffff;
}

.pac-container {
  z-index: 10050 !important;
  max-width: calc(100vw - 24px) !important;
  border: 1px solid var(--gk-border) !important;
  border-radius: var(--gk-radius) !important;
  background: var(--gk-card) !important;
  box-shadow: var(--gk-shadow-md) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.pac-item {
  padding: 10px 12px !important;
  border-top: 1px solid var(--gk-border-light) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.pac-item:first-child {
  border-top: 0 !important;
}

.pac-item-query {
  display: inline !important;
  padding-right: 4px !important;
  font-size: inherit !important;
  white-space: normal !important;
}

.pac-icon {
  margin-top: 2px !important;
}

@media (max-width: 768px) {
  .pac-container {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
  }

  .pac-item {
    font-size: 16px !important;
  }
}

.gk-address-status-action {
  appearance: none;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gk-brand-hover);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: var(--gk-trans-fast);
}

.gk-address-status-action:hover {
  color: var(--gk-brand);
}

.gk-place-autocomplete-host {
  width: 100%;
  height: 52px;
  min-height: 52px;
  border: 0;
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px var(--gk-border);
  overflow: visible;
  transition: var(--gk-trans);
}

.gk-place-autocomplete-host:focus-within {
  height: 52px;
  min-height: 52px;
  box-shadow: inset 0 0 0 1px transparent;
}

.gk-place-autocomplete-element {
  display: block;
  width: 100%;
  height: 52px;
  min-width: 0;
  min-height: 52px;
  border: 0 !important;
  border-radius: inherit;
  background: transparent !important;
  box-sizing: border-box;
  color: var(--gk-text);
  color-scheme: light;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

#gk-address:focus,
#gk-address:focus-visible {
  border-color: var(--gk-border);
  outline: none;
  box-shadow: none !important;
}

.gk-place-autocomplete-element:focus,
.gk-place-autocomplete-element:focus-within,
.gk-place-autocomplete-element:focus-visible {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.gk-place-autocomplete-element::part(input) {
  border: 0;
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  background: transparent;
  color: inherit;
  font: inherit;
  appearance: none;
}

.gk-place-autocomplete-element::part(input):focus,
.gk-place-autocomplete-element::part(input):focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.gk-place-autocomplete-element::part(text-field),
.gk-place-autocomplete-element::part(container),
.gk-place-autocomplete-element::part(input-field) {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  background: transparent !important;
}

.gk-place-autocomplete-element::part(prediction-list) {
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  box-shadow: var(--gk-shadow-md);
}

.gk-place-autocomplete-element::part(prediction-item) {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.gk-place-autocomplete-input--mirror {
  cursor: pointer;
}

.gk-place-autocomplete-input--mirror[readonly] {
  background: var(--gk-card);
  color: var(--gk-text);
  cursor: pointer;
}

/* ===== Action Buttons ===== */
.gk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.gk-actions > * {
  flex: 0 0 auto;
}

.gk-prev,
.gk-next,
.gk-submit,
.gk-coupon-btn,
.gk-coupon-remove,
.gk-photo-remove,
.gk-calendar-nav {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.gk-calendar-day,
.gk-schedule-option,
.gk-today-shortcut-btn {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.gk-prev,
.gk-next,
.gk-submit,
.gk-coupon-btn,
.gk-coupon-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--gk-radius);
  font-size: 15px;
  font-weight: 700;
  transition: var(--gk-trans);
}

.gk-prev {
  border: 2px solid var(--gk-border);
  background: var(--gk-card);
  color: var(--gk-primary);
}

.gk-prev:hover:not(:disabled) {
  border-color: var(--gk-primary);
  background: var(--gk-light);
}

.gk-next,
.gk-submit {
  border: 2px solid var(--gk-brand);
  background: var(--gk-brand);
  color: #ffffff;
  box-shadow: var(--gk-shadow-brand);
}

.gk-next:hover:not(:disabled),
.gk-submit:hover:not(:disabled) {
  background: var(--gk-brand-hover);
  border-color: var(--gk-brand-hover);
  transform: translateY(-1px);
}

.gk-coupon-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--gk-border);
  background: var(--gk-card);
  color: var(--gk-primary);
}

.gk-coupon-btn:hover:not(:disabled) {
  border-color: var(--gk-brand);
}

.gk-coupon-remove {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--gk-border);
  background: var(--gk-light);
  color: var(--gk-primary);
}

.gk-coupon-remove:hover:not(:disabled) {
  border-color: var(--gk-danger);
  color: var(--gk-danger);
}

/* Disabled button states */
.gk-prev:disabled,
.gk-next:disabled,
.gk-submit:disabled,
.gk-coupon-btn:disabled,
.gk-coupon-remove:disabled,
.gk-address-advanced-toggle:disabled,
.gk-calendar-nav:disabled,
.gk-today-shortcut-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== Coupon Section ===== */
.gk-coupon {
  margin: 16px 0 12px;
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-light);
  display: grid;
  gap: 12px;
}

.gk-coupon > label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-coupon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gk-coupon-row input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  font: inherit;
  font-size: 16px;
}

.gk-coupon-row input:focus {
  outline: none;
  border-color: var(--gk-brand);
  box-shadow: 0 0 0 3px var(--gk-brand-light);
}

.gk-coupon-applied {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gk-coupon-applied-meta {
  display: grid;
  gap: 6px;
}

.gk-coupon-applied-text {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #047857;
  font-weight: 700;
  line-height: 1.4;
}

.gk-coupon-applied-discount {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: var(--gk-radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.gk-coupon-message {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--gk-primary-soft);
}

.gk-coupon-message.is-success {
  color: #047857;
}

.gk-coupon-message.is-error {
  color: #b91c1c;
}

/* ===== Payment Note ===== */
.gk-payment-note {
  margin: 10px 0 8px;
  padding: 12px 14px;
  border-radius: var(--gk-radius);
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: var(--gk-brand-light);
  color: #047857;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.gk-submit-helper {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--gk-muted);
  text-align: center;
}

.gk-payment-note.is-error {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}

/* ===== Terms Checkbox ===== */
.gk-terms {
  margin: 10px 0;
  padding: 14px;
  border-radius: var(--gk-radius);
  border: 1px solid var(--gk-border);
  background: var(--gk-light);
}

.gk-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.gk-terms-label input {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  accent-color: var(--gk-brand);
  cursor: pointer;
}

.gk-terms-label a,
.gk-policy-link {
  color: var(--gk-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gk-terms-label a:hover,
.gk-policy-link:hover {
  color: var(--gk-brand-hover);
}

.gk-terms-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--gk-radius);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  font-size: 14px;
  font-weight: 500;
}

/* ===== Photo Upload ===== */
.gk-photo-upload {
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  display: grid;
  min-width: 0;
}

.gk-photo-upload-control {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

.gk-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.gk-photo-picker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 2px dashed var(--gk-border);
  border-radius: var(--gk-radius);
  background: var(--gk-light);
  color: var(--gk-primary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: var(--gk-trans);
  flex: 0 0 auto;
  max-width: 100%;
}

.gk-photo-picker:hover {
  border-color: var(--gk-brand);
  color: var(--gk-brand);
}

.gk-photo-file-name {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gk-muted);
  font-size: 14px;
  line-height: 1.4;
}

.gk-photo-file-name.has-file {
  color: var(--gk-primary);
}

.gk-photo-preview {
  position: relative;
  display: grid;
  gap: 10px;
  width: auto;
  margin-top: 12px;
  justify-content: start;
}

.gk-photo-preview[hidden] {
  display: none;
}

.gk-photo-preview-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
}

.gk-photo-preview-item {
  position: relative;
  overflow: visible;
  width: 92px;
  height: 92px;
}

.gk-photo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--gk-radius-sm);
  border: 1px solid var(--gk-border);
  background: #fff;
  object-fit: cover;
}

.gk-photo-preview-item-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gk-danger);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
  z-index: 2;
}

.gk-photo-preview-item-remove-icon {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
}

.gk-photo-preview-item-remove-icon::before,
.gk-photo-preview-item-remove-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.gk-photo-preview-item-remove-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gk-photo-preview-item-remove-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.gk-photo-preview-item-remove:hover {
  filter: brightness(0.96);
}

/* ===== Summary Section ===== */
.gk-summary {
  background: var(--gk-light);
  padding: 16px;
  border-radius: var(--gk-radius-lg);
  border: 1px solid var(--gk-border);
}

.gk-summary-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
}

.gk-summary-intro {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gk-primary);
}

.gk-summary-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gk-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.gk-summary-card--classic {
  gap: 18px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gk-summary-card--classic .gk-summary-section {
  gap: 12px;
}

.gk-summary-card--classic .gk-summary-row {
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gk-border-light);
}

.gk-summary-card--classic .gk-summary-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gk-summary-breakdown {
  display: grid;
  gap: 10px;
}

.gk-summary-breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--gk-primary);
}

.gk-summary-breakdown-label {
  color: var(--gk-muted);
}

.gk-summary-breakdown-value {
  font-weight: 600;
}

.gk-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--gk-border);
  font-size: 16px;
  font-weight: 700;
  color: var(--gk-brand);
}

.gk-summary-total-label {
  font-size: inherit;
  text-transform: none;
  letter-spacing: normal;
}

.gk-summary-total-value {
  font-size: 20px;
  line-height: 1.1;
  color: var(--gk-brand);
  font-weight: 800;
}

.gk-summary-value.gk-summary-value--discount {
  color: var(--gk-brand);
  font-weight: 700;
}

.gk-summary-label {
  min-width: 72px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gk-muted);
}

.gk-summary-value {
  flex: 1;
  text-align: right;
  font-weight: 500;
  font-size: 14px;
  color: var(--gk-primary);
}

.gk-summary-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-left: auto;
  max-width: 100%;
}

.gk-summary-intro-section .gk-summary-chips {
  justify-content: center;
  margin-left: 0;
}

.gk-summary-chip {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gk-primary);
  font-size: 14px;
  font-weight: 500;
}

.gk-summary-chip.is-empty {
  color: var(--gk-muted);
  font-style: italic;
}

.gk-summary-chip::before {
  content: "•";
  margin: 0 8px 0 4px;
  color: var(--gk-muted);
  opacity: 0.6;
}

.gk-summary-note-text,
.gk-summary-address-value {
  line-height: 1.5;
  text-align: right;
  max-width: 100%;
}

.gk-summary-note-text {
  color: var(--gk-muted);
}

.gk-summary-customer-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
}

.gk-summary-customer-name {
  font-weight: 700;
}

.gk-summary-customer-contact {
  font-size: 13px;
  color: var(--gk-muted);
}

.gk-summary-divider {
  border-top: 1px solid var(--gk-border);
  margin: 8px 0;
}

.gk-summary-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.gk-summary-datetime-col {
  display: grid;
  gap: 6px;
}

.gk-summary-datetime-col .gk-summary-label,
.gk-summary-datetime-col .gk-summary-value {
  text-align: left;
}

.gk-summary-schedule .gk-summary-label,
.gk-summary-schedule .gk-summary-value {
  text-align: left;
}

/* ===== Checkout Confidence ===== */
.gk-checkout-confidence {
  padding: 16px;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  display: grid;
  gap: 12px;
}

.gk-checkout-confidence-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-checkout-confidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gk-checkout-confidence-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: var(--gk-radius);
  background: var(--gk-light);
  border: 1px solid var(--gk-border-light);
}

.gk-checkout-confidence-card i {
  color: var(--gk-brand);
  font-size: 18px;
}

.gk-checkout-confidence-card strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-checkout-confidence-card span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gk-muted);
}

/* ===== Modal ===== */
.gk-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: gk-fade-in 0.2s ease;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.gk-modal {
  background: var(--gk-card);
  border-radius: var(--gk-radius-xl);
  box-shadow: var(--gk-shadow-lg);
  max-width: 420px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  animation: gk-slide-up 0.3s ease;
  position: relative;
  z-index: 10000;
}

body.gk-modal-open .gk-booking input:focus,
body.gk-modal-open .gk-booking input:focus-visible,
body.gk-modal-open .gk-booking textarea:focus,
body.gk-modal-open .gk-booking textarea:focus-visible,
body.gk-modal-open .gk-booking select:focus,
body.gk-modal-open .gk-booking select:focus-visible,
body.gk-modal-open #gk-address:focus,
body.gk-modal-open #gk-address:focus-visible,
body.gk-modal-open .gk-place-autocomplete-host:focus-within {
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

@keyframes gk-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gk-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gk-brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gk-brand);
}

.gk-modal h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-modal p {
  margin: 0 0 24px;
  color: var(--gk-muted);
  font-size: 15px;
  line-height: 1.5;
}

.gk-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gk-modal-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--gk-radius);
  background: rgba(16, 185, 129, 0.08);
  color: var(--gk-primary);
  font-size: 14px;
  line-height: 1.5;
}

.gk-modal-actions-stacked {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gk-modal-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 2px solid var(--gk-border);
  border-radius: var(--gk-radius);
  font-size: 16px;
  font-family: inherit;
  transition: var(--gk-trans);
}

.gk-modal-input:focus {
  outline: none;
  border-color: var(--gk-brand);
  box-shadow: 0 0 0 3px var(--gk-brand-light);
}

.gk-modal-input::placeholder {
  color: var(--gk-subtle);
}

.gk-modal-btn {
  padding: 14px 24px;
  border-radius: var(--gk-radius);
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gk-trans);
  font-family: inherit;
}

.gk-modal-btn-primary {
  background: var(--gk-brand);
  color: #ffffff;
  box-shadow: var(--gk-shadow-brand);
}

.gk-modal-btn-primary:hover {
  background: var(--gk-brand-hover);
  transform: translateY(-1px);
}

.gk-modal-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.gk-modal-btn-secondary {
  background: transparent;
  color: var(--gk-muted);
  padding: 10px 24px;
}

.gk-modal-btn-secondary:hover {
  color: var(--gk-primary);
  background: var(--gk-light);
}

.gk-modal-success {
  color: #047857;
  font-weight: 600;
  padding: 14px;
  background: var(--gk-brand-light);
  border-radius: var(--gk-radius);
  margin-bottom: 14px;
}

.gk-modal-error {
  color: var(--gk-danger);
  font-size: 13px;
  margin-top: -4px;
}

.gk-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

/* ===== Policy Modal ===== */
.gk-policy-modal {
  max-width: min(920px, 94vw);
  width: min(920px, 94vw);
  max-height: min(92vh, 840px);
  padding: 0;
  border-radius: var(--gk-radius-xl);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.gk-policy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gk-border);
  background: var(--gk-card);
}

.gk-policy-modal-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-policy-close {
  border: 1px solid var(--gk-border);
  background: var(--gk-card);
  width: 36px;
  height: 36px;
  border-radius: var(--gk-radius-sm);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--gk-primary);
  transition: var(--gk-trans-fast);
}

.gk-policy-close:hover {
  background: var(--gk-light);
  border-color: var(--gk-primary);
}

.gk-policy-modal-body {
  background: var(--gk-card);
  overflow: hidden;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 20px 20px;
}

.gk-policy-frame {
  width: 100%;
  height: 100%;
  min-height: min(68vh, 600px);
  border: 0;
  border-radius: 0 0 var(--gk-radius-lg) var(--gk-radius-lg);
  display: block;
  overscroll-behavior: contain;
}

body.gk-policy-open {
  overflow: hidden !important;
}

/* ===== Confirmation Screen ===== */
.gk-confirmation {
  min-height: 100dvh;
  padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(16, 185, 129, 0.12), transparent 50%), #f8fafc;
  box-sizing: border-box;
}

.gk-confirmation[hidden] {
  display: none !important;
}

.gk-confirmation-card {
  width: min(92vw, 480px);
  max-height: calc(100dvh - 40px);
  padding: 36px 28px;
  text-align: center;
  border-radius: var(--gk-radius-xl);
  background: var(--gk-card);
  box-shadow: var(--gk-shadow-lg);
  color: var(--gk-text);
  overflow: auto;
}

.gk-confirmation-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gk-brand-light);
  border: 3px solid var(--gk-brand);
  color: var(--gk-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.gk-confirmation h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-confirmation-subtitle {
  margin: 0 0 24px;
  color: var(--gk-brand);
  font-size: 15px;
  font-weight: 600;
}

.gk-confirmation-details {
  background: var(--gk-light);
  border-radius: var(--gk-radius);
  padding: 18px;
  margin-bottom: 20px;
  text-align: left;
}

.gk-confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gk-border);
  font-size: 14px;
}

.gk-confirmation-row:first-child {
  padding-top: 0;
}

.gk-confirmation-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gk-confirmation-row span {
  color: var(--gk-muted);
}

.gk-confirmation-row strong {
  max-width: 60%;
  color: var(--gk-primary);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.gk-confirmation-note {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: var(--gk-radius);
  background: var(--gk-brand-light);
  color: #047857;
  font-size: 13px;
  font-weight: 500;
}

.gk-confirmation-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 0;
  border-radius: var(--gk-radius);
  background: var(--gk-brand);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gk-trans);
  text-decoration: none;
}

.gk-confirmation-btn:hover {
  background: var(--gk-brand-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .gk-confirmation {
    padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
  }

  .gk-confirmation-card {
    width: min(92vw, 480px);
    max-width: 92vw;
    padding: 32px 24px;
    max-height: calc(100dvh - 40px);
  }
}

@media (min-width: 1025px) {
  .gk-confirmation-card {
    width: min(82vw, 396px);
    max-height: calc(100dvh - 28px);
    padding: 24px 20px;
    overflow-y: auto;
  }

  .gk-confirmation-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    font-size: 24px;
  }

  .gk-confirmation h2 {
    margin-bottom: 6px;
    font-size: 22px;
  }

  .gk-confirmation-subtitle {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .gk-confirmation-details {
    padding: 14px;
    margin-bottom: 14px;
  }

  .gk-confirmation-row {
    padding: 7px 0;
    font-size: 12px;
  }

  .gk-confirmation-note {
    margin-bottom: 14px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .gk-confirmation-btn {
    padding: 11px 24px;
    font-size: 13px;
  }
}

/* ===== Status Messages ===== */
.gk-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--gk-radius);
  font-size: 14px;
  line-height: 1.45;
}

.gk-status.is-muted {
  background: var(--gk-light);
  color: var(--gk-muted);
}

.gk-status.is-success {
  background: var(--gk-brand-light);
  color: #047857;
}

.gk-status.is-error {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}

/* ===== Account Prefill Note ===== */
.gk-account-prefill-note {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--gk-radius);
  background: var(--gk-brand-light);
}

.gk-account-prefill-note strong {
  font-size: 14px;
  font-weight: 700;
  color: #047857;
}

.gk-account-prefill-note span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--gk-muted);
}

/* ============================================
   CUSTOMER AUTH PAGES
   ============================================ */

.gk-customer-auth {
  display: grid;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.gk-customer-auth__hero,
.gk-customer-auth__card {
  padding: 24px;
  border-radius: var(--gk-radius-xl);
  border: 1px solid var(--gk-border);
  background: var(--gk-card);
  box-shadow: var(--gk-shadow);
}

.gk-customer-auth__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.gk-customer-auth__hero h2,
.gk-customer-auth__card h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gk-primary);
}

.gk-customer-auth__card h3 {
  font-size: 20px;
}

.gk-customer-auth__hero p,
.gk-customer-auth__intro p {
  margin: 0;
  color: var(--gk-muted);
  font-size: 15px;
  line-height: 1.55;
}

.gk-customer-auth__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.gk-customer-auth__hero-copy,
.gk-customer-auth__intro {
  display: grid;
  gap: 10px;
}

.gk-customer-auth__card {
  display: grid;
  gap: 16px;
}

.gk-customer-auth__card--hub {
  gap: 20px;
  border-radius: var(--gk-radius-xl);
  background: var(--gk-card);
  box-shadow: var(--gk-shadow-md);
  position: relative;
  overflow: hidden;
}

.gk-customer-auth__hero::before,
.gk-customer-auth__card--hub::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 200px;
  height: 200px;
  border-radius: var(--gk-radius-full);
  background: radial-gradient(circle, var(--gk-brand-soft) 0%, transparent 70%);
  pointer-events: none;
}

/* Auth Eyebrow */
.gk-auth-eyebrow,
.gk-auth-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: var(--gk-radius-full);
  background: var(--gk-brand-light);
  color: #047857;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Auth Methods */
.gk-auth-methods {
  display: grid;
  gap: 14px;
  width: min(100%, 600px);
  --gk-auth-method-height: 64px;
}

.gk-auth-method {
  display: grid;
  gap: 8px;
}

.gk-auth-method__surface,
.gk-auth-method__button {
  width: 100%;
  display: grid;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  box-shadow: var(--gk-shadow-sm);
  min-height: var(--gk-auth-method-height);
}

.gk-auth-method__surface {
  padding: 20px;
}

.gk-auth-method__button {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 16px 20px;
  font: inherit;
  color: var(--gk-primary);
  cursor: pointer;
  transition: var(--gk-trans);
}

.gk-auth-method__button:hover,
.gk-auth-method__surface:hover {
  transform: translateY(-1px);
  border-color: var(--gk-brand);
  box-shadow: var(--gk-shadow);
}

.gk-auth-method__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--gk-radius);
  background: var(--gk-light);
  color: var(--gk-primary);
  font-size: 20px;
}

.gk-auth-method__body,
.gk-auth-method__copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.gk-auth-method__copy--standalone {
  padding: 0 4px;
}

.gk-auth-method__body strong,
.gk-auth-method__copy strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-auth-method__body span,
.gk-auth-method__copy span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gk-muted);
}

.gk-auth-method__chevron {
  color: var(--gk-muted);
  font-size: 14px;
}

/* Google/Apple auth buttons */
.gk-auth-method__google {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: var(--gk-auth-method-height);
  opacity: 0;
  overflow: hidden;
  border-radius: inherit;
}

.gk-auth-method__google > div {
  width: 100% !important;
  height: 100% !important;
  min-height: var(--gk-auth-method-height) !important;
}

.gk-auth-method__google iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: var(--gk-auth-method-height) !important;
  display: block !important;
}

.gk-auth-method--google {
  gap: 6px;
}

.gk-auth-method__button--google {
  position: relative;
  background: var(--gk-primary);
  border-color: var(--gk-primary);
}

.gk-auth-method__button--google .gk-auth-method__icon {
  background: rgba(255, 255, 255, 0.15);
}

.gk-auth-method__button--google .gk-auth-method__body strong {
  color: #ffffff;
}

.gk-auth-method__button--google .gk-google-mark {
  width: 20px;
  height: 20px;
  display: block;
}

.gk-auth-method__button--google .gk-auth-method__chevron {
  display: none;
}

.gk-auth-method--apple .gk-auth-method__button {
  background: var(--gk-primary);
  border-color: var(--gk-primary);
}

.gk-auth-method--apple .gk-auth-method__icon,
.gk-auth-method--apple .gk-auth-method__body strong,
.gk-auth-method--apple .gk-auth-method__body span,
.gk-auth-method--apple .gk-auth-method__chevron {
  color: #ffffff;
}

.gk-auth-method--apple .gk-auth-method__icon {
  background: rgba(255, 255, 255, 0.15);
}

/* Auth Divider */
.gk-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gk-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gk-auth-divider::before,
.gk-auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--gk-border);
}

/* Auth Pill */
.gk-auth-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: var(--gk-radius);
  background: var(--gk-light);
  color: var(--gk-primary);
  font-size: 14px;
  font-weight: 600;
}

/* Auth Modal */
.gk-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: grid;
  place-items: center;
  padding: 20px;
}

.gk-auth-modal[hidden] {
  display: none;
}

.gk-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.gk-auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--gk-radius-xl);
  background: var(--gk-card);
  border: 1px solid var(--gk-border);
  box-shadow: var(--gk-shadow-lg);
}

.gk-auth-modal__close,
.gk-auth-modal__back {
  appearance: none;
  border: 1px solid var(--gk-border);
  background: var(--gk-card);
  color: var(--gk-primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: var(--gk-trans-fast);
}

.gk-auth-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: var(--gk-radius-full);
  font-size: 13px;
  z-index: 2;
}

.gk-auth-modal__close-icon {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}

.gk-auth-modal__close-icon::before,
.gk-auth-modal__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.gk-auth-modal__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gk-auth-modal__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.gk-auth-modal__back {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--gk-radius-full);
  font-size: 13px;
}

.gk-auth-modal__close:hover,
.gk-auth-modal__back:hover {
  background: var(--gk-light);
  border-color: var(--gk-primary);
}

.gk-auth-modal__header {
  display: grid;
  gap: 10px;
  padding-right: 44px;
}

.gk-auth-modal__header h4 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gk-primary);
}

.gk-auth-modal__header p {
  margin: 0;
  color: var(--gk-muted);
  font-size: 15px;
  line-height: 1.55;
}

.gk-auth-panel {
  display: grid;
  gap: 16px;
}

.gk-auth-panel[hidden] {
  display: none;
}

.gk-account-status--modal {
  padding: 14px 16px;
  border-radius: var(--gk-radius);
  background: var(--gk-light);
}

.gk-account-status--modal.is-muted {
  color: var(--gk-muted);
}

.gk-account-status--modal.is-success {
  background: var(--gk-brand-light);
  color: #047857;
}

.gk-account-status--modal.is-error {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}

body.gk-auth-modal-open {
  overflow: hidden;
}

/* ===== Account Links and Buttons ===== */
.gk-account-link {
  appearance: none;
  border: 1px solid var(--gk-border);
  background: var(--gk-card);
  color: var(--gk-primary);
  border-radius: var(--gk-radius-full);
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--gk-trans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
}

.gk-account-link:hover {
  border-color: var(--gk-brand);
  transform: translateY(-1px);
}

.gk-account-link.is-current {
  border-color: var(--gk-brand);
  background: var(--gk-brand-light);
  color: #047857;
}

.gk-account-link--text {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: var(--gk-brand);
}

.gk-account-link--text:hover {
  color: var(--gk-brand-hover);
  transform: none;
  text-decoration: underline;
}

.gk-account-action {
  appearance: none;
  border: 0;
  border-radius: var(--gk-radius);
  background: var(--gk-brand);
  color: #ffffff;
  min-height: 48px;
  padding: 0 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gk-trans);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
}

.gk-account-action:hover {
  background: var(--gk-brand-hover);
  transform: translateY(-1px);
}

.gk-account-action--link {
  text-decoration: none;
}

.gk-account-action.is-current {
  box-shadow: var(--gk-shadow-brand);
}

.gk-account-action--wide {
  width: 100%;
  justify-content: center;
}

/* ===== Account Status Messages ===== */
.gk-account-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.gk-account-status.is-muted {
  color: var(--gk-muted);
}

.gk-account-status.is-success {
  color: #047857;
}

.gk-account-status.is-error {
  color: #b91c1c;
}

/* ===== Account Form Actions ===== */
.gk-account-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ============================================
   CUSTOMER ACCOUNT PAGES
   ============================================ */

.gk-customer-account {
  display: grid;
  gap: 24px;
}

.gk-customer-account--dashboard {
  max-width: 1200px;
  margin: 0 auto;
}

/* Account Hero */
.gk-customer-account__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--gk-radius-xl);
  border: 1px solid var(--gk-border);
  background: var(--gk-card);
  box-shadow: var(--gk-shadow);
}

.gk-customer-account__hero--dashboard {
  background: linear-gradient(135deg, var(--gk-card) 0%, var(--gk-light) 100%);
}

.gk-customer-account__hero-main {
  display: grid;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}

.gk-customer-account__identity {
  flex-shrink: 0;
}

.gk-customer-account__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: var(--gk-radius-full);
  background: var(--gk-brand-light);
  color: #047857;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gk-customer-account__hero h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gk-primary);
}

.gk-customer-account__hero p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gk-muted);
}

.gk-customer-account__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Account Identity */
.gk-customer-account__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--gk-radius-lg);
  background: var(--gk-light);
  border: 1px solid var(--gk-border-light);
}

.gk-customer-account__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--gk-radius-full);
  background: var(--gk-brand);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.gk-customer-account__identity-copy {
  display: grid;
  gap: 4px;
}

.gk-customer-account__identity-copy strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-customer-account__identity-copy span {
  font-size: 13px;
  color: var(--gk-muted);
}

/* Account Tabs */
.gk-customer-account__subnav {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: var(--gk-radius-lg);
  background: var(--gk-light);
  border: 1px solid var(--gk-border);
}

.gk-customer-account__subnav-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--gk-muted);
  border-radius: var(--gk-radius);
  padding: 12px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--gk-trans);
}

.gk-customer-account__subnav-button:hover {
  background: var(--gk-card);
  color: var(--gk-primary);
}

.gk-customer-account__subnav-button.is-active {
  background: var(--gk-card);
  color: var(--gk-brand);
  box-shadow: var(--gk-shadow-sm);
}

/* Tab Panels */
.gk-customer-account__tab-panel[hidden] {
  display: none;
}

.gk-customer-account__tab-panels {
  display: grid;
  gap: 24px;
}

/* Account Stats */
.gk-customer-account__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.gk-customer-account__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  border: 1px solid var(--gk-border);
  box-shadow: var(--gk-shadow-sm);
}

.gk-customer-account__stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--gk-radius);
  background: var(--gk-brand-light);
  color: var(--gk-brand);
  font-size: 20px;
}

.gk-customer-account__stat-copy {
  display: grid;
  gap: 4px;
}

.gk-customer-account__stat-copy strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--gk-primary);
}

.gk-customer-account__stat-copy span {
  font-size: 13px;
  color: var(--gk-muted);
}

/* Account Shell Layout */
.gk-customer-account__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.gk-customer-account__shell--compact {
  grid-template-columns: 3fr 2fr !important;
  align-items: start;
}

.gk-customer-account__favorite .gk-account-link {
  justify-self: start;
}

.gk-customer-account__main {
  display: grid;
  gap: 20px;
}

.gk-customer-account__side {
  display: grid;
  gap: 20px;
  align-content: start;
}

/* Customer Panels */
.gk-customer-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  border: 1px solid var(--gk-border);
  box-shadow: var(--gk-shadow-sm);
}

.gk-customer-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.gk-customer-panel__head > div {
  display: grid;
  gap: 6px;
}

.gk-customer-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.14);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gk-brand);
}

.gk-customer-panel__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gk-primary);
}

.gk-customer-panel__hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Spotlight */
.gk-customer-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.85fr);
  align-items: stretch;
  gap: 22px;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.gk-customer-spotlight__main {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.gk-customer-spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gk-customer-spotlight__main h4 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gk-primary);
}

.gk-customer-spotlight__schedule {
  display: grid;
  gap: 4px;
  padding-top: 6px;
}

.gk-customer-spotlight__schedule span {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gk-muted);
}

.gk-customer-spotlight__schedule strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: #334155;
}

.gk-customer-spotlight__side {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.gk-customer-spotlight__metric {
  display: grid;
  gap: 6px;
}

.gk-customer-spotlight__metric span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gk-muted);
}

.gk-customer-spotlight__metric strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gk-primary);
  word-break: break-word;
}

.gk-customer-spotlight__metric--total {
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.gk-customer-spotlight__metric--total strong {
  color: var(--gk-brand);
}

.gk-customer-spotlight--empty {
  background: var(--gk-light);
  border-color: var(--gk-border);
}

.gk-customer-spotlight__side .gk-account-action {
  color: #fff !important;
}

/* Status Pills */
.gk-account-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: var(--gk-radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.gk-account-status-pill--success {
  background: var(--gk-brand-light);
  border-color: rgba(16, 185, 129, 0.2);
  color: #047857;
}

.gk-account-status-pill--warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #b45309;
}

.gk-account-status-pill--error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

.gk-account-status-pill--muted {
  background: var(--gk-light);
  border-color: var(--gk-border);
  color: var(--gk-muted);
}

/* Account Favorite */
.gk-customer-account__favorite {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--gk-radius);
  background: var(--gk-light);
}

.gk-customer-account__favorite strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-customer-account__favorite span {
  font-size: 13px;
  color: var(--gk-muted);
}

/* Account Notes */
.gk-customer-account__notes {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.gk-customer-account__notes li {
  font-size: 14px;
  color: var(--gk-muted);
  line-height: 1.5;
}

/* Empty State */
.gk-customer-account__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 24px;
}

.gk-customer-account__empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--gk-radius-full);
  background: var(--gk-light);
  color: var(--gk-muted);
  font-size: 28px;
}

.gk-customer-account__empty-state h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-customer-account__empty-state p {
  margin: 0;
  font-size: 14px;
  color: var(--gk-muted);
  line-height: 1.5;
}

/* Booking Groups */
.gk-customer-booking-group {
  display: grid;
  gap: 14px;
}

.gk-customer-booking-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gk-border);
}

.gk-customer-booking-group__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-customer-booking-group__count {
  font-size: 13px;
  color: var(--gk-muted);
}

.gk-customer-booking-group__list {
  display: grid;
  gap: 12px;
}

/* Booking Cards */
.gk-customer-booking-card {
  border: 1px solid var(--gk-border);
  border-radius: var(--gk-radius-lg);
  background: var(--gk-card);
  overflow: hidden;
}

.gk-customer-booking-card--upcoming {
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(180deg, var(--gk-brand-light) 0%, var(--gk-card) 100%);
}

.gk-customer-booking-card__summary {
  display: grid;
  gap: 10px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.gk-customer-booking-card__summary::-webkit-details-marker {
  display: none;
}

.gk-customer-booking-card__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.gk-account-booking-head {
  display: grid;
  gap: 4px;
}

.gk-account-booking-head strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-account-booking-head span {
  font-size: 13px;
  color: var(--gk-muted);
}

.gk-account-booking-total {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.gk-account-booking-total strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--gk-brand);
}

.gk-account-booking-total i {
  font-size: 12px;
  color: var(--gk-muted);
  transition: transform 0.2s ease;
}

.gk-customer-booking-card[open] .gk-account-booking-total i {
  transform: rotate(180deg);
}

.gk-account-booking-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gk-account-booking-meta > span:first-child {
  font-size: 13px;
  color: var(--gk-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gk-account-booking-meta > span:first-child i {
  color: var(--gk-brand);
}

/* Booking Card Body */
.gk-customer-booking-card__body {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
  border-top: 1px solid var(--gk-border);
  padding-top: 18px;
}

.gk-customer-booking-card__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gk-customer-booking-card__grid > div {
  display: grid;
  gap: 4px;
}

.gk-customer-booking-card__grid strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--gk-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gk-customer-booking-card__grid p {
  margin: 0;
  font-size: 14px;
  color: var(--gk-primary);
}

.gk-customer-booking-card__list {
  display: grid;
  gap: 8px;
}

.gk-customer-booking-card__list > strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--gk-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gk-customer-booking-card__list ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.gk-customer-booking-card__list li {
  font-size: 14px;
  color: var(--gk-primary);
}

.gk-customer-booking-card__list > p {
  margin: 0;
  font-size: 14px;
  color: var(--gk-primary);
}

.gk-customer-booking-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

/* Profile Form */
.gk-customer-account__profile-form,
.gk-customer-account__password-form {
  display: grid;
  gap: 14px;
}

.gk-customer-account__form-copy {
  margin: 0;
  font-size: 14px;
  color: var(--gk-muted);
  line-height: 1.5;
}

.gk-customer-account__profile-stack {
  display: grid;
  gap: 10px;
}

.gk-customer-account__profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--gk-radius);
  background: var(--gk-light);
}

.gk-customer-account__profile-row span {
  font-size: 13px;
  color: var(--gk-muted);
}

.gk-customer-account__profile-row strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--gk-primary);
}

.gk-customer-account__profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}

.gk-customer-account__profile-status,
.gk-customer-account__address-status {
  padding: 10px 14px;
  border-radius: var(--gk-radius);
  font-size: 13px;
}

.gk-customer-account__address-lock {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--gk-radius);
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  font-size: 13px;
  line-height: 1.45;
}

/* Guest View */
.gk-customer-account__guest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px;
  border-radius: var(--gk-radius-xl);
  background: var(--gk-card);
  border: 1px solid var(--gk-border);
  box-shadow: var(--gk-shadow);
}

.gk-customer-account__guest-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.gk-customer-account__guest-copy h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gk-primary);
}

.gk-customer-account__guest-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gk-muted);
}

.gk-customer-account__guest-perks {
  display: grid;
  gap: 14px;
}

.gk-customer-account__guest-perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--gk-radius-lg);
  background: var(--gk-light);
}

.gk-customer-account__guest-perk i {
  font-size: 24px;
  color: var(--gk-brand);
  margin-top: 2px;
}

.gk-customer-account__guest-perk > div {
  display: grid;
  gap: 4px;
}

.gk-customer-account__guest-perk strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-customer-account__guest-perk span {
  font-size: 13px;
  color: var(--gk-muted);
  line-height: 1.45;
}

/* ===== Google Identity Styles ===== */
.gk-google-identity {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--gk-border-light);
  border-radius: var(--gk-radius);
  background: var(--gk-light);
}

.gk-google-identity-copy {
  display: grid;
  gap: 6px;
}

.gk-google-identity-copy strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-google-identity-copy span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--gk-muted);
}

.gk-google-identity-button {
  min-height: 44px;
}

.gk-google-identity-button > div {
  width: 100% !important;
}

.gk-google-identity-status,
.gk-apple-identity-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.gk-google-identity-status.is-muted,
.gk-apple-identity-status.is-muted {
  color: var(--gk-muted);
}

.gk-google-identity-status.is-success,
.gk-apple-identity-status.is-success {
  color: #047857;
}

.gk-google-identity-status.is-error,
.gk-apple-identity-status.is-error {
  color: #b91c1c;
}

/* Apple Identity */
.gk-apple-identity {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--gk-border-light);
  border-radius: var(--gk-radius);
  background: var(--gk-light);
}

.gk-apple-identity-copy {
  display: grid;
  gap: 6px;
}

.gk-apple-identity-copy strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--gk-primary);
}

.gk-apple-identity-copy span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--gk-muted);
}

.gk-apple-identity-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: var(--gk-radius);
  background: var(--gk-primary);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gk-trans);
}

.gk-apple-identity-button:hover {
  background: var(--gk-primary-soft);
  transform: translateY(-1px);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gk-booking {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: 100%;
    padding-bottom: 24px;
  }

  .gk-progress {
    position: sticky;
    top: 0;
    padding-top: 0;
  }

  .gk-progress-meta {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .gk-steps {
    width: 100%;
    padding: 16px 16px 20px;
    position: static;
    top: auto;
    max-height: none;
    overflow-x: clip;
    overflow-y: visible;
  }

  .gk-step {
    width: 100%;
  }

  .booking-only-page #gk-booking,
  body.gk-booking-only #gk-booking,
  body.gk-blank-page #gk-booking,
  .booking-only-page .booking-only-shell,
  body.gk-booking-only .booking-only-shell,
  body.gk-blank-page .booking-only-shell,
  .gk-step[data-step-id="address"],
  .gk-step[data-step-id="address"] .gk-step-stack,
  .gk-step[data-step-id="address"] .gk-step-panel,
  .gk-step[data-step-id="address"] .gk-contact,
  .gk-step[data-step-id="address"] .gk-address-simple,
  .gk-step[data-step-id="address"] .gk-address-grid,
  .gk-step[data-step-id="address"] .gk-contact-grid,
  .gk-photo-upload,
  .gk-photo-upload-control {
    width: 100%;
    max-width: 100%;
  }

  .gk-sidebar {
    display: none;
  }

  .gk-mobile-total {
    display: flex;
  }

  .gk-booking-home {
    margin-bottom: 0;
  }

  .gk-booking-home--desktop {
    display: none;
  }

  .gk-booking-home--mobile {
    display: flex;
  }

  .gk-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gk-trust-pill {
    width: 100%;
  }

  .gk-photo-upload-control {
    align-items: stretch;
  }

  .gk-photo-picker,
  .gk-photo-file-name {
    width: 100%;
  }

  .gk-photo-preview {
    width: 100%;
  }

  .gk-photo-preview-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .gk-photo-preview-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .gk-contact-grid--two,
  .gk-address-grid,
  .gk-time-group-list--flat,
  .gk-checkout-confidence-grid {
    grid-template-columns: 1fr;
  }

  .gk-option-list {
    grid-template-columns: 1fr;
  }

  .gk-actions {
    justify-content: stretch;
    align-items: stretch;
  }

  .gk-prev,
  .gk-next,
  .gk-submit {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }

  .gk-actions > .gk-next:only-child,
  .gk-actions > .gk-submit:only-child {
    width: 100%;
    flex: 1 1 100%;
  }

  .gk-coupon-btn,
  .gk-coupon-remove {
    width: 100%;
  }

  .gk-coupon-row {
    flex-direction: column;
  }

  .gk-summary-row,
  .gk-summary-total-row,
  .gk-coupon-applied {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .gk-address-decision__actions {
    flex-direction: column;
  }

  .gk-address-decision__button {
    width: 100%;
  }

  .gk-summary-value,
  .gk-summary-total-value {
    text-align: left;
  }

  .gk-summary-note-text,
  .gk-summary-address-value {
    text-align: left;
  }

  .gk-schedule-option-list,
  .gk-schedule-option-list--time {
    grid-template-columns: 1fr;
  }

  .gk-time-group-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gk-calendar-weekdays,
  .gk-calendar-grid {
    gap: 6px;
  }

  .gk-calendar-day,
  .gk-calendar-spacer {
    min-height: 52px;
  }

  .gk-calendar-day {
    padding: 6px 4px;
  }

  .gk-calendar-day-number {
    font-size: 15px;
  }

  .gk-policy-modal {
    width: min(96vw, 96vw);
    max-height: 92vh;
  }

  .gk-policy-frame {
    min-height: 60vh;
  }

  .gk-sidebar {
    position: static;
  }

  /* Auth responsive */
  .gk-customer-auth__hero,
  .gk-customer-auth__actions,
  .gk-account-form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .gk-customer-auth__hero,
  .gk-customer-auth__card {
    padding: 20px;
  }

  .gk-auth-methods {
    --gk-auth-method-height: 60px;
  }

  .gk-auth-method__button {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px 16px;
  }

  .gk-auth-method__chevron {
    display: none;
  }

  .gk-auth-modal {
    padding: 12px;
  }

  .gk-auth-modal__dialog {
    width: 100%;
    padding: 24px 20px 20px;
    border-radius: var(--gk-radius-xl);
  }

  .gk-auth-modal__close {
    top: 16px;
    right: 16px;
    min-height: 36px;
    padding: 0 12px;
  }

  .gk-auth-modal__header h4 {
    font-size: 22px;
  }

  /* Account responsive */
  .gk-customer-account__shell {
    grid-template-columns: 1fr;
  }

  .gk-customer-account__shell--compact {
    grid-template-columns: 1fr !important;
  }

  .gk-customer-account__hero {
    flex-direction: column;
    padding: 20px;
  }

  .gk-customer-account__hero h2 {
    font-size: 24px;
  }

  .gk-customer-account__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gk-customer-account__stat {
    padding: 16px;
  }

  .gk-customer-panel {
    padding: 18px;
  }

  .gk-customer-booking-card__grid {
    grid-template-columns: 1fr;
  }

  .gk-customer-account__guest {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .gk-customer-account__guest-copy h3 {
    font-size: 24px;
  }

  .gk-customer-spotlight {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gk-customer-spotlight__side {
    padding: 16px;
  }

  .gk-customer-account__subnav {
    flex-direction: column;
    padding: 4px;
  }

  .gk-customer-account__subnav-button {
    width: 100%;
    text-align: center;
  }

  .gk-today-shortcut-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .gk-today-shortcut-pill {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .gk-services {
    grid-template-columns: 1fr;
  }

  .gk-mobile-total-inline,
  .gk-mobile-total-toggle,
  .gk-glass-btn {
    width: 100%;
  }

  .gk-quantity-buttons.gk-quantity-buttons--cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .gk-quantity-buttons.gk-quantity-buttons--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gk-quantity-buttons.gk-quantity-buttons--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gk-customer-account__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gk-booking:not(.gk-zip-active) {
    width: min(92vw, 640px);
    max-width: 640px;
    margin-inline: auto;
  }

  .booking-only-page #gk-booking:not(.gk-zip-active),
  body.gk-booking-only #gk-booking:not(.gk-zip-active),
  body.gk-blank-page #gk-booking:not(.gk-zip-active) {
    width: min(92vw, 640px) !important;
    max-width: 640px !important;
    margin-inline: auto !important;
  }

  .gk-booking:not(.gk-zip-active) .gk-progress {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .gk-booking:not(.gk-zip-active) .gk-steps {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }
}

/* Schedule active states */
.gk-schedule-option.is-selected,
.gk-calendar-day.is-selected,
.gk-calendar-day.is-selected.is-today,
.gk-today-shortcut-btn.is-selected {
  border-color: var(--gk-brand);
  background: var(--gk-brand);
  color: #ffffff;
  box-shadow: none;
}

.gk-schedule-option.is-selected .gk-schedule-option-day,
.gk-schedule-option.is-selected .gk-schedule-option-meta,
.gk-calendar-day.is-selected .gk-calendar-day-number,
.gk-calendar-day.is-selected .gk-calendar-day-meta,
.gk-calendar-day.is-selected.is-today .gk-calendar-day-number,
.gk-calendar-day.is-selected.is-today .gk-calendar-day-meta,
.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy strong,
.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy span,
.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy .gk-today-shortcut-meta,
.gk-today-shortcut-btn.is-selected .gk-today-shortcut-copy .gk-today-shortcut-fee {
  color: #ffffff;
}

.gk-today-shortcut-btn.is-selected .gk-today-shortcut-pill {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* Close button hit areas */
.gk-policy-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  user-select: none;
  pointer-events: auto;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.gk-price-breakdown {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
}

.gk-price-breakdown__title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.58);
}

.gk-price-breakdown__items {
  display: grid;
  gap: 6px;
}

.gk-price-breakdown__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #0f172a;
}

.gk-price-breakdown__item--discount .gk-price-breakdown__amount {
  color: #0f766e;
}

.gk-price-breakdown__label {
  color: rgba(15, 23, 42, 0.68);
}

.gk-price-breakdown__amount {
  font-weight: 600;
}

@media (max-width: 768px) {
  .gk-summary-breakdown-row,
  .gk-price-breakdown__item {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .gk-summary-breakdown-label,
  .gk-price-breakdown__label {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .gk-summary-breakdown-value,
  .gk-price-breakdown__amount {
    margin-left: auto;
  }
}


.gk-option-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gk-option-description {
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.gk-option-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: #0b57d0;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.gk-extra-group + .gk-extra-group {
  margin-top: 18px;
}

.gk-extra-group-head {
  margin-bottom: 10px;
}

.gk-extra-group-title {
  margin: 0 0 4px;
  font-size: 16px;
}

.gk-extra-group-hint {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.gk-extra-group-list {
  display: grid;
  gap: 10px;
}

.gk-service-details-options {
  margin-bottom: 18px;
  width: 100%;
  max-width: none;
  grid-column: 1 / -1;
}

.gk-service-details-card {
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
}

.gk-service-details-head {
  margin-bottom: 14px;
}

.gk-service-details-title {
  margin: 0 0 4px;
  font-size: 17px;
}

.gk-service-details-help {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.gk-service-details-group + .gk-service-details-group {
  margin-top: 14px;
}

.gk-service-details-group-title {
  margin: 0 0 8px;
  font-size: 14px;
}


@media (max-width: 980px) {
  .gk-services {
    grid-template-columns: 1fr;
  }

  .gk-service-card {
    min-height: 0;
  }
}
