/* ===== Right Side (Black with Slant + Gold Divider) ===== */



.header-right {
  flex: 1;
  background: #d63384;
  color: rgb(15, 13, 13);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15px 20px;
  position: relative;
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
  border-radius: 0px 10px 10px 20px;
  
}

/* ===== Golden Slant Line ===== */
.header-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px; /* small shift so it aligns 
  width: 6%;  /* same slope area */
  height: 100%;
  background: linear-gradient(to bottom, #d4af37, #c88a36, #b8860b); 
  /* luxury gold gradient */
  clip-path: polygon(50% 0, 50% 50%, 0% 100%, 0% 0);
  z-index: 5;
}


 body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
    }

    /* Header wrapper */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(-75deg, #000 50%, #fff 50%);
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
      padding: 0 40px;
      transition: all 0.4s ease;
      z-index: 1000;
   
    }

    /* Scroll effect */
    header.scrolled {
      height: 70px;
      box-shadow: 0 4px 15px rgba(73, 209, 36, 0.2);
    }

    /* Brand name */
    .logo {
      font-size: 1.8rem;
      font-weight: 700;
      color: #c88a36;
      z-index: 2;
      transition: all 0.3s ease;
    }

    /* Nav links */
    nav {
      display: flex;
      gap: 30px;
      z-index: 2;
    }

    nav a {
      text-decoration: none;
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      position: relative;
      transition: color 0.3s ease;
    }

    nav a::after {
      content: "";
      position: absolute;
      width: 0%;
      height: 2px;
      background:  black;
      left: 0;
      bottom: -5px;
      transition: width 0.3s ease;
    }

    nav a:hover::after {
      width: 100%;
    }

    /* Cart icon */
    

    .cart:hover {
      transform: scale(1.2);
      color: white;
    }

       
    
    nav #cart {
      color: black;
      font-size: 2.5rem;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    padding: 10px 0;
  }

  nav #cart {
    font-size: 2rem;
  }

.h2e {
    font-size: 30px;
width:  100px;
}
}
.header-right{
  margin-left: 25px;
width:  40px;
}
.logo1 {
  width: 80px;
  margin-right: 20px;
  border-radius: 20px;
}
.header-left {
  padding-left: 10px;
  margin-left: -30px;
}

.cart-count {
  position: absolute;
  top: 8px;
  right: 10px;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  display: none; /* hidden if 0 */
  animation: bounce 0.6s ease;
  z-index: 999;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}.whatsapp-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}
  .footer {
      background: #111;
      color: #eee;
      text-align: center;
      padding: 30px;
      margin-top: 60px;
    }
    input[type="number"] {
      width: 60px;
    }
    textarea {
      resize: none;
    }

    .footer {
  background: #fff;
  color: #444;
  padding: 60px 20px 20px;
  font-family: "Poppins", sans-serif;
  position: relative;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.05);
  text-align: center;
      padding: 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer h2 {
  font-size: 1.8rem;
  color: #c88a36; /* gold accent */
  margin-bottom: 10px;
  font-weight: 600;
}

.footer h3 {
  color: #c88a36;
  margin-bottom: 15px;
  font-weight: 500;
}

.footer p, 
.footer a {
  color: #555;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #c88a36;
  text-shadow: 0 0 5px rgba(200,138,54,0.4);
}

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

.footer-links li {
  margin-bottom: 8px;
}

.whatsapp-btn {
  display: inline-block;
  background:  black;
  color: white !important;
  padding: 10px 18px;
  border-radius: 25px;
  margin-top: 10px;
  transition: 0.3s;
  font-weight: 500;
}

.whatsapp-btn:hover {
  background:  #25d366;
  transform: scale(1.05);
  color: white;
}

.social-icons a {
  font-size: 1.4rem;
  margin-right: 15px;
  color: #666;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #c88a36;
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid #eee;
  text-align: center;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #777;
}
/* === FIX product grid layout on small screens === */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 15px !important;
  }
  .product-card img {
    height: 160px !important;
  }
}
#cart-count {
  position: absolute !important;
  top: 6px !important;
  right: 7px !important;
  background: red !important;
  color: white !important;
  font-size: 12px !important;
  font-weight: bold !important;
  padding: 2px 6px !important;
  border-radius: 50% !important;
 
  animation: bounce 0.6s ease !important;
  z-index: 999 !important;
}

@keyframes bounce {
  0%, 100% { transform: scale(1) !important; }
  50% { transform: scale(1.3) !important; }}.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 25px !important;
}

.product {
  margin-top: 0 !important;
  padding: 20px !important;
}
* Make sizing predictable */
  *, *::before, *::after { box-sizing: border-box; }

  /* Base product-grid (desktop/tablet): flexible, but with smaller min so it can fit 2 on small screens */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    padding: 18px;
    width: 100%;
  }

  .product-card {
    width: 100%;
    /* keep padding comfortable but not too big */
    padding: 12px;
    box-sizing: border-box;
  }

  /* Small screens: force exactly 2 columns for phones/tablets (you wanted two in a row on smaller screens) */
  @media (max-width: 480px) {
    .product-grid {
      /* two columns of equal width on small phones (180px each on 360px device) */
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 10px !important;
      padding: 10px !important;
    }
    .product-card img {
      height: 140px !important;
      object-fit: cover;
    }
  }

  /* Very small phones (optional: if you want 1 column on very tiny screens below 320px) */
  @media (max-width: 320px) {
    .product-grid {
      grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .product-card img {
      height: 130px !important;
    }
  }

  /* Tablet and up: allow more columns but keep the min small so columns can fit */
  @media (min-width: 481px) and (max-width: 1024px) {
    .product-grid {
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
    .product-card img { height: 160px; }
  }

  /* Desktop: default (you can leave this or adjust) */
  @media (min-width: 1025px) {
    .product-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 22px;
      padding: 22px;
    }
    .product-card img { height: 200px; }
  }


.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #FFD700, #ff69b4);
  color: white;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: pulseBadge 2s infinite ease-in-out;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}
/* Base button style */
/* Base button style */
button, .add-btn{
  transition: all 0.4s ease;
}

/* Subtle hover and pulse attention */
@keyframes attractPulse {
  0%, 100% {
    transform: scale(1);
    background-color: var(--main-color, #ff69b4);
  }
  50% {
    transform: scale(1.05);
    background-color: #ffd700; /* gold accent */
  }
}

.attract-active {
  animation: attractPulse 2s ease-in-out infinite;
}