/* Supplementary styles extracted from Webflow inline head styles */
#custom-title {
  font-weight: 500;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}
/* Offset anchor scroll targets by the fixed navbar height (5rem) + 0.5rem breathing room */
#booking_container {
  scroll-margin-top: 5.5rem;
}

/* Flatpickr brand theme moved to app/globals.css (uses #00487c dark-blue) */

/* Activity detail page: stretch left image column to the full row height so
   position:sticky on .image-gallery (already in Webflow CSS) has room to work.
   Only applies on desktop — tablet/mobile reflows to a single column. */
@media (min-width: 992px) {
  .content1_component > .collection-list-wrapper-17 {
    align-self: stretch;
  }
}

/* Cancel Webflow's bare `.hidden { display: none }` rule so Tailwind's responsive
   display utilities (md:block, md:flex, md:grid) win at their breakpoints. The
   Webflow CSS file is unlayered and ranks above @layer utilities in the cascade,
   so any element with `.hidden md:block` would stay display:none on desktop
   without this reset. */
@media (min-width: 768px) {
  .hidden.md\:block { display: block; }
  .hidden.md\:flex { display: flex; }
  .hidden.md\:grid { display: grid; }
  .hidden.md\:inline-flex { display: inline-flex; }
  .hidden.md\:inline-block { display: inline-block; }
}

/* Additional CSS variables from Webflow inline styles */
:root {
  --main-light-color: #f3f5fb;
  --main-dark-color: #321f59;
  --main-active-color: #642eff;
}

