main .nav-inline > li:after {
  content: " | ";
  margin-right: 5px;
}

.products-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 80px;
}

#products.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
}

#products.loading .spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #03324c;
  border-bottom-color: transparent;
  border-radius: 100%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#products.loading .product-card {
  display: none;
}

.product-card {
  position: relative;
  width: 180px;
  text-align: center;
  border: 1px solid #eee;
  padding: 15px 10px;
  border-radius: 4px;
  overflow: hidden;
}

.sold-out-flag {
  position: absolute;
  top: 35px;
  right: -35px;
  background: #e74c3c;
  color: #fff;
  font-weight: bold;
  padding: 5px 45px;
  transform: rotate(45deg);
  font-size: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.product-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 10px;
}

.product-title {
  font-size: 15px;
  color: #1c3f75;
  font-weight: bold;
  margin-bottom: 6px;
  min-height: 80px;
  cursor: default;
}

.product-price {
  margin: 8px 0;
  font-size: 19px;
  color: #3d3c3a;
  line-height: 1.1;
  font-weight: 900;
  cursor: default;
}

.buy-button {
  display: block;
  width: 100%;
  background: #5eb2e5;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 10px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: 0.2s;
  text-decoration: none;
}

.buy-button:hover {
  background: #3a9dd1;
  color: #fff;
}

.product-card a:focus {
  color: #fff !important;
}

#contador {
  font-family: "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 55px;
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin: 20px 0 40px;
  flex-wrap: wrap;
  text-align: center;
  gap: 2rem;
}
#contador p {
  margin: 0;
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
}
#contador .countdown {
  display: flex;
  gap: 10px;
}
#contador .tempo {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 6px;
  min-width: 60px;
  font-size: 20px;
  flex: 1;
}
#contador .tempo span {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

@media only screen and (max-width: 1023px) {
  .profile-block.col-md-4.col-lg-4 {
    width: 100% !important;
  }
}

@media only screen and (max-width: 400px) {
  .product-card {
    width: 170px;
  }
  .product-title {
    min-height: 100px;
  }
}
@media only screen and (max-width: 380px) {
  .product-card {
    width: 160px;
  }
}
@media only screen and (max-width: 320px) {
  .product-card {
    width: 200px;
  }
  .products-grid {
    display: flex;
    justify-content: center;
  }
}
