/* Custom, non-Tailwind-coverable bits: animations, glass effects, decorative textures. */

html { scroll-behavior: smooth; }

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.confetti-pattern {
  background-image: radial-gradient(circle, #ff7a29 1px, transparent 1px), radial-gradient(circle, #ffffff 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.1;
}

/* ============ Hero video ============ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,248,246,.88) 0%, rgba(255,248,246,.55) 45%, rgba(255,248,246,.92) 100%);
  z-index: 0;
}
.hero-headline {
  text-shadow: 0 2px 14px rgba(60, 40, 20, 0.18);
}
.hero-subhead {
  text-shadow: 0 1px 10px rgba(60, 40, 20, 0.14);
}

/* ============ Reveal (hero entrance) ============ */
.reveal { opacity: 0; transform: translateY(30px) scale(.94); }
.reveal.is-in { animation: bounceIn .9s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes bounceIn {
  0%   { opacity: 0; transform: translateY(30px) scale(.9); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============ Scroll reveal (sections) ============ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.34,1.2,.64,1);
}
.reveal-on-scroll.is-in { opacity: 1; transform: translateY(0); }

/* ============ Marquee ============ */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 22s linear infinite;
}
.marquee-track span { margin: 0 18px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============ wobble-on-hover: squash & stretch on category/feature cards ============ */
.wobble-on-hover { transition: transform .2s ease; }
.wobble-on-hover:hover { animation: wobble .6s ease; }
@keyframes wobble {
  0%   { transform: scale(1,1); }
  25%  { transform: scale(1.06,0.94) translateY(-4px); }
  50%  { transform: scale(0.97,1.05); }
  75%  { transform: scale(1.03,0.98); }
  100% { transform: scale(1,1); }
}

/* ============ 3D tilt cards ============ */
.tilt-wrap { perspective: 1000px; }
.tilt-card { transform-style: preserve-3d; will-change: transform; position: relative; overflow: hidden; }
.tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,.5), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  border-radius: inherit;
}
.tilt-wrap:hover .tilt-card::after { opacity: 1; }

/* ============ Particle confetti burst ============ */
.confetti-particles { position: absolute; top: 50%; left: 50%; width: 0; height: 0; pointer-events: none; }
.confetti-piece { position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 2px; opacity: 0; }

/* ============ Nav dropdown ============ */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}

/* ============ Zip check result ============ */
.zip-result.is-yes { color: #006a62; }
.zip-result.is-maybe { color: #9f4200; }

/* ============ Cart badge (nav) ============ */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #9f4200;
  color: white;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ============ Add-to-cart modal ============ */
.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37, 25, 19, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.cart-modal {
  position: relative;
  background: #fff8f6;
  border-radius: 32px;
  padding: 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.cart-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: #584237;
}
.cart-modal-icon { font-size: 2.5rem; margin-bottom: 8px; }
.cart-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.cart-modal-links a {
  background: white;
  border: 1px solid #e0c0b2;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  color: #251913;
}
.cart-modal-links a:hover { border-color: #9f4200; color: #9f4200; }
.cart-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.cart-modal-continue {
  background: transparent;
  border: none;
  font-weight: 700;
  color: #584237;
  padding: 10px;
  cursor: pointer;
}
.cart-modal-book {
  background: #ff7a29;
  color: white;
  font-weight: 700;
  padding: 14px;
  border-radius: 999px;
  text-decoration: none;
}

/* ============ Cart summary (booking section) ============ */
.cart-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.5);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: .9rem;
}
.cart-summary-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: .7;
}
.cart-summary-remove:hover { opacity: 1; }

.cart-price-breakdown {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px dashed rgba(0,0,0,.15);
}
.price-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: 3px 2px;
  opacity: .85;
}
.price-row-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1.5px solid rgba(0,0,0,.15);
  font-size: 1rem;
  font-weight: 800;
  opacity: 1;
}

/* ============ Supply kit checkbox ============ */
.supply-kit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  margin-top: 10px;
}

.mini-kit-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .62rem;
  font-weight: 600;
  color: #251913;
  opacity: .8;
  line-height: 1.1;
}
.mini-kit-row input {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* ============ Category picker (booking form quick-add) ============ */
.category-picker {
  background: #fff7f2;
  border-radius: 20px;
  padding: 14px;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.category-tab {
  background: #ffeae1;
  border: 1.5px solid transparent;
  color: #251913;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.category-tab.active {
  background: #ff7a29;
  color: white;
}
.category-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 480px) {
  .category-panel { grid-template-columns: repeat(3, 1fr); }
}
.mini-item-card {
  position: relative;
  background: white;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-item-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.mini-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.mini-item-name {
  font-size: .72rem;
  font-weight: 700;
  color: #251913;
}
.mini-item-price {
  font-size: .68rem;
  color: #ff7a29;
  font-weight: 600;
}
.mini-item-add {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ff7a29;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: transform .15s ease, background .15s ease;
}
.mini-item-add:hover {
  transform: scale(1.1);
}
.mini-item-add.flash-added {
  background: #2e7d32;
}
.mini-item-qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 2px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #ffeae1;
  color: #ff7a29;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .1s ease;
}
.qty-btn:hover {
  background: #ff7a29;
  color: white;
}
.qty-btn:active {
  transform: scale(0.9);
}
.qty-value {
  font-size: .85rem;
  font-weight: 700;
  color: #251913;
  width: 46px !important;
  height: 28px !important;
  line-height: 28px;
  padding: 0 !important;
  text-align: center;
  border: none;
  background: transparent;
  box-sizing: border-box;
  flex-shrink: 0;
  -moz-appearance: textfield;
}
.qty-value::-webkit-outer-spin-button,
.qty-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-value:focus {
  outline: 1.5px solid #ff7a29;
  border-radius: 6px;
}

/* ============ Full-size quantity stepper (rentals.html product cards) ============ */
.rentals-qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffeae1;
  border-radius: 999px;
  padding: 6px 8px;
}
.rentals-qty-stepper .qty-btn {
  width: 36px;
  height: 36px;
  background: white;
  font-size: 1.2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.rentals-qty-stepper .qty-btn:hover {
  background: #ff7a29;
  color: white;
}
.rentals-qty-stepper .qty-value {
  font-size: 1.15rem;
  width: 64px !important;
  height: 38px !important;
  line-height: 38px;
}

