/* ============================
   DAZZLE VASTRA - UPDATED CSS
   Fully Optimized & Responsive
=============================== */

:root {
  --primary: #c2185b;
  --primary-700: #a3154b;
  --accent: #d63384;
  --bg: #fff8fc;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: #333;
  margin: 0;
  padding: 0;
}

img { max-width: 100%; display: block; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ============================
   HEADER
=============================== */

.horizontal-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

/* LOGO */
.logo {
  flex: 1;
  display: flex;
  justify-content: center;
}
.logo img {
  height: 100px;
  max-height: 120px;
  object-fit: contain;
}

/* HAMBURGER MENU */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

/* RIGHT ICONS */
.header-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.nav-icon { height: 24px; }

.icon-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 700;
}

/* ============================
   NAVIGATION
=============================== */

.main-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: -250px;
  width: 250px;
  height: calc(100% - 64px);
  background: #fff;
  flex-direction: column;
  padding: 20px;
  box-shadow: 2px 0 14px rgba(0,0,0,0.12);
  transition: left 0.28s ease;
  z-index: 1050;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  padding: 8px 12px;
  color: #333;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: #f8d7e6;
  color: var(--primary-700);
}

.main-nav.show {
  left: 0;
  display: block;
}

/* ============================
   HERO SECTION
=============================== */

.hero-banner { width:100%; overflow:hidden; margin-bottom:30px; }

.hero-image-container { width:100%; max-height:600px; position:relative; }

.hero-image {
  width:100%;
  height:100%;
  object-fit:cover;
  max-height:600px;
}

.hero-btn {
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  background:var(--primary);
  padding:14px 28px;
  border-radius:5px;
  text-decoration:none;
  color:#fff;
  font-size:18px;
  font-weight:600;
}

.hero-btn:hover { background:var(--primary-700); }

/* ============================
   PRODUCT LISTING
=============================== */

.section-title {
  text-align:center;
  margin-bottom:30px;
  font-size:2rem;
  color:var(--primary);
}

#product-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.product-card {
  width: 100%;
  background:#fff;
  border-radius:10px;
  box-shadow:0 4px 8px rgba(0,0,0,0.08);
  padding:15px;
  text-align:center;
  transition:transform .28s;
  position:relative;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  height:220px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:10px;
}

.product-card h3 {
  font-size:18px;
  color:var(--primary-700);
  margin-bottom:5px;
}

.price {
  color:var(--accent);
  font-weight:bold;
}

/* SIZE SELECTOR */
.size-selector {
  font-weight:500;
  margin-top:10px;
}
.size-options {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  margin:10px 0;
}
.size-box {
  padding:6px 12px;
  border:2px solid var(--primary);
  border-radius:25px;
  cursor:pointer;
  font-size:14px;
  color:var(--primary);
  background:#fff;
  transition:.2s;
}
.size-box:hover {
  background:#f8e4ee;
  transform:scale(1.05);
}
.size-box.active {
  background:var(--primary);
  color:#fff;
  font-weight:700;
}

/* BUTTONS */
.add-to-cart-btn,
.buy-now-btn {
  background:var(--primary);
  color:#fff;
  padding:10px 20px;
  border-radius:5px;
  text-decoration:none;
  font-weight:600;
  display:inline-block;
  margin-top:8px;
}

.add-to-cart-btn:hover,
.buy-now-btn:hover {
  background:var(--primary-700);
}

.buy-now-btn { margin-left:10px; }

.wishlist-icon {
  position:absolute;
  top:10px;
  right:10px;
  font-size:20px;
  color:#d63384;
  cursor:pointer;
}

/* ============================
   FOOTER
=============================== */

footer {
  background:#f5f5f5;
  text-align:center;
  padding:20px 0;
  font-size:14px;
  color:#777;
}

/* ============================
   RESPONSIVE BREAKPOINTS
=============================== */

/* Tablets */
@media (max-width:1024px) {
  #product-list {
    grid-template-columns: repeat(2,1fr);
  }
}

/* Mobile */
@media (max-width:768px) {
  .menu-toggle { display:flex; }

  .horizontal-header .logo img {
    height: 60px;
  }

  .main-nav { display:none; }
  .main-nav.show { display:block; }

  #product-list {
    grid-template-columns: repeat(2,1fr);
  }
  .product-card { width:100%; }
}

/* Small Phones */
@media (max-width:600px) {
  #product-list {
    grid-template-columns:1fr;
  }
}


