/* =============================================
   Nazareth VTC — Custom Styles
   Complementary to Tailwind CSS
   ============================================= */

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Keyframe Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.45); }
  50%      { box-shadow: 0 0 24px 8px rgba(249,115,22,0); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- Hero Animations ---- */
.hero-animate {
  animation: fadeInUp 1s ease forwards;
}

.hero-animate-delay-1 {
  opacity: 0;
  animation: fadeInUp 1s ease 0.25s forwards;
}

.hero-animate-delay-2 {
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-animate-delay-3 {
  opacity: 0;
  animation: fadeInUp 1s ease 0.75s forwards;
}

/* ---- Scroll-Reveal Classes ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---- Utility Animations ---- */
.float-animation {
  animation: float 3s ease-in-out infinite;
}

.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

.spin-slow {
  animation: spinSlow 12s linear infinite;
}

/* ---- Card Hover ---- */
.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.10);
}

/* ---- Image Zoom on Hover ---- */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.6s ease;
}

.img-zoom:hover img {
  transform: scale(1.08);
}

/* ---- Product & Modal Image Fit (prevent cropping) ---- */
/* Ensure product grid cards and quick-view modal show full images without cropping */
.product-card img,
#quick-view-modal img {
  object-fit: contain;
  object-position: center;
  /* keep existing width/height from utility classes (w-full / h-full) */
}

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, #F97316 0%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section Divider ---- */
.section-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #F97316, #16A34A);
  border-radius: 2px;
}

/* ---- Hero Overlay ---- */
.hero-overlay {
  background: linear-gradient(135deg, rgba(17,24,39,0.82) 0%, rgba(17,24,39,0.35) 100%);
}

/* ---- Navigation ---- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #F97316;
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-link.active {
  color: #F97316;
}

/* ---- Mobile Menu ---- */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
  max-height: 420px;
}

/* ---- Lightbox ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

/* Ensure lightbox caption is above slider images */
#lightbox-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  max-width: calc(100% - 48px);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.2;
  z-index: 202;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Overlay captions inside gallery/achievement/graduation tiles should appear above the image (fix stacking with transforms) */
.gallery-item .absolute.inset-0,
.achievement-item .absolute.inset-0,
.graduation-item .absolute.inset-0 {
  z-index: 20;
}

/* Ensure small badges (year label) sit above overlays */
.gallery-item .absolute.top-4.left-4,
.achievement-item .absolute.top-4.left-4,
.graduation-item .absolute.top-4.left-4 {
  z-index: 120;
}

/* Graduation overlays: use a subtle black background for better readability */
.graduation-item img {
  position: relative;
  z-index: 10;
}

.graduation-item .absolute.inset-0 {
  background: linear-gradient(to top, rgba(0,0,0,0.68), rgba(0,0,0,0.38) 40%, rgba(0,0,0,0) 100%) !important;
  z-index: 100;
  transform: translateZ(0);
  pointer-events: none;
}

/* Inline slideshow captions */
#graduation-inline-slider .inline-slide {
  position: relative;
  overflow: hidden;
}

#graduation-inline-slider .inline-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inline-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 10px 14px;
  z-index: 130;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inline-slide-caption h3 { margin: 0; font-weight: 700; font-size: 1.125rem; line-height: 1.1; }
.inline-slide-caption p { margin: 0; font-size: 0.75rem; opacity: 0.9; }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: white;
  font-size: 2.25rem;
  cursor: pointer;
  z-index: 201;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: #F97316;
}

/* ---- Gallery ---- */
.filter-btn {
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn.active {
  background-color: #F97316;
  color: white;
  border-color: #F97316;
}

.gallery-item {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.gallery-item.hidden-item {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  position: absolute;
}

/* ---- Form Inputs ---- */
.form-input {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.form-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

/* ---- Stat Cards ---- */
.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(249,115,22,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.stat-card:hover::after {
  opacity: 1;
}

/* ---- Partner Cards ---- */
.partner-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* ---- Quick View Modal: fixed header/footer, scrollable middle (large screens) ---- */
@media (min-width: 1024px) {
  /* prevent the outer overlay from scrolling the page; internal panes scroll instead
     Only apply when modal is visible (not .hidden) so the `hidden` class keeps it hidden by default */
  #quick-view-modal:not(.hidden) {
    overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* constrain modal dialog height within viewport and keep overflow internal */
  #quick-view-modal .modal-dialog {
    max-height: calc(100vh - 3.5rem);
    height: calc(100vh - 3.5rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* Inner flex wrapper must fill dialog and allow children to scroll */
  #quick-view-modal .modal-inner {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  /* Ensure left/right columns are flexible and can clip content for internal scrolling */
  #quick-view-modal .modal-left,
  #quick-view-modal .modal-right {
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* Left: make main slider scrollable between header and thumbs */
  #quick-view-modal .modal-left-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #quick-view-modal .modal-left-thumbs {
    flex-shrink: 0;
  }

  /* Right: keep top section visible, allow the middle content to scroll, keep footer fixed */
  #quick-view-modal .modal-right-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #quick-view-modal .modal-right-footer {
    flex-shrink: 0;
  }

  /* Small visual tweak: subtle scrollbar styling */
  #quick-view-modal .modal-right-content::-webkit-scrollbar,
  #quick-view-modal .modal-left-main::-webkit-scrollbar {
    width: 10px;
  }
  #quick-view-modal .modal-right-content::-webkit-scrollbar-thumb,
  #quick-view-modal .modal-left-main::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.08);
    border-radius: 8px;
  }
}

/* ---- Quick View Modal: typography adjustments (scoped) ---- */
/* Reduce oversized headings and prices inside the modal for balanced readability */
#quick-view-modal {
  /* inherit global font but keep scope limited to modal */
  font-family: inherit;
  color: inherit;
}

