/* =========================
   MOBILE CSS (DEFAULT)
   ========================= */
body {
  margin: 0;
  font-family: serif;
  background: #f6f6f6;
  overflow-x: hidden; /* prevent side scroll */
}

/* 🔥 Hide horizontal scrollbar (video + featured sections) */

.video-scroll::-webkit-scrollbar,
.featured-grid::-webkit-scrollbar {
  display: none;
}

/* For Firefox */
.video-scroll,
.featured-grid {
  scrollbar-width: none;
}

/* For IE/Edge */
.video-scroll,
.featured-grid {
  -ms-overflow-style: none;
}
/* TOP BAR */

.top-bar {
  text-align: center;
  padding: 10px;
  background: #d8cbb5;
  font-size: 14px;
}

/* HERO FIX */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

/* SLIDES CONTAINER */
.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

/* EACH SLIDE */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

/* IMAGE */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

* FIX NAVBAR ABOVE SLIDER */ .navbar {
  position: relative;
  z-index: 10;
}

/* HERO TEXT ABOVE */
.hero-text {
  position: absolute;
  z-index: 10;
}

/* SLIDES BELOW */
.slides {
  z-index: 0;
}

.slide {
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none; /* 🔥 THIS FIXES EVERYTHING */
}
/* NAVBAR */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 15px;

  z-index: 10;
  color: white;
}

.hero-text {
  position: absolute;
  z-index: 10;
  color: white;
}

.logo-nav {
  color: white;
  font-weight: bold;
  font-size: 22px;
  font-weight: 500;
}

.left-icons i,
.right-icons i {
  margin: 0 8px;
  cursor: pointer;
}

.right-icons {
  display: flex;
  margin-right: 30px; /* 🔥 move slightly left */
}

.cart-icon {
  position: relative;
  cursor: pointer;
}

#cartCount {
  position: absolute;
  top: -8px;
  right: -10px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

/* HERO TEXT */

.hero-text {
  position: absolute;
  bottom: 40px;
  right: 20px;
  font-size: 30px;
}

/* WATCH SECTION */

.watch {
  padding: 30px 20px;
  text-align: center;
}

.video-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px;
}

.video-card {
  min-width: 200px;
  height: 260px;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 50%;
  color: white;
}

/* COLLECTION */

.collection {
  text-align: center;
  padding: 20px;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 20px;
}

.collection-card img {
  width: 100%;
  border-radius: 15px;
}

/* FEATURED COLLECTION */

.featured-collection {
  padding: 10px;
}

.featured-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto; /* 🔥 enables horizontal scroll */
  padding: 5px;
  scroll-behavior: smooth;
}

.featured-card {
  transition: transform 0.3s ease;
}

.featured-card:hover {
  transform: scale(1.05);
}

.featured-card {
  position: relative;
  width: 180px;
  text-align: center;
}

.collection-card {
  width: 100%;
  height: 240px; /* 🔥 FIXED HEIGHT */
  object-fit: cover; /* 🔥 MAINTAIN RATIO */
  border-radius: 25px;
}

.featured-card img {
  width: 100%;
  border-radius: 25px;
}

.featured-card h3 {
  position: absolute;
  bottom: 60px; /* move near bottom */
  left: 50%;
  transform: translateX(-50%);
  color: white; /* 🔥 change to white */
  font-size: 20px;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.5); /* 🔥 dark overlay */
  padding: 5px 10px;
  border-radius: 5px;
}

.shop-btn {
  margin-top: 10px;
  width: 120px !important;
}

/* WHY SIVAN */

.why-sivan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40, 20px;
  gap: 20px;
}

.why-left {
  width: 45%;
  margin-right: 10px;
  margin-left: 10px;
}

.why-left h2 {
  font-size: 24px;
  margin-bottom: 10px;
  margin-right: 10px;
}

.why-left p {
  font-size: 13px;
}

.why-right img {
  width: 150px;
  border-radius: 10px;
}

/* FOLLOW */

.follow {
  text-align: center;
  padding: 20px;
}

.social-icons i {
  font-size: 28px;
  margin: 0 10px;
  cursor: pointer;
}

/* INSTAGRAM GRID */

.insta-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.insta-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* FOOTER */

footer {
  background: #d8cbb5;
  padding: 40px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  margin-bottom: 15px;
  font-size: 18px;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  cursor: pointer;
}
.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transition: 0.3s ease;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

/* HEADER */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.user-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.user-icon {
  width: 45px;
  height: 45px;
  background: #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 18px;
}

.sidebar-header p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #007bff;
  cursor: pointer;
}

.close-btn {
  font-size: 20px;
  cursor: pointer;
}

/* MENU */
.menu {
  padding: 10px 20px;
}

