body {
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #00264d, #66a6ff);
  color: white;
  font-family: "Poppins", sans-serif;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.winter-container {
  text-align: center;
  padding: 50px 20px 10px;
}

.winter-container h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px #000;
}

.winter-container p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.back-btn {
  background: #fff;
  color: #003366;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.back-btn:hover {
  background: #003366;
  color: white;
}

/* 🧣 Product Grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 40px;
  max-width: 1100px;
  margin: auto;
}

.product-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.product-card h2 {
  margin: 15px 0 5px;
  font-size: 1.2rem;
}

.product-card p {
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: bold;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  background: #fff;
  color: #003366;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.btn:hover {
  background: #003366;
  color: white;
}

.btn.outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn.outline:hover {
  background: white;
  color: #003366;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
/* 🌌 Dark Blue Premium Mobile Design */
@media (max-width: 768px) {
  body {
    background: linear-gradient(to bottom, #00152e, #003366, #004c99);
  }

  .winter-container h1 {
    font-size: 2.2rem;
    text-shadow: 0 0 8px rgba(173, 216, 230, 0.8);
  }

  .winter-container p {
    color: #d7e9ff;
    font-size: 1rem;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 20px 15px;
  }

  .product-card {
    background: linear-gradient(145deg, rgba(0, 51, 102, 0.8), rgba(0, 26, 51, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
  }

  .product-card img {
    height: 170px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
  }

  .product-card h2 {
    color: #e6f0ff;
    font-size: 0.95rem;
    margin-top: 10px;
  }

  .product-card p {
    color: #9ed1ff;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .buttons {
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
  }

  .btn {
    background: linear-gradient(90deg, #007bff, #00bfff);
    color: white;
    font-size: 0.8rem;
    border: none;
    padding: 7px 12px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0, 191, 255, 0.4);
    transition: background 0.3s, transform 0.3s;
  }

  .btn:hover {
    transform: scale(1.03);
    background: linear-gradient(90deg, #3399ff, #66ccff);
  }

  .btn.outline {
    background: transparent;
    border: 2px solid #00bfff;
    color: #00bfff;
  }

  .btn.outline:hover {
    background: #00bfff;
    color: #002244;
  }
   .winter-container h1 {
    font-size: 1.6rem;   /* 🔹 smaller text size */
    line-height: 1.2;    /* 🔹 tighter spacing */
    text-shadow: 0 0 6px rgba(173, 216, 230, 0.7);
    white-space: nowrap; /* 🔹 prevent text wrap */
  }

  .winter-container p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .product-card img {
    height: 150px;
  }

  .product-card h2 {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
   .winter-container h1 {
    font-size: 1.4rem;   /* even smaller on very small screens */
  }
}
/* ❄️ WINTER THEME HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px;
  background: linear-gradient(90deg, #001f3f, #004080);
  box-shadow: 0 2px 10px rgba(0, 0, 100, 0.4);
  transition: all 0.3s ease;
}

/* Logo */
header .logo h4 {
  font-size: 1.5rem;
  color: #e0f0ff;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.3);
}

/* Nav Links */
nav a {
  color: #cce6ff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #a6dfff;
}

/* Dropdown */
.dropdown a {
  color: #cce6ff;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(240, 248, 255, 0.95);
  min-width: 160px;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 50, 100, 0.3);
  padding: 10px 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #004080;
  display: block;
  padding: 8px 16px;
}

.dropdown-content a:hover {
  background: #e0f7ff;
}

/* Icons */
.icons svg {
  color: #d9ecff;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.icons svg:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* Cart Badge */
.cart-badge {
  background: #00bfff;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 3px 6px;
  position: absolute;
  top: -5px;
  right: -8px;
}

/* Hamburger */
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px;
  background: #e0f4ff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 10px 15px;
    flex-wrap: wrap;
  }

  .logo h4 {
    font-size: 1.2rem;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(90deg, #001f3f, #004080);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  nav.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  nav a {
    padding: 12px 0;
    margin: 5px 0;
  }

  .hamburger {
    cursor: pointer;
  }

  .icons {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}