#quick-view-modal #modal-title {
  font-size: 1.5rem; /* ~24px */
  line-height: 1.18;
  margin-bottom: 0.5rem;
}

#quick-view-modal #modal-price {
  font-size: 1.25rem; /* ~20px */
  font-weight: 700;
}

#quick-view-modal #modal-description,
#quick-view-modal .modal-right-content p,
#quick-view-modal .modal-right-content ul li {
  font-size: 0.95rem; /* slightly under 1rem for comfortable reading */
  line-height: 1.6;
  color: #4b5563; /* tailwind's gray-600 for consistency */
}

/* Ensure tab buttons inside modal don't appear oversized */
#quick-view-modal .space-y-6 .flex.items-center.gap-4 button,
#quick-view-modal .space-y-6 .flex.items-center.gap-4 button {
  font-size: 0.95rem;
}

@media (min-width: 1024px) {
  /* Slightly larger on large screens while keeping a balanced scale */
  #quick-view-modal #modal-title {
    font-size: 1.75rem; /* ~28px */
  }
  #quick-view-modal #modal-price {
    font-size: 1.5rem; /* ~24px */
  }
}

/* ---- Quick View Modal: button sizing (scoped) ---- */
#quick-view-modal .modal-right-footer button {
  padding: 0.6rem 1rem; /* reduce heavy Tailwind paddings for a balanced look */
  font-size: 0.95rem;
  min-height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
}

#quick-view-modal #modal-buy-btn {
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  min-height: 2.6rem;
}

/* Slightly adjust on larger screens for balance */
@media (min-width: 1024px) {
  #quick-view-modal .modal-right-footer button {
    padding: 0.7rem 1.25rem;
    font-size: 0.98rem;
    min-height: 2.8rem;
  }
  #quick-view-modal #modal-buy-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.02rem;
    min-height: 2.8rem;
  }
}

/* -----------------------------
   Mobile / Responsiveness Fixes
   - Prevent accidental horizontal scrolling
   - Reposition mobile "Select Category" button under the navbar
   - Improve mobile menu stacking and open behaviour
   ----------------------------- */

html, body {
  overflow-x: hidden;
}