.menu-title {
  font-size: 13px;
  color: gray;
  margin: 10px 0;
}

/* ITEM */
.menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  font-size: 16px;
  cursor: pointer;
}

/* ICON CIRCLE */
.icon {
  width: 40px;
  height: 40px;
  background: #f2f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HOVER */
.menu-item:hover {
  background: #f9f9f9;
  border-radius: 10px;
  padding-left: 10px;
}

/* LOGOUT */
.logout {
  color: red;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 999;
}

.hamburger span {
  background: white;
  transition: 0.3s;
}

.hamburger:hover span {
  background: #d8cbb5;
}

#overlay.active {
  display: block;
}
.profile-section {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 18px;
  margin-bottom: 20px;
}

.menu-item {
  padding: 10px 0;
  cursor: pointer;
}

.logout {
  color: red;
}

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

.hamburger span {
  width: 22px;
  height: 2px;
  background: white; /* change to black if needed */
  display: block;
}
.left-section {
  display: none;
}
.desktop-menu {
  display: none;
}
.right-section {
  display: none;
}
.order-container {
  align-items: start; /* 🔥 VERY IMPORTANT */
}

/* =========================
   DESKTOP CSS
   ========================= */
/* =========================
   DESKTOP CSS
   ========================= */
/* =========================
   DESKTOP CSS
   ========================= */
/* =========================
   DESKTOP CSS
   ========================= */
/* =========================
   DESKTOP CSS
   ========================= */
/* =========================
   DESKTOP CSS
   ========================= */
/* =========================
   DESKTOP CSS
   ========================= */
/* =========================
   DESKTOP CSS
   ========================= */
/* =========================
   DESKTOP CSS
   ========================= */

