@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #FFF0F5;
    color: #333;
    overflow-x: hidden;
    padding-top:  /* Header ki height ke barabar gap */
}

/* HEADER */
.header1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #FDFBF7;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo { width: 120px; height: auto; }

nav ul { display: flex; list-style: none; gap: 20px; }
nav ul li a { text-decoration: none; color: #333; font-weight: 600; }
nav ul li a:hover { color: #27ae60; }

/* SEARCH */
.search-container { display: flex; }
#search-input { padding: 10px; border: 1px solid #ddd; border-radius: 6px 0 0 6px; outline: none; width: 220px; }
.search-container button { padding: 10px 15px; border: none; background: #ff9aa2; color: white; cursor: pointer; border-radius: 0 6px 6px 0; }

/* BANNER */
.banner {
    text-align: center;
    padding: 50px 20px;
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.2);
}

.banner h1 { font-size: 3rem; margin-bottom: 10px; }
.banner p { font-size: 1.2rem; margin-bottom: 20px; }

.collection-banner {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-img {
    width: 100%;
    display: block;
}

.shop-now-btn {
    position: absolute; 
    top:70%;
    padding: 10px 30px;
    background: #ff9aa2;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
}

/* PRODUCTS */
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    overflow: hidden;
    max-width: 300px;
    margin: auto;
}

.product-card:hover { transform: translateY(-5px); }
.product-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; }
.product-title { margin: 15px 0 10px; font-size: 1.1rem; font-weight: 600; }
.buy-btn { width: 100%; padding: 12px; border: none; border-radius: 8px; background: #ff9aa2; color: white; font-weight: 600; cursor: pointer; }

/* MOBILE RESPONSIVE */
@media(max-width:768px) {
    .header1 { flex-direction: column; gap: 12px; }
    .banner { height: 300px; background-size: contain; }
    .product-container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card img { height: 140px; }
}

/* Contact Page Layout Fix */
.contact-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
}

.contact-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

/* Mobile responsive fix */
@media(max-width: 768px) {
    .contact-box {
        flex-direction: column;
    }
}
/* POPUP */
#order-popup {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
    padding-top: 100px;
}
.popup-content {
    background: white; width: 90%; max-width: 400px; margin: auto;
    padding: 20px; border-radius: 15px; text-align: center;
}

/* CATEGORY */
/* Container jo horizontal scroll karega */
.category-filter {
  display: flex;
  flex-wrap: nowrap; /* Buttons ko ek hi line mein rakhega */
  overflow-x: auto; /* Scroll bar enable karega */
  gap: 10px;
  padding: 10px 5px;
  
  /* Scrollbar hide karne ke liye */
  -webkit-overflow-scrolling: touch; 
  scrollbar-width: none; 
}

/* Chrome, Safari aur Edge mein scrollbar hide karne ke liye */
.category-filter::-webkit-scrollbar {
  display: none; 
}

/* Buttons ka design */
.category-filter button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 20px;
  background-color: white;
  border: 1px solid #ddd;
  white-space: nowrap; /* Text ko line break hone se rokega */
  flex-shrink: 0; /* Buttons ki size maintain rakhega */
  cursor: pointer;
}
/* Header links ko black aur neat banane ke liye */
nav ul li a, .header2 a {
    color: #333 !important; /* Black color */
    text-decoration: none !important; /* Underline hatane ke liye */
    font-weight: 600;
}

/* Hover par color change (optional) */
nav ul li a:hover, .header2 a:hover {
    color: #27ae60 !important; /* Hover par green color */
}