.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: #B6D23C;
  color: #1D1D3A;
  border: 2px solid #B6D23C;
}

.btn-primary:hover {
  background: #a4bf36;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(182, 210, 60, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #FFFBF2;
  border: 2px solid #FFFBF2;
}

.btn-secondary:hover {
  background: #FFFBF2;
  color: #1D1D3A;
  transform: translateY(-3px);
}

.btn-submit,
.btn-buy {
    width: 100%;
    padding: 1rem;
    background: #1573D4;
    color: #FFFBF2;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover,
.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 115, 212, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: #FFFBF2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(29, 29, 58, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(29, 29, 58, 0.1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(29, 29, 58, 0.12);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #B6D23C;
  color: #1D1D3A;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
}

.product-badge.new {
  background: #1573D4;
  color: #FFFBF2;
}

.product-badge.sold-out {
    background: #1D1D3A;
    color: #FFFBF2;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #1D1D3A;
}

.product-description {
  color: #1D1D3A;
  opacity: 0.8;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex-grow: 1;
}

.product-price {
  margin-bottom: 1.5rem;
}

.price-old {
  text-decoration: line-through;
  color: #1D1D3A;
  opacity: 0.6;
  margin-right: 0.5rem;
}

.price-current {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1573D4;
}

.btn-buy {
  margin-top: auto;
}

.btn-buy:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #FFFBF2;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2000;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-close {
    background: none;
    border: none;
    color: #FFFBF2;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.notification-close:hover {
    opacity: 1;
}

.notification-success {
    background: #B6D23C;
    color: #1D1D3A;
}

.notification-error {
    background: #e74c3c;
}

.notification-info {
    background: #1573D4;
}

.notification-warning {
    background: #f1c40f;
    color: #1D1D3A;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}