@media (min-width: 1024px) {
  /* 🔥 FULL COPY STARTS */
  body {
    margin: 0;
    font-family: serif;
    padding: 0;
    background: #f6f6f6;
    overflow-x: hidden; /* prevent side scroll */
  }

  /* 🔥 Hide horizontal scrollbar (video + featured sections) */

  .video-scroll::-webkit-scrollbar,
  .featured-grid::-webkit-scrollbar {
    display: none;
  }

  /* For Firefox */
  .video-scroll,
  .featured-grid {
    scrollbar-width: none;
  }

  /* For IE/Edge */
  .video-scroll,
  .featured-grid {
    -ms-overflow-style: none;
  }
  /* 🔥 Navbar container */

  /* ❌ Hide mobile navbar */
  .left-icons,
  .right-icons {
    display: none;
  }
  .logo-nav {
    display: none;
  }

  /* ✅ Show desktop navbar */
  .left-section,
  .desktop-menu,
  .right-section {
    display: flex;
  }

  /* NAVBAR FIX */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 20;
  }

  /* CENTER MENU */
  .desktop-menu {
    gap: 50px;
    font-size: 20px;
    font-weight: 100px;
  }
  .logo {
    font-size: 20px;
    font-weight: 100px;
    color: white;
  }

  /* MENU ITEMS */
  .desktop-menu span {
    cursor: pointer;
    position: relative;
  }

  /* underline animation */
  .desktop-menu span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
  }

  .desktop-menu span:hover::after {
    width: 100%;
  }

  /* RIGHT */
  .right-section {
    gap: 25px;
    margin-right: 30px;
    align-items: center;
  }

  .right-section i {
    font-size: 18px;
    cursor: pointer;
  }

  /* TOP BAR */
  /* TOP BAR */
  /* TOP BAR */
  /* TOP BAR */
  /* TOP BAR */
  /* TOP BAR */
  /* TOP BAR */

  /* TOP BAR */

  .top-bar {
    text-align: center;
    padding: 10px;
    background: #d8cbb5;
    font-size: 14px;
  }

  /* HERO FIX */
  .hero {
    position: relative;
    height: 620px;
    overflow: hidden;
  }

  /* SLIDES CONTAINER */
  .slides {
    width: 100%;
    height: 100%;
    position: relative;
  }

  /* EACH SLIDE */
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .slide.active {
    opacity: 1;
  }

  /* IMAGE */
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  * FIX NAVBAR ABOVE SLIDER */ .navbar {
    position: relative;
    z-index: 10;
  }

  /* HERO TEXT ABOVE */
  .hero-text {
    position: absolute;
    z-index: 10;
  }

  /* SLIDES BELOW */
  .slides {
    z-index: 0;
  }

  .slide {
    z-index: 0;
  }

  .hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none; /* 🔥 THIS FIXES EVERYTHING */
  }
  /* NAVBAR */

  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 15px;

    z-index: 10;
    color: white;
  }

  .hero-text {
    position: absolute;
    z-index: 10;
    color: white;
  }

  .cart-icon {
    position: relative;
    cursor: pointer;
  }

  #cartCount {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
  }

  /* HERO TEXT */

  .hero-text {
    position: absolute;
    bottom: 40px;
    right: 20px;
    font-size: 30px;
  }

  /* WATCH SECTION */

  .watch {
    padding: 0 0;
    font-size: 25px;
    text-align: center;
  }

  .watch-header {
    font-size: 25px;
    padding: 30px 0;
    background: white;
  }

  .video-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 40px;
  }

  .video-card {
    min-width: 330px;
    height: 450px;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
  }

  .video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 50%;
    color: white;
  }

  /* COLLECTION */

  .collection {
    text-align: center;
    padding: 50px 0px;
  }

  .collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px 40px;
  }

  .collection-card img {
    width: 100%;
    border-radius: 15px;
  }

  /* FEATURED COLLECTION */

  .featured-collection {
    padding: 10px 6px;
    margin-left: 23px;
    margin-right: 23px;
  }

  .featured-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* 🔥 enables horizontal scroll */
    padding: 5px;
    scroll-behavior: smooth;
  }

  .featured-card {
    transition: transform 0.3s ease;
  }

  .featured-card:hover {
    transform: scale(1.05);
  }

  .featured-card {
    position: relative;
    min-width: 330px;
    text-align: center;
  }

  .collection-card {
    width: 100%;
    height: 450px; /* 🔥 FIXED HEIGHT */
    object-fit: cover; /* 🔥 MAINTAIN RATIO */
    border-radius: 25px;
  }
  .collection-header {
    font-size: 25px;
    padding: 30px 0;
    background: white;
    margin-bottom: 20px;
  }

  .featured-card img {
    width: 100%;
    border-radius: 25px;
  }

  .featured-card h3 {
    position: absolute;
    bottom: 60px; /* move near bottom */
    left: 50%;
    transform: translateX(-50%);
    color: white; /* 🔥 change to white */
    font-size: 20px;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.5); /* 🔥 dark overlay */
    padding: 5px 10px;
    border-radius: 5px;
  }

  .shop-btn {
    margin-top: 10px;
    width: 170px !important;
  }

  /* WHY SIVAN */

  .why-sivan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40, 20px;
    gap: 20px;
  }

  .why-left-desktop-content {
    padding-top: 50px;
    width: 60%;
    margin-right: 10px;
    margin-left: 290px;
  }

  .why-left-desktop-content h2 {
    font-size: 42px;
    margin-bottom: 10px;
    margin-right: 10px;
  }

  .why-left-desktop-content p {
    font-size: 33px;
  }

  .why-left {
    display: none;
  }
  .why-right {
    display: none;
  }

  /* FOLLOW */

  .follow {
    text-align: center;
    padding: 20px;
  }

  .social-icons i {
    font-size: 38px;
    margin: 0 10px;
    cursor: pointer;
  }

  /* INSTAGRAM GRID */

  .insta-gallery {
    padding: 20px;
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .insta-gallery img {
    width: 100%;
    border-radius: 30px;
    height: 750px;
    object-fit: cover;
  }

  /* FOOTER */

  footer {
    background: #d8cbb5;
    padding: 40px;
  }

  footer ul {
    list-style: none;
    padding: 0;
  }

  footer li {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    cursor: pointer;
  }

  .user-info {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .user-icon {
    width: 45px;
    height: 45px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .close-btn {
    font-size: 20px;
    cursor: pointer;
  }

  /* MENU */
  .menu {
    padding: 10px 20px;
  }

  .menu-title {
    font-size: 13px;
    color: gray;
    margin: 10px 0;
  }

  /* ITEM */
  .menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 16px;
    cursor: pointer;
  }

  /* ICON CIRCLE */
  .icon {
    width: 40px;
    height: 40px;
    background: #f2f2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* HOVER */
  .menu-item:hover {
    background: #f9f9f9;
    border-radius: 10px;
    padding-left: 10px;
  }

  /* LOGOUT */
  .logout {
    color: red;
  }

  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 999;
  }

  #overlay.active {
    display: block;
  }
  .profile-section {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .menu-item {
    padding: 10px 0;
    cursor: pointer;
  }

  .logout {
    color: red;
  }
  .order-container {
    align-items: start; /* 🔥 VERY IMPORTANT */
  }
}

footer ul li {
  cursor: pointer;
  padding: 6px 0;
  transition: 0.2s;
}

footer ul li:hover {
  color: #000;
  text-decoration: underline;
}

.logo {
  cursor: pointer;
  padding: 6px 0;
  transition: 0.2s;
}

.logo:hover {
  text-decoration: underline;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.video-content {
  position: relative;
  width: 60%;
  max-width: 600px;
}

.video-content video {
  width: 100%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
