

/*===================
= Carousel Shoe Styles 
===================*/

.top-shoes-section {
  padding: 40px 0;
}

.shoes-carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.shoes-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.shoes-track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
}

/* Shoe Card */
.shoe-card-horizontal {
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  text-align: center;
}

.shoe-card-horizontal img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.shoe-name {
  margin-top: -10px;
  font-weight: 500;
  font-size: 10px;
  text-align: center;
  color: #222;
  font-size: 0.9rem; /* Set font size */
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
}



/* Arrows */
.carousel-nav {
  background: rgba(238, 217, 217, 0.6);
  color: #050505;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}

.carousel-nav.prev { margin-right: 10px; }
.carousel-nav.next { margin-left: 10px; }

/* Mobile */
@media (max-width: 600px) {
  .shoe-card-horizontal {
    min-width: 85%;
  }
}

/*========================
= Carousel Shoe Interactions 
========================*/


/* Swipe feedback */
.shoes-track-wrapper {
  cursor: grab;
}

.shoes-track-wrapper.is-dragging {
  cursor: grabbing;
}

.shoe-card-horizontal img {
  pointer-events: none; /* prevents image drag */
}




/* ===============================
   Shoe Image Overlay carousel Horizontal Zoom
=============================== */


.image-wrap img {
  pointer-events: auto;
  cursor: zoom-in;
}

.shoe-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: grid;
  place-items: center;
  z-index: 9999;
  cursor: zoom-out;

  padding: 24px;
}

/* Image (desktop default) */
.shoe-overlay img {
  max-width: 88vw;
  max-height: 85vh;

  width: auto;
  height: auto;

  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  padding: 18px;
  border-radius: 18px;

  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

/* Lock background scroll */
body.overlay-open {
  overflow: hidden;
}

/* ===============================
   Mobile Overlay Adjustments
=============================== */
@media (max-width: 768px) {

  .shoe-overlay {
    padding: 12px;
    align-items: center;
  }

  .shoe-overlay img {
    max-width: 92vw;      /* full width feel */
    max-height: 70vh;     /* prevents vertical crop */

    width: auto;
    height: auto;

    object-fit: contain; /* shoe always fully visible */

    padding: 12px;       /* reduced padding */
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

/* ===============================
   Reduced Motion Support
=============================== */
@media (prefers-reduced-motion: reduce) {
  .shoe-overlay {
    backdrop-filter: none;
  }
}


















