@charset "utf-8";
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  background-color: white;
} 

body {
  margin: 0;
  background-color: white;
  font-family: Arial, sans-serif;
  padding: 0;
} 

/* Center login box but keep header visible */
.sign-in-wrapper {
  min-height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center; 
}

/* Login Box */
.sign-in-container {
  background: white;
  padding: 36px; 
  width: 360px;
  border-radius: 10px;

  text-align: center;
  margin-top: 80px;
}


.sign-in-container h2 {
  margin-bottom: 10px;
  color: #155E9A;
}

.sign-in-container p {
  color: #bbb;
  font-size: 0.75em;
  margin-bottom: 20px;
}


.sign-in-container .sign-link {
  text-decoration: none;
  color: #848484;

}

.sign-in-container .sign-link:hover {
  text-decoration: underline black solid 2px;
}

/* Inputs */
.sign-in-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #333;
  border-radius: 6px;
  background: white;
  color: black;
  outline: none;
  font-size: 0.9em;

}

.sign-in-container input::placeholder {
  color: black;
}

.sign-in-container input:focus {
  border-color: lightblue;
}


/* Button */
.sign-in-container button {
  width: 100%;
  padding: 12px;
  background: #1E90FF;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95em;
  transition: background 0.2s ease, transform 0.1s ease;
}

.sign-in-container button:hover {
  background: #1286fa;
}

.sign-in-container button:active {
  transform: scale(0.98);
}

.cart-icon {
  position: relative;
  display: inline-block;
}

.cart-dot {
  position: absolute;
  top: 2px;
  right: -1.3px;
  width: 7px;
  height: 7px;
  background: #fff;          /* default = white */
  border-radius: 50%;
  display: none;
  transition: background 0.2s ease;
}

/* Desktop: hover ANYWHERE on header */
@media (hover: hover) and (pointer: fine) {
  .header:hover .cart-dot {
    background: #155E9A;
  }
}

/* Mobile / touch: always blue */
@media (hover: none) and (pointer: coarse) {
  .cart-dot {
    background: #155E9A !important;  /* FORCE blue */
  }
}

/* FORCE HEADER HOVER STATE ONLY ON product.html */
.force-header-hover .header {
  background-color: #ffffff;
}

/* nav links */
.force-header-hover .header a {
  color: #155E9A;
}

/* icons */
.force-header-hover .header ion-icon {
  color: #155E9A;
}

.force-header-hover .header .menu-btn {
  color: #155E9A;
}

/* underline animation (same as hover) */
.force-header-hover .header .nav a::after {
  transform: scaleX(1);
}

/* cart badge visible */
.force-header-hover .cart-count {
  opacity: 1;
}
