/* SwaggerZone Delhi — Clean Editorial Footwear Storefront Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  --brand-red: #D90429;
  --brand-red-dark: #B50321;
  --brand-black: #0c0c0c;
  --brand-white: #FFFFFF;
  --surface-gray: #1e1e1e;
  --border-light: #262626;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0c0c0c;
  color: #e8e8e8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: 'Oswald', sans-serif;
  letter-spacing: -0.01em;
}

/* Custom Subtle Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: #3d3d3d;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D90429;
}

/* Hide scrollbar for horizontal brand navigation strip */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Product Card Styling */
.product-card {
  background-color: #161616;
  border: 1px solid #262626;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.55);
  border-color: #404040;
}

/* Strict Uniform Image Viewport for Product Cards (Square Aspect Ratio for Mobile & Desktop) */
.shoe-photo-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #161616;
  overflow: hidden;
  user-select: none;
  flex-shrink: 0;
  touch-action: pan-y;
}

/* Strict Uniform Image Viewport for Product Detail Modal */
.modal-photo-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 460px;
  background-color: #161616;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

@media (max-width: 640px) {
  .modal-photo-box {
    max-height: 320px;
  }
}

/* Multi-Photo Horizontal Sliding Track — Pinned to 100% of Uniform Box */
.card-slider-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.card-slider-slide {
  position: relative;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #161616;
  padding: 0;
}

/* Full Actual Photo View with Exact Same Height & Width Across All Angles */
.card-slider-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-slider-slide img {
  transform: scale(1.02);
}

/* Uniform Thumbnail & Upload Preview Boxes */
.uniform-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #161616;
  display: block;
}

/* Slider Arrow Visibility on Desktop Hover & Mobile */
.card-slider-arrow {
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.product-card:hover .card-slider-arrow {
  opacity: 1;
}

@media (max-width: 768px) {
  .card-slider-arrow {
    opacity: 0.95;
    width: 26px !important;
    height: 26px !important;
    font-size: 10px !important;
  }
}

/* EU Size Chip Buttons */
.size-chip {
  border: 1px solid #333333;
  background-color: #1e1e1e;
  color: #d4d4d4;
  font-weight: 600;
  transition: all 0.15s ease;
  touch-action: manipulation;
}

.size-chip:hover {
  border-color: #D90429;
  color: #FFFFFF;
}

.size-chip.active {
  background-color: #D90429;
  color: #FFFFFF;
  border-color: #D90429;
}

/* Touch Scrolling */
.touch-scroll {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Mobile Safe Inset for Floating Buttons & Drawers */
.pb-safe {
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 16px));
}

/* Toast Animation */
@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-enter {
  animation: toastSlideUp 0.22s ease forwards;
}
