
/* === Base Reset === */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #334f7f;
  color: #fdf1e3;
}
body .magnet-options {
    align-items: center;
}
/* === Header === */
header {
  padding: 20px;
  background-color: #11847c;
  color: #fdf1e3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 4px solid #b63d36;
  text-align: center;
  gap: 20px;
}


header .logo,
.logo-container img.logo {
  height: 60px;
  vertical-align: middle;
  max-width: 150px;
  object-fit: contain;
}

/* === Page Layout === */
.page-container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

/* === Navigation === */
nav {
  padding: 12px;
  background-color: #2a3e6a;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #fdf1e3;
  font-weight: bold;
  padding: 10px 15px;
  margin: 5px 8px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  background-color: #11847c;
  color: #fff;
  text-shadow: 0 0 6px #fdf1e3, 0 0 10px #11847c;
}

/* === Social Icons === */
.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto; /* Push to right */
}

.social-icons a {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.social-icons img {
  width: 100% !important;
  height: 100% !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.social-icons img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px #fff) brightness(1.1);
}

/* === Main Content === */
main {
  padding: 30px;
  max-width: 1000px;
  margin: auto;
  
}

/* === Steps / Cards === */
.steps {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  padding: 15px;
  background-color: #445c94;
  border-left: 6px solid #b63d36;
  border-radius: 8px;
  font-size: 1.1rem;
  text-align: left;
}

.card,
.cart-item {
  background-color: #3a4f78;
  border: 1px solid #ccc;
  color: #fdf1e3;
  padding: 20px;
  border-radius: 8px;
  width: 250px;
  text-align: center;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.card img,
.cart-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* === Tables === */
table {
  width: 90%;
  margin: 20px auto;
  border-collapse: collapse;
  background-color: #11847c;
  color: #e8e5e3;
  
}

th, td {
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #445c94;
  color: #e8e5e3;
}

th {
  
  background-color: #445c94;
}

/* === Buttons === */
button,
input[type="submit"],
input,
select {
  background-color: #11847c;
  color: #fdf1e3;
  border: none;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 8px;
}


button:hover,
input[type="submit"]:hover {
  background-color: #0c6e65;
}

/* === Footer === */
.site-footer {
  background-color: #222;
  color: #fdf1e3;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  margin-top: 40px;
  border-top: 4px solid #b63d36;
}

.site-footer p {
  margin: 0;
}

/* === Cart / Crop === */
.cart-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.total {
  margin-top: 40px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fdf1e3;
}

#cropBox {
  touch-action: none;
  -webkit-user-drag: none;
  user-select: none;
}
.saved-address, 
.address-list {
  background-color: #fdf1e3;   /* light background */
  color: #334f7f;              /* dark text for contrast */
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  margin: 0 0 5px;
  font-size: 1.1rem;
  color: #11847c;
}

.saved-address h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
  color: #11847c; /* Optional: brand green for headers */
}


/* === Responsive Design === */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  nav .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    max-width: 100%;
    overflow-x: hidden;
  }

  nav a {
    font-size: 1.1rem;
    padding: 8px 12px;
  }

 .social-links a {
    width: 30px;
    height: 30px;
  }

  .social-links img,
  .social-icon {
    max-width: 30px !important;
    max-height: 30px !important;
  }

  .logo-container img.logo,
  header .logo {
    height: 50px;
  }

  .card,
  .photo-card,
  .cart-item {
    width: 90% !important;
  }

  input[type="file"],
  input[type="number"],
  select {
    width: 100%;
    max-width: 100%;
    font-size: 1.1rem;
    box-sizing: border-box;
  }

  h1, h2 {
    font-size: 1.5rem;
  }

  .item-details,
  .step,
  .status {
    font-size: 1rem;
    text-align: center;
  }
}
