/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0a3d62;
  color: #fff;
  z-index: 1000;
  transition: transform 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.navbar.hidden {
  transform: translateY(-100%);
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}
.logo-img {
  height: 35px;
  margin-right: 8px;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: #ffd32a;
  border-bottom: 2px solid #ffd32a;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

/* ===== Responsive Navbar ===== */
@media (max-width: 900px) {
  .nav-content {
    padding: 0.75rem 0.5rem;
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a3d62;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .nav-links.active {
    max-height: 320px;
    padding: 1rem 0;
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ===== Footer ===== */
.footer {
  background: #1a237e;
  color: #dbe1ff;
  padding: 36px 0 18px 0;
  margin-top: 48px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 35px;
  margin-right: 8px;
}
.footer h3, .footer h4 {
  margin: 0 0 10px 0;
  color: #ffd32a;
}
.footer a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.contact-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.contact-icons a {
  font-size: 22px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #222;
  color: #fff;
  transition: background 0.3s, transform 0.2s;
}
.contact-icons a:hover { transform: scale(1.1); }
.contact-icons a[aria-label="WhatsApp"] { background: #25D366; }
.contact-icons a[aria-label="Facebook"] { background: #1877F2; }
.contact-icons a[aria-label="Instagram"] { background: linear-gradient(45deg,#feda75,#d62976,#4f5bd5); }
.contact-icons a[aria-label="Email"] { background: #EA4335; }
.contact-icons a[aria-label="Phone"] { background: #34B7F1; }

small {
  display: block;
  text-align: center;
  color: #b3c6ff;
  margin-top: 18px;
  font-size: 0.95em;
}

/* ===== Responsive Footer ===== */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer {
    padding: 24px 0 12px 0;
  }
}
#cart-icon {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffd32a;
  color: #0a3d62;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: grab;
  z-index: 2000;
  user-select: none;
}
#cart-icon.dragging {
  opacity: 0.7;
  cursor: grabbing;
}
@media (max-width: 768px) {
  .cart-icon {
    position: relative;
    display: block;
    margin: 10px auto;  /* center under navbar */
  }
}
.cart-icon {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 999;
  cursor: move;
}
