/* =========================
   BASE
========================= */
* {
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Headings */
.heading-font {
  font-family: 'DM Serif Display', serif;
}


/* =========================
   GRADIENTS
========================= */
.gradient-text {
  background: linear-gradient(135deg, #000, #434343);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* background color ->modern gray - Tested*/
.luxury-gradient {
  background: #f3f4f6;
}

/* =========================
   ANIMATIONS
========================= */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   CARDS
========================= */
.card-gradient {
  background: linear-gradient(180deg, #fff, #fafafa);
}

.hover-lift {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.product-card {
  animation: fadeInUp 0.4s ease;
}

/* =========================
   HEADER
========================= */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  height: 72px;
}

/* =========================
   NAVIGATION
========================= */
.main-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #000;
  transition: 0.3s;
}

/* =========================
   DROPDOWN (DEDUPED)
========================= */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 240px;

  background: #fff;
  border-radius: 16px;
  padding: 0.5rem 0;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);

  max-height: 50vh;        /* HALF SCREEN */
  overflow-y: auto;        /* ENABLE SCROLL */
  overscroll-behavior: contain;

  z-index: 9999;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 0.6rem 1rem;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: #f5f5f5;
}


/* =========================
   Scrolling when clicked on dropdown
========================= */
#all-watches {
  scroll-margin-top: 120px;
}

/* =========================
   FILTER CHIPS
========================= */
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.filter-chip button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

/* =========================
   WATCH BANNER
========================= */
.watch-banner {
  width: 100%;
  padding: 0 1rem; /* thoda kam side spacing */
  margin-bottom: 2rem; /* thoda zyada breathing */
}

.watch-banner img {
  width: 100%;
  max-width: 1700px;  /* increase from 1500px */
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 18px; /* slightly bigger curve */
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.10);
}

.watch-banner img:hover {
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

/* =========================
   YOUTUBE BANNER
========================= */
/* .youtube-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 70px 0;
  background: #f9f9f9;
}

.youtube-frame {
  width: 85%;
  max-width: 960px;
  aspect-ratio: 21 / 9;
}

.youtube-frame iframe {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
} */

/* =========================
   STOCK BADGE
========================= */
.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.22);
  z-index: 30;
  pointer-events: none;
  animation: fadeIn 0.4s ease-out;
}

/* =========================
   WATCH CARDS
========================= */
.watch-image-box {
  width: 100%;
  /* aspect-ratio: auto; */
  padding: 22px;   /* desktop padding */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
}

.watch-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

/* =========================
   Recent watches scrollbar
========================= */
#recent-watches-container {
  position: relative;
  overflow-x: auto;
  scroll-behavior: smooth;

  /* Hide scrollbar (Firefox + IE) */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar (Chrome, Edge, Safari) */
#recent-watches-container::-webkit-scrollbar {
  display: none;
}

/* =========================
   LOAD MORE BUTTON
========================= */
.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 42px;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  color: #111;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s ease,
              color 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.35s ease;
}

.load-more-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.load-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.load-more-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* =========================
   BRAND GRID
========================= */
#brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 720px;   /* wider */
  margin: 0 auto;
  padding: 0 1rem;
}

#brand-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;                 /* balanced height */
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;           /* softer */
  transition: 
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.45s cubic-bezier(.22,.61,.36,1),
    border-color 0.45s ease;
}

#brand-grid a:hover {
  transform: translateY(-8px);
  border-color: #cfcfcf;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.08);
}

#brand-grid a img {
  max-height: 85%;
  max-width: 85%;
  transition: transform 0.45s ease;
}

#brand-grid a:hover img {
  transform: scale(1.05);
}

/* =========================
   RECENT WATCHES
========================= */
.recent-card {
  width: 260px;
  height: 360px;        /* fixed total height */
  display: flex;
  flex-direction: column;
}

.recent-image {
  height: 230px;        /* fixed image area */
  padding: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-text {
  height: 130px;        /* fixed text area */
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* =========================
   HEADER OFFSET
========================= */
.hero-offset {
  padding-top: 5rem;
}

/* =========================
   RESPONSIVE (ALL TOGETHER)
========================= */
@media (max-width: 1024px) {
  .hamburger { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    overflow: visible;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #recent-watches-container > a {
    width: 240px;
  }
}

@media (max-width: 768px) {
  #brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #recent-watches-container > a {
    width: 220px;
  }
}

@media (max-width: 640px) {
  #watch-grid { gap: 14px; }

  .watch-image-box {
    height: 190px;
    padding: 14px;
  }

  .load-more-btn {
    padding: 12px 34px;
    font-size: 10px;
  }

  .hero-offset {
    padding-top: 5rem;
  }
}

@media (max-width: 640px) {
  .watch-image-box {
    padding: 10px;     /* reduce padding */
  }

  .watch-image-box img {
    transform: scale(1.15);  /* compensate shrink */
  }
}


@media (max-width: 375px) {
  .stock-badge {
    font-size: 8px;
    padding: 4px 8px;
  }
}

@media (max-width: 768px) {
  .recent-card {
    width: 220px;
    height: 320px;
  }

  .recent-image {
    height: 200px;
  }

  .recent-text {
    height: 120px;
  }
}


/* Image download blocked */
img {
  -webkit-touch-callout: none;   /* Disable iOS long press menu */
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.no-save {
  pointer-events: none;
}

.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.35);
}


/* Similar Watches Scrollbar */
#similar-watches-container {
  -ms-overflow-style: none;  /* IE */
  scrollbar-width: none;     /* Firefox */
}

#similar-watches-container::-webkit-scrollbar {
  display: none;             /* Chrome, Safari */
}