/* Phone input overrides (for react-phone-number-input) */
.PhoneInput {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.PhoneInputCountry {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.PhoneInputCountrySelect {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  outline: none;
}
.PhoneInputInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
}

/* Hero: video layer must sit above fallback image */
.header5_background-image-wrapper .hero_image {
  z-index: 0;
}
.header5_background-image-wrapper .hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.header5_background-image-wrapper .hero-video-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header5_background-image-wrapper .hero-video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Hide fallback image once video is playing (class toggled by HeroVideo) */
.header5_background-image-wrapper.hero-video-playing .hero_image {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Footer: wave as background on wrapper, subtle teal overlay only */
.div-block-15 {
  background-color: var(--primary-50);
  background-image:
    linear-gradient(180deg, rgba(0, 160, 160, 0.75) 0%, rgba(0, 160, 160, 0.95) 100%),
    url('/images/webflow/6673ed4ebdb03bdfabc2664b_footer-wave-edit.webp');
  background-size: 100% 100%, cover;
  background-position: 0 0, 50% 50%;
  background-repeat: no-repeat;
}

/* Use wrapper CSS background for wave; hide duplicate img so gradient shows */
.div-block-15 > .image-35 {
  display: none;
}

/* Footer content: transparent so wrapper wave shows through */
.footer3_component {
  background: transparent;
}

/* Cookie Settings button: override browser default to match legal link color */
.div-block-15 .footer3_legal-link,
.div-block-15 button.footer3_legal-link {
  color: var(--white);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* FAQ accordion: native details/summary — hide default marker, rotate chevron when open */
.faq2_accordion summary {
  list-style: none;
}
.faq2_accordion summary::-webkit-details-marker {
  display: none;
}
.faq2_accordion .faq2_icon-wrapper svg {
  transition: transform 0.2s ease;
  transform: rotate(-90deg);
}
.faq2_accordion[open] .faq2_icon-wrapper svg {
  transform: rotate(0deg);
}

/* Tab triggers as buttons (surf-lessons): match link appearance */
.tabs-menu button.tab_link,
.w-tab-menu button.tab_link {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* Lesson type tabs: equal width */
.tabs-menu:not(.short) > button.tab_link {
  flex: 1;
}

/* ============================================
   Webflow slider → CSS scroll-snap
   (Webflow JS not available in Next.js)
   ============================================ */
.w-slider-mask {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.w-slider-mask::-webkit-scrollbar {
  display: none;
}
.w-slide {
  display: inline-block;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Force 4:3 aspect on gallery images */
.gallery-lightbox,
.gallery-lightbox .gallery_lightbox_image,
.gallery-lightbox .gallery_image {
  aspect-ratio: 4 / 3;
  max-height: none;
}

/* Lightbox triggers: signal interactivity */
.gallery-lightbox,
.gallery_lightbox,
.lightbox-link-3 {
  cursor: zoom-in;
}

/* ============================================================
   Checkout line item system  (cl-*)
   Modern, isolated component scope. Brand: teal #00b2b2 / dark #321f59
   ============================================================ */

.cl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 8px;
}

.cl-item {
  container-type: inline-size;
  container-name: cl;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid rgba(50, 31, 89, 0.10);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(50, 31, 89, 0.03);
}

.cl-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}

.cl-item-title {
  margin: 0;
  font-family: 'Alegreya Sans', 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #321f59;
  flex: 1;
  text-transform: none;
  letter-spacing: -0.005em;
}

.cl-item-price {
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #321f59;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cl-item-meta {
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 12.5px;
  color: rgba(50, 31, 89, 0.6);
  margin: -6px 0 0;
  line-height: 1.4;
}

/* Read-only detail rows (Duration, Dimension) */
.cl-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cl-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 100%;
}

.cl-detail-label {
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(50, 31, 89, 0.65);
  flex-shrink: 0;
}

.cl-detail-value {
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #321f59;
  text-align: right;
}

/* Field rows (date, time, people, etc.) */
.cl-item-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cl-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
}

.cl-field-label {
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(50, 31, 89, 0.78);
  margin: 0;
  text-transform: none;
  flex-shrink: 0;
}

/* Standard input — used for date, time, qty fields */
.cl-input {
  height: 38px;
  width: 160px;
  padding: 0 12px;
  border: 1px solid rgba(50, 31, 89, 0.18);
  border-radius: 8px;
  background: #ffffff;
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #321f59;
  font-variant-numeric: tabular-nums;
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  box-sizing: border-box;
  text-align: right;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.cl-input:hover {
  border-color: rgba(50, 31, 89, 0.32);
}

.cl-input:focus,
.cl-input:focus-visible {
  outline: none;
  border-color: #00b2b2;
  box-shadow: 0 0 0 3px rgba(0, 178, 178, 0.15);
}

.cl-input::-webkit-outer-spin-button,
.cl-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cl-input[type='number'] {
  -moz-appearance: textfield;
}

.cl-input--inline {
  width: 80px;
  text-align: center;
  padding: 0 8px;
}

/* People input — keep native number spinners visible (with subtle styling) */
.cl-input--people {
  width: 88px;
  text-align: center;
  padding: 0 4px 0 12px;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: number-input;
}
.cl-input--people::-webkit-inner-spin-button,
.cl-input--people::-webkit-outer-spin-button {
  -webkit-appearance: inner-spin-button;
  appearance: auto;
  opacity: 1;
  height: 100%;
  margin: 0;
}

.cl-input--select {
  text-align: right;
  text-align-last: right;
  padding-right: 32px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23321f59' stroke-opacity='0.55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* DatePicker slot — wraps the entire DatePicker (input + popup) so the popup
   does NOT become a flex sibling of the input in .cl-field. The slot is the
   only flex item the parent sees, so the input never shifts on open. */
.cl-datepicker-slot {
  position: relative;
  display: block;
  width: 160px;
  flex: 0 0 auto;
}
.cl-datepicker-slot .react-datepicker-wrapper { display: block; width: 100%; }
.cl-datepicker-slot .react-datepicker__input-container { display: block; width: 100%; }
.cl-datepicker-slot .react-datepicker__input-container input.cl-input { width: 100%; }
/* Make sure the popup floats above other rows */
.cl-datepicker-slot .react-datepicker-popper { z-index: 60; }

/* ============================================================
   Participant block (surf lesson only)
   ============================================================ */

.cl-participants {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
}

.cl-section-label {
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(50, 31, 89, 0.55);
}

.cl-section-help {
  margin: 4px 0 10px;
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 12.5px;
  color: rgba(50, 31, 89, 0.7);
  line-height: 1.45;
}

.cl-participants-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cl-participant {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}

.cl-participant-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00b2b2;
  color: #ffffff;
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cl-participant-fields {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  flex-wrap: wrap;
}

.cl-mini-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  flex: 1;
}

.cl-mini-label {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin: 0;
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: rgba(50, 31, 89, 0.55);
  white-space: nowrap;
  text-transform: lowercase;
}

.cl-mini-input {
  flex: 1;
  min-width: 0;
  width: 0;
  height: 32px;
  line-height: 30px;
  padding: 0 6px;
  border: 1px solid rgba(50, 31, 89, 0.18);
  border-radius: 6px;
  background: #ffffff;
  font-family: 'Hind-hosted', Hind, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #321f59;
  text-align: center;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  transition: border-color 120ms ease, box-shadow 120ms ease;
  box-sizing: border-box;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.cl-mini-input:hover {
  border-color: rgba(50, 31, 89, 0.32);
}

.cl-mini-input:focus,
.cl-mini-input:focus-visible {
  outline: none;
  border-color: #00b2b2;
  box-shadow: 0 0 0 2px rgba(0, 178, 178, 0.18);
}

.cl-mini-input::-webkit-outer-spin-button,
.cl-mini-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cl-mini-input[type='number'] {
  -moz-appearance: textfield;
}

/* Container query: tight modal — shrink things gracefully */
@container cl (max-width: 420px) {
  .cl-input { width: 140px; }
  .cl-datepicker-slot { width: 140px; }
}

@container cl (max-width: 360px) {
  .cl-item { padding: 16px; }
  .cl-input { width: 120px; }
  .cl-datepicker-slot { width: 120px; }
  .cl-participant-fields { gap: 10px; }
  .cl-mini-input { flex: 1; min-width: 0; width: 0; }
}

/* Hide the original overlay arrows — replaced by .slider-controls below */
.w-slider > .w-slider-arrow-left,
.w-slider > .w-slider-arrow-right,
.w-slider > .w-slider-nav {
  display: none !important;
}

/* Controls row: centered beneath the slider */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0 4px;
}

/* Arrow buttons */
.slider-controls .slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--primary, #00b2b2);
  background: transparent;
  color: var(--primary, #00b2b2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.slider-controls .slider-arrow:hover {
  background: var(--primary, #00b2b2);
  color: #fff;
  transform: scale(1.08);
}
.slider-controls .slider-arrow svg {
  width: 18px;
  height: 18px;
}

/* Dot indicators */
.slider-controls .slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider-controls .slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary, #00b2b2);
  opacity: 0.2;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  padding: 0;
  cursor: pointer;
}
.slider-controls .slider-dot.is-active {
  opacity: 1;
  transform: scale(1.35);
}

/* Hide Webflow badge if any remnant */
.w-webflow-badge { display: none !important; }

/* Next.js Image component — ensure it respects Webflow sizing */
img[data-nimg] {
  max-width: 100%;
  height: auto;
}

/* Shopify product detail styles (from Webflow inline embed) */
.shopify-buy__product__actual-price {
  font-weight: 600;
  text-align: right;
}

.shopify-buy__product__price {
  margin-top: 30px;
  margin-bottom: 20px;
}

.shopify-buy__product__variant-selectors {
  margin-top: 40px;
}

.shopify-buy__product-description {
  margin-top: 40px;
}

.shopify-buy__option-select {
  margin-bottom: 20px;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
}

.shopify-buy__option-select__label {
  margin-bottom: 0;
  padding-bottom: 0;
}

.shopify-buy__option-select__select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.875rem;
  width: 100%;
}

.product-main-image-wrapper {
  width: 100%;
}

.shopify-buy__btn-wrapper {
  margin-top: 40px;
}

.shopify-buy__btn {
  width: 100%;
}

/* Card hover — image scale + shadow */
.card_image_wrapper.stretched {
  overflow: hidden;
  border-radius: var(--image-radius, 12px);
}
.card_image {
  transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}
.card_item:hover .card_image {
  transform: scale(1.06);
  opacity: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Cookie consent banner — GDPR compliant, fixed bottom */
.cookie-consent-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: 16px;
  pointer-events: none;
}
.cookie-consent-banner {
  pointer-events: auto;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 24px;
}
.cookie-consent-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--main-dark-color, #321f59);
  margin: 0 0 8px;
}
.cookie-consent-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
  margin: 0 0 16px;
}
.cookie-consent-link {
  color: var(--main-active-color, #642eff);
  text-decoration: underline;
}
.cookie-consent-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background: #f7f7fa;
  border-radius: 10px;
}
.cookie-consent-category {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8rem;
}
.cookie-consent-category-label {
  font-weight: 600;
  color: var(--main-dark-color, #321f59);
  min-width: 80px;
}
.cookie-consent-category-status.always-on {
  font-size: 0.75rem;
  color: #00b2b2;
  font-weight: 600;
}
.cookie-consent-category-desc {
  color: #777;
  font-size: 0.75rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
}
.cookie-consent-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.cookie-consent-btn:active {
  transform: scale(0.97);
}
/* GDPR: equal prominence — same size, same weight, neutral colors */
.cookie-consent-btn--decline {
  background: #e8e8ed;
  color: var(--main-dark-color, #321f59);
}
.cookie-consent-btn--decline:hover {
  background: #d8d8dd;
}
.cookie-consent-btn--accept {
  background: var(--main-dark-color, #321f59);
  color: #fff;
}
.cookie-consent-btn--accept:hover {
  background: #4a2d80;
}
/* Cookie settings button in footer — match legal link style */
button.footer3_legal-link {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
  text-decoration: inherit;
}
@media (max-width: 479px) {
  .cookie-consent-overlay {
    padding: 12px;
  }
  .cookie-consent-banner {
    padding: 18px;
  }
}

/* Floating cart button — positioned above WhatsApp button.
   z-index must exceed cookie-consent-overlay (99999) so the button
   remains tappable while the banner is still on screen. */
.floating-cart-button {
  position: fixed;
  bottom: 65px;
  right: 16px;
  z-index: 100001;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--primary, #00a0a0);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-cart-button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.floating-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent, #f2af29);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================
   Cart Drawer — slide-over panel (cd- prefix)
   ============================================ */
.cd-overlay {
  position: fixed;
  inset: 0;
  z-index: 100002;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: flex-end;
  animation: cd-fade-in 0.2s ease;
  backdrop-filter: blur(4px);
}

@keyframes cd-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cd-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cd-panel {
  width: 440px;
  max-width: 100vw;
  /* dvh accounts for mobile browser chrome (Brave/Safari/Chrome address+toolbar)
     so the footer button stays visible. Fallback to vh for older browsers. */
  height: 100vh;
  height: 100dvh;
  background: #f0f4f4;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  animation: cd-slide-in 0.25s ease;
}

/* ---- Header ---- */
.cd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: var(--primary, #00a0a0);
  flex-shrink: 0;
}

.cd-header-title {
  font-family: Alegreya Sans, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.3px;
}

.cd-header-count {
  font-weight: 400;
  opacity: 0.7;
}

.cd-header-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 4px;
  transition: color 0.15s;
}

.cd-header-close:hover {
  color: #fff;
}

/* ---- Scrollable items ---- */
.cd-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 10px;
  /* WA bubble (52px) floats 14px above footer — keep last item clear of it */
  padding-bottom: 80px;
}

/* ---- Empty state ---- */
.cd-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--primary, #00a0a0);
  opacity: 0.5;
}

.cd-empty p {
  font-family: Alegreya Sans, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 16px 0 4px;
}

.cd-empty span {
  font-size: 14px;
  line-height: 1.5;
}

/* ---- Item card ---- */
.cd-item {
  position: relative;
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0, 160, 160, 0.1);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.cd-item:last-child {
  margin-bottom: 0;
}

/* Image */
.cd-item-image-wrap {
  flex-shrink: 0;
  width: 100px;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.cd-item-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.cd-item-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0f4;
}

/* Body */
.cd-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cd-item-name {
  font-family: Alegreya Sans, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.25;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  padding-right: 32px; /* room for absolute-positioned × in top-right */
}

/* Middle: extra details for surf lessons / activities — flex-grows so footer
   pins to bottom regardless of how many lines render. */
.cd-item-meta {
  font-family: Hind-hosted, monospace, Arial, sans-serif;
  font-size: 12px;
  color: #64748b;
  line-height: 1.2;
  flex: 1;
  margin-bottom: 10px;
}

.cd-item-meta > div + div {
  margin-top: 2px;
}

/* Footer row: price (bottom-left) + qty stepper + remove × (bottom-right) */
.cd-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.cd-item-price {
  font-family: Hind-hosted, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
}

.cd-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Quantity controls */
.cd-qty-group {
  display: flex;
  align-items: center;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  overflow: hidden;
}

.cd-qty-btn {
  background: #fafafa;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 500;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cd-qty-btn:hover {
  background: #e8e8e8;
}

.cd-qty-val {
  font-family: Hind-hosted, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  min-width: 28px;
  text-align: center;
  line-height: 32px;
  border-left: 1px solid #d4d4d4;
  border-right: 1px solid #d4d4d4;
}

/* Remove × — pinned to the top-right corner of the card (all viewports). */
.cd-remove-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #94a3b8;
  padding: 4px 8px;
  transition: color 0.15s;
  z-index: 1;
}