@media (max-width: 1023px) {
  /* Place the Select Category button at the top-left corner on small screens */
  #open-filters-btn {
    top: 5rem !important; /* directly below fixed nav (h-20 = 5rem) */
    left: 0 !important; /* flush to left edge */
    right: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: 220px;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 40; /* keep below nav (z-50), quick-view (z-60), mobile menu (z-70) */
  }

  /* Ensure mobile menu is above other elements and can expand as needed */
  #mobile-menu {
    z-index: 70;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  #mobile-menu.open {
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Ensure the mobile menu button is clickable above overlays */
  #mobile-menu-btn {
    z-index: 80;
  }

  /* ---- Quick View Modal: mobile-friendly layout ---- */
  /* Ensure the modal dialog adapts to small screens and internal areas scroll while keeping header/footer visible */
  /* When modal is open on small screens, prevent the page from scrolling
     and let internal panes handle scroll. This keeps the footer visible. */
  #quick-view-modal:not(.hidden) {
    overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #quick-view-modal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 960px;
    margin: 0.75rem auto;
    max-height: calc(100vh - 3.5rem);
    border-radius: 1rem;
    /* Allow the dialog itself to scroll on mobile so the gallery and the
       mobile Buy button flow naturally without inner clipping. */
    overflow-y: auto;
    -ms-overflow-style: none; /* IE/Edge: hide scrollbar while allowing scroll */
    scrollbar-width: none; /* Firefox: hide scrollbar while allowing scroll */
  }

  #quick-view-modal .modal-inner {
    display: flex;
    flex-direction: column;
    /* Do not force a fixed inner height on mobile — let the dialog scroll */
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  #quick-view-modal .modal-left,
  #quick-view-modal .modal-right {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  /* Let content size itself and flow vertically; the dialog scrolls as a whole. */
  #quick-view-modal .modal-left-main,
  #quick-view-modal .modal-right-content {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
  }

  #quick-view-modal .modal-left-thumbs,
  #quick-view-modal .modal-right-footer {
    flex-shrink: 0;
  }

  /* On small screens we move the Buy control next to the gallery; hide
     the right-column footer to avoid duplicate controls and reset padding. */
  #quick-view-modal .modal-right-footer {
    display: none;
  }

  #quick-view-modal .modal-right-content {
    padding-bottom: 0; /* no footer to clear on mobile */
  }

  /* Keep the footer (Buy / Save buttons) always visible on small screens.
     The footer is sticky to the bottom of the dialog; content gets extra
     bottom padding so nothing is hidden beneath it while scrolling. */
  #quick-view-modal .modal-right-footer {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    z-index: 12;
    padding: 0.75rem 1rem;
    box-shadow: 0 -10px 30px rgba(2,6,23,0.06);
  }

  /* Ensure scrollable content leaves space for the sticky footer */
  #quick-view-modal .modal-right-content {
    padding-bottom: 4.25rem; /* clears footer height (approx. 68px) */
  }

  /* Make large slider images more constrained on very small screens */
  /* Prevent horizontal overflow from slider and center images so they are not cropped.
     Use contain on small screens so the full product image is visible. */
  #quick-view-modal {
    overflow-x: hidden;
  }

  #quick-view-modal .modal-left-main {
    overflow: hidden;
    display: block;
    position: relative;
  }

  #modal-slider {
    display: flex;
    width: 100%;
    overflow: visible;
  }

  #modal-slider > .min-w-full {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
  }

  #quick-view-modal .modal-left .min-w-full img,
  #quick-view-modal .modal-left img {
    max-height: 52vh;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  /* WebKit: hide scrollbars for modal/dialog scrollable areas while preserving scroll */
  #quick-view-modal .modal-dialog::-webkit-scrollbar,
  #quick-view-modal .modal-left-main::-webkit-scrollbar,
  #quick-view-modal .modal-right-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* Ensure mobile buy block doesn't overlap and has comfortable spacing */
  .modal-left-buy-mobile {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 1rem;
    background: #ffffff;
  }

  /* Off-canvas filter panel - don't override Tailwind's transform utility */
  #mobile-filters-panel {
    right: 0;
    left: auto;
    /* rely on Tailwind classes `translate-x-full` / `translate-x-0` for transform */
    z-index: 75;
  }
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 80px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #F97316, #16A34A);
  z-index: 49;
  width: 0%;
  transition: width 0.05s linear;
}

/* ---- Back to Top ---- */
#back-to-top {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F97316, #16A34A);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ea580c;
}

html.products-page {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html.products-page body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html.products-page::-webkit-scrollbar,
html.products-page body::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

/* ---- Breadcrumb ---- */
.breadcrumb a {
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #F97316;
}

/* ---- Shimmer Loading ---- */
.shimmer {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ---- Icon Circles ---- */
.icon-circle {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(249,115,22,0.25);
}

/* ---- Select Category Button (branding & accessibility) ----
   Matches primary site orange while keeping good contrast and tasteful hover/focus states
*/
#open-filters-btn {
  background-color: #F97316; /* primary orange */
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.06);
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  -webkit-appearance: none;
  appearance: none;
}

#open-filters-btn:hover {
  background-color: #EA580C; /* slightly deeper on hover */
  transform: translateY(-1px);
}

#open-filters-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(249,115,22,0.12); /* accessible focus ring */
}

#open-filters-btn:active {
  transform: translateY(0);
  background-color: #C2410C; /* subtle active state */
}

/* ---- CTA Button Shine ---- */
.btn-shine {
  position: relative;
  overflow: hidden;
}

/* ---- Lightbox Slideshow Controls ---- */
.lb-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lb-btn {
  pointer-events: all;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  padding: 12px 14px;
  border-radius: 10px;
  margin: 0 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
}

.lb-btn:hover { background: rgba(0,0,0,0.6); transform: translateY(-2px); }

.lb-thumbnails {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 6px 8px;
  pointer-events: auto;
}

.lb-thumbnails button { border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; }

.lb-thumbnails img { width: 64px; height: 48px; object-fit: cover; display: block; }

.lb-thumb-active { border-color: #F97316; box-shadow: 0 8px 20px rgba(249,115,22,0.12); }

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-shine:hover::before {
  left: 100%;
}

/* ---- Marketplace Styles ---- */
.custom-checkbox {
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 2px solid #e5e7eb;
  border-radius: 0.25em;
  display: grid;
  place-content: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.custom-checkbox::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em white;
  background-color: white;
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-checkbox:checked {
  background-color: #F97316;
  border-color: #F97316;
}

.custom-checkbox:checked::before {
  transform: scale(1);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F97316;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* ---- Print Styles ---- */
@media print {
  nav, footer, #back-to-top, .scroll-progress, #mobile-menu-btn {
    display: none !important;
  }

  body {
    padding-top: 0 !important;
  }

  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-overlay {
    background: rgba(17,24,39,0.5) !important;
  }
}
