/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
}

/* RIGHT ICONS */
.right-icons {
  display: flex;
  align-items: center;
  gap: 19px;
}

/* BACK BUTTON */
.back {
  display: block;
  text-align: center;
  margin-top: 6px;
  color: #ff4da6;
  text-decoration: none;
  font-weight: 100;
  display: inline-block;
  padding: 1px 1px;
  background: #ff2e88;
  color: white;
  border-radius: 70px;
  box-shadow: 0 10px 25px rgba(255,46,136,0.3);
}

.women {
  display: block;
  text-align: center;
  margin-top: 6px;
  color: #ff4da6;
  text-decoration: none;
  font-weight: 100;
  display: inline-block;
  padding: 1px 1px;
  background: #ff2e88;
  color: white;
  border-radius: 70px;
  box-shadow: 0 10px 25px rgba(255,46,136,0.3);
}

.men {
  display: block;
  text-align: center;
  margin-top: 6px;
  color: #ff4da6;
  text-decoration: none;
  font-weight: 100;
  display: inline-block;
  padding: 1px 1px;
  background: #ff2e88;
  color: white;
  border-radius: 70px;
  box-shadow: 0 10px 25px rgba(255,46,136,0.3);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  z-index: 1000;
}

/* FIXED ICON SELECTOR */
.fa-solid.fa-cart-shopping {
  font-size: 20px;
  cursor: pointer;
}

/* LOGO */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  background: linear-gradient(to right, hotpink, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CART */
.cart {
  font-size: 18px;
}

/* PRODUCTS */
.products {
  margin-top: 60px;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

/* PRODUCT */
.product {
  position: relative;
  height: 90vh;
  scroll-snap-align: start;
  overflow: hidden;
}

/* IMAGE */
.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.product:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}

.overlay h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
}

.overlay p {
  margin: 5px 0 15px;
}

/* BUTTON */
button {
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(to right, hotpink, violet);
  color: white;
  cursor: pointer;
}

/* ========================= */
/* CART ICON + BADGE (NEW)   */
/* ========================= */

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

.cart-icon i {
  font-size: 20px;
}

/* RED NOTIFICATION BADGE */
#cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}

/* ========================= */
/* CREATOR ID (FIXED MINI GLASS BADGE) */
/* ========================= */

.creator-id{
  position: fixed;
  bottom: 3px;
  left: 70%;
  transform: translateX(-50%);

  width: auto;
  max-width: 260px;

  padding: 1px 1px;

  border-radius: 18px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);

  backdrop-filter: blur(18px);

  z-index: 3000;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.35);

  animation: floatId 6s ease-in-out infinite;
}

/* FLOAT EFFECT */
@keyframes floatId{
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* TITLE */
.creator-id h3{
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  margin-bottom: 4px;

  background: linear-gradient(to right, #ff77c8, #c084ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TEXT */
.creator-id p{
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

/* BUTTON */
.creator-id a{
  display: inline-block;
  padding: 7px 14px;
  font-size: 0.75rem;
  border-radius: 12px;

  text-decoration: none;
  color: white;

  background: linear-gradient(
    135deg,
    rgba(255,105,180,0.85),
    rgba(138,43,226,0.85)
  );

  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: 0.3s ease;
}

.creator-id a:hover{
  transform: scale(1.05);
}

/* SEARCH */
.search-box{
  position:fixed;
  top:75px;
  left:50%;
  transform:translateX(-50%);

  width:90%;
  max-width:420px;

  z-index:999;
}

.search-box input{
  width:100%;

  padding:14px 18px;

  border:none;
  outline:none;

  border-radius:18px;

  background:rgba(255,255,255,0.08);

  backdrop-filter:blur(14px);

  color:#fff;

  font-size:15px;

  border:1px solid rgba(255,255,255,0.08);

  box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

.search-box input::placeholder{
  color:rgba(255,255,255,0.55);
}

.right-icons{
      display:flex;
      align-items:center;
      gap:18px;
    }

    .cart-wrapper{
      position:relative;
      cursor:pointer;
      font-size:20px;
    }

    #cart-count{
      position:absolute;
      top:-10px;
      right:-10px;
      background:red;
      color:#fff;
      width:18px;
      height:18px;
      border-radius:50%;
      font-size:12px;
      display:flex;
      align-items:center;
      justify-content:center;
    }

    #cart-count.pop{
      animation:pop 0.3s ease;
    }

    @keyframes pop{
      0%{transform:scale(1);}
      50%{transform:scale(1.6);}
      100%{transform:scale(1);}
    }

    .toast{
      position:fixed;
      bottom:20px;
      left:50%;
      transform:translateX(-50%);
      background:rgba(0,0,0,0.85);
      color:#fff;
      padding:10px 18px;
      border-radius:20px;
      font-size:14px;
      opacity:0;
      transition:0.2s ease;
      z-index:9999;
    }