.cd-remove-btn:hover {
  color: #ef4444;
}

/* ---- Footer ---- */
.cd-footer {
  position: relative; /* anchors .cd-wa-bubble */
  flex-shrink: 0;
  padding: 20px 24px 28px;
  /* Lift footer above iOS home indicator + Brave/Safari bottom toolbar. */
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  border-top: 2px solid var(--primary, #00a0a0);
  background: #fff;
}

/* Floating WhatsApp circle — sits just above the footer's top edge so it
   stays visible while items list scrolls, without consuming footer space. */
.cd-wa-bubble {
  position: absolute;
  right: 16px;
  bottom: calc(100% + 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s, background 0.15s;
  z-index: 5;
}

.cd-wa-bubble:hover {
  background: #1faa50;
  transform: translateY(-2px);
}

.cd-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cd-total-label {
  font-family: Alegreya Sans, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.3px;
}

.cd-total-value {
  font-family: Hind-hosted, Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary, #00a0a0);
}

.cd-cta-btn {
  display: block;
  width: 100%;
  padding: 12px 24px;
  background: var(--primary, #00a0a0);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: Alegreya Sans, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
}

.cd-cta-btn:hover {
  background: #009999;
  transform: translateY(-1px);
}

.cd-cta-btn:active {
  transform: translateY(0);
}

.cd-footer-hint {
  margin: 12px 0 0;
  text-align: center;
  font-family: Hind-hosted, Arial, sans-serif;
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  line-height: 1.2;
}

/* ---- Mobile ---- */
@media (max-width: 479px) {
  .cd-panel {
    width: 100vw;
  }

  .cd-header {
    padding: 18px 16px;
  }

  .cd-items-list {
    padding: 12px 14px 80px;
  }

  .cd-item {
    padding: 12px;
    gap: 10px;
  }

  .cd-item-image-wrap {
    width: 84px;
    height: 100px;
  }

  .cd-footer {
    padding: 14px 16px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .cd-item-name {
    font-size: 15px;
  }

  .cd-item-meta {
    font-size: 12px;
    line-height: 1.6;
  }

  .cd-item-price {
    font-size: 16px;
  }
}

/* ============================================
   Filter pill overrides — replace yellow accent with brand teal
   ============================================ */
.filter-button {
  background-color: transparent;
  border-color: rgba(0, 0, 0, 0.13);
  color: var(--gray);
}
.filter-button:hover {
  border-color: var(--primary-50);
  background-color: rgba(0, 160, 160, 0.05);
  box-shadow: none;
  color: var(--primary);
}
.filter-button.mixitup-control-active {
  border-color: var(--primary-75);
  background-color: rgba(0, 160, 160, 0.08);
  box-shadow: none;
  color: var(--primary);
  font-weight: 600;
}

/* Online shop card: add subtle lift on hover */
.card_item.rental_card {
  will-change: transform;
}
.card_item.rental_card:hover {
  transform: translateY(-4px);
}

/* Rental booking form: auto-width selects, right-aligned, no native arrow */
.shopify-buy__option-select {
  grid-template-columns: 1fr auto;
}
.shopify-buy__option-select__select,
.select-field.w-select,
.input-field.w-select {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  justify-self: end;
  text-align: right;
  text-align-last: right;
  padding: 8px 32px 8px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Equal-width cards: w-inline-block shrinks to content inside a CSS grid —
   force it to fill the full 1fr column so all cards are the same width */
.collection-list.mix .w-dyn-item {
  width: 100%;
}
.collection-list.mix .w-inline-block {
  display: block;
  width: 100%;
}

/* ============================================
   Surfboard text-link button hover animation
   Replaces Webflow IX2 interaction
   ============================================ */

/* Allow icon + text to shift right without being clipped.
   Underline uses scaleX so it never extends outside bounds — no overflow:hidden needed. */
.text-link-button .div-block-56 {
  overflow: visible;
}

/* Ensure underline sits at the bottom of the container on all breakpoints */
.div-block-58 {
  bottom: 0;
}

/* Override Webflow's translateX(-228px) with scaleX — grows from left, no overflow-clip needed */
.text-link-button .div-block-58 {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Grow underline in from the left on hover */
.text-link-button:hover .div-block-58,
.text-link-button:focus-visible .div-block-58 {
  transform: scaleX(1);
}

.button_text.text-weight-medium.large {
  line-height: 1.1;
}

/* Text label: smooth rightward shift */
.text-link-button .button_text {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-link-button:hover .button_text,
.text-link-button:focus-visible .button_text {
  transform: translateX(12px);
}

/* Surfboard icon: shift right + rotateX 3D spin */
.text-link-button .button_overlay.hidden {
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text-link-button:hover .button_overlay.hidden,
.text-link-button:focus-visible .button_overlay.hidden {
  transform: translateX(12px) perspective(120px) rotateX(360deg);
}

/* ============================================================
   Walk-in Check-in page (/check-in)
   Mobile-first QR-code booking form — ci-* namespace
   ============================================================ */

/* Page wrapper — centred, mobile-width */
.check-in-form-section {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

/* ── Tab switcher ── */
.ci-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ci-tabs {
  display: inline-flex;
  align-self: center;
  gap: 4px;
  background: #ecedf3;
  border-radius: 14px;
  padding: 5px;
  margin: 0 auto 1.75rem;
}

.ci-tab {
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b6b80;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  line-height: 1.2;
  letter-spacing: 0.005em;
}

.ci-tab:hover:not(.is-active) {
  color: #321f59;
}

.ci-tab.is-active {
  background: #00487c;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 72, 124, 0.28);
}

/* Contact fields stack by default; switch to 50/50 only on large screens. */
.ci-card .form-field-2col {
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 0.75rem;
  grid-row-gap: 0.75rem;
}

@media (min-width: 1024px) {
  .ci-card .form-field-2col {
    grid-template-columns: 1fr 1fr;
  }
}

/* Bigger, more prominent submit button in the check-in card */
.ci-card .ci-submit {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.1rem 1.5rem;
  border-radius: 18px;
  letter-spacing: 0.01em;
}

/* ── Card ── */
.ci-card {
  background: #fff;
  border-radius: 20px;
  padding: 1rem 1rem;
  box-shadow: 0 6px 32px rgba(50, 31, 89, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Reset gap on form-field-wrapper children inside card */
.ci-card .form-field-wrapper {
  margin-bottom: 0;
}

/* ── Participant section ── */
.ci-participants {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.25rem 0 1.5rem;
}

.ci-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #321f59;
  margin-bottom: 0.3rem;
}

/* Larger, friendlier participants heading */
.ci-section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #321f59;
  margin: 0 0 0.4rem;
  letter-spacing: -0.005em;
}

.ci-section-help {
  font-size: 1rem;
  color: #555;
  line-height: 1.55;
  margin: 0 0 1.4rem;
}

/* Each participant block */
.ci-participant-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid #ececec;
}

.ci-participant-block:first-of-type {
  border-top: none;
  padding-top: 4px;
}

/* Input row: [number] [age] [kg] [cm] */
.ci-participant-inputs {
  display: grid;
  grid-template-columns: 32px 1fr 1fr 1fr;
  gap: 10px;
  align-items: end;
}

.ci-participant-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #321f59;
  text-align: center;
  line-height: 1;
  padding-bottom: 14px; /* aligns the number with the input baseline */
}

/* Each input cell: small label above the input */
.ci-input-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ci-mini-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  padding-left: 2px;
}

/* The three number inputs */
.ci-field-input {
  border-radius: 10px;
  border: 1.5px solid #e2e5f0;
  background: #fff;
  color: #321f59;
  font-family: Hind-hosted, Arial, sans-serif;
  font-size: 17px; /* prevents mobile zoom + better visibility */
  line-height: 1.4;
  padding: 13px 10px;
  width: 100%;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
  transition: border-color 0.15s;
}

.ci-field-input::-webkit-inner-spin-button,
.ci-field-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ci-field-input:focus {
  outline: none;
  border-color: #00b2b2;
}

.ci-field-input::placeholder {
  color: #b8b8c2;
}

/* Footer row: vegetarian + optional remove */
.ci-participant-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 42px; /* aligns under the inputs, past the number */
  margin-top: 4px;
}

.ci-veg-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #444;
  user-select: none;
}

.ci-veg-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #00b2b2;
  flex-shrink: 0;
}

.ci-remove-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  color: #bbb;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.ci-remove-btn:hover {
  color: #e44;
  background: #fff0f0;
}

/* Add person button — outlined teal, full width */
.ci-add-btn {
  align-self: stretch;
  width: 100%;
  margin-top: 1.25rem;
  background: transparent;
  border: 2px solid #00b2b2;
  border-radius: 50px;
  color: #00b2b2;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ci-add-btn:hover {
  background: #00b2b2;
  color: #fff;
}

/* ── Info box ── */
.ci-info-box {
  background: #f3f5fb;
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.ci-info-box p {
  font-size: 0.84rem;
  color: #666;
  margin: 0.35rem 0;
  line-height: 1.5;
}

.ci-info-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #321f59;
  margin-bottom: 0.4rem;
}

.ci-info-perk {
  color: #321f59 !important;
}

.ci-info-policy {
  font-size: 0.72rem !important;
  color: #aaa !important;
  margin-top: 0.5rem !important;
}

/* ── Divider ── */
.ci-divider {
  height: 1px;
  background: #ebebeb;
  margin: 0.25rem 0;
}

/* ── Success ── */
.ci-success {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Card sits above the confetti canvas (default z-index ~100) */
.ci-success-card {
  position: relative;
  z-index: 200;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(50, 31, 89, 0.18), 0 4px 14px rgba(50, 31, 89, 0.08);
  padding: 2.5rem 1.75rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.ci-success-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.ci-success-title {
  color: #321f59;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.2;
}

.ci-success-text {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.6rem;
}

.ci-success-badge {
  display: inline-block;
  background: #00b2b2;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.ci-success-badge:hover {
  background: #009a9a;
  transform: translateY(-1px);
}

/* ── Mobile tweaks (< 400px) ── */
@media (max-width: 399px) {
  .ci-card {
    padding: 1.15rem;
  }

  .ci-field-input {
    padding: 12px 6px;
    font-size: 16px;
  }

  .ci-mini-label {
    font-size: 0.68rem;
  }

  .ci-participant-inputs {
    grid-template-columns: 26px 1fr 1fr 1fr;
    gap: 7px;
  }

  .ci-participant-num {
    font-size: 1.2rem;
    padding-bottom: 13px;
  }

  .ci-participant-footer {
    padding-left: 33px;
  }
}

/* ============================================================
   Mobile navbar — Webflow JS isn't available so the w--open
   class toggle alone doesn't reveal the menu. Override the
   data-collapse=medium display:none, place the burger on the
   right side, and animate the slide-in overlay.
   ============================================================ */
@media screen and (max-width: 991px) {
  /* Pin every direct child to row 1 so explicit grid-column on the
     burger doesn't push auto-placed siblings onto a second row. */
  .navbar3_container > .navbar3_logo-link {
    grid-column: 2;
    grid-row: 1;
  }
  .navbar3_container > .navbar3_menu-button {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0;
    margin-right: 0;
    justify-self: end;
  }

  /* Reveal the slide-in overlay when the React component
     toggles the w--open class on the menu wrapper. */
  .w-nav[data-collapse="medium"] .w-nav-menu.w--open {
    display: block !important;
  }
}

/* Navbar: always above page content; shadow/bg driven by JS scroll handler */
.navbar_component {
  z-index: 1000;
}

/* Override Webflow's non-zero defaults so the navbar starts fully transparent
   at the top of the page before JS hydration sets the correct values.
   JS (navbar.tsx) immediately applies the right values on mount. */
:root {
  --navbar-color: rgba(0, 178, 178, 0);
  --navbar-shadow: rgba(56, 58, 65, 0);
}

/* ============================================================
   Mobile horizontal snap scroll for stacked card sections
   (homepage). Desktop layouts unchanged.
   ============================================================ */
@media (max-width: 767px) {
  /* Popular activities — 2-column grid (no horizontal scroll on mobile) */
  /* Undo absolute positioning so the card wrapper collapses to content height */
  .popular_activities .div-block-75 {
    height: auto !important;
    overflow: visible !important;
  }
  .popular_activities .activitycard_wrapper.home {
    position: relative !important;
    height: auto !important;
    width: 100% !important;
  }
  /* 2-column responsive grid — no horizontal scroll */
  .popular_activities .collection-list-6 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  .popular_activities .activities_slider_link_block {
    flex: none !important;
    width: 100% !important;
    scroll-snap-align: none !important;
  }
  /* 3:2 aspect ratio for activity images */
  .popular_activities .image-12 {
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    min-height: unset !important;
  }
  /* Card itself: remove forced square and min-height */
  .popular_activities .card_item.preview_card {
    aspect-ratio: unset !important;
    min-height: unset !important;
    height: auto !important;
  }
  /* Overlay title at bottom of image (not below it) */
  .popular_activities .card_item.preview_card {
    overflow: hidden !important;
  }
  .popular_activities .card_overlay_title {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, rgba(0, 50, 80, 0.75) 0%, transparent 100%) !important;
    padding: 24px 10px 8px !important;
  }
  .popular_activities .text-block-7 {
    color: #fff !important;
    opacity: 1 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  /* Surfboard & SUP rentals — 2 cards visible per page, with gap */
  .shop_preview_section .collection-list-11 {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0.75rem !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .shop_preview_section .collection-list-11::-webkit-scrollbar {
    display: none;
  }
  .shop_preview_section .collection-list-11 > .w-dyn-item {
    flex: 0 0 calc(50% - 0.375rem);
    scroll-snap-align: start;
    min-width: 0;
  }

  /* Blog grid — 2-column responsive grid on mobile (no horizontal scroll) */
  .blog-grid.slim {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .blog-grid.slim > .blog_collection_item {
    flex: none !important;
    width: 100% !important;
    min-width: 0;
    scroll-snap-align: none !important;
  }
}

.wetsuit-size-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wetsuit-size-row__label {
  flex-shrink: 0;
  margin-bottom: 0 !important;
}
.wetsuit-size-row__select {
  flex: 1;
  min-width: 0;
}

@media (max-width: 640px) {
  .wetsuit-size-row {
    flex-direction: column;
    align-items: stretch;
  }
  .wetsuit-size-row__label {
    margin-bottom: 8px !important;
  }
  .wetsuit-size-row__select {
    width: 100%;
  }
}
