/**
* Theme Name: Allegro2 Child
* Description: This is a child theme of Allegro2
* Author: <a href="http://themelexus.com/">Themelexus</a>
* Template: allegro2
* Version: 1.0.21
*/

/** PWA CSS **/
.install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
  display: none;
  z-index: 9999;
  padding: 1rem;
  animation: slideUp 0.4s ease forwards;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.install-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}

.install-text p {
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
  color: #555;
}

.install-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-install {
  background-color: #ff6700;
  color: #fff;
  border: 2px solid #ff6700;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-install:hover {
  background-color: #fff;
  color: #ff6700;
}

.btn-close {
  background-color: transparent;
  border: 2px solid #ff6700;
  color: #ff6700;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.btn-close:hover {
  background-color: #ff6700;
  color: #fff;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .install-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .install-actions {
    justify-content: center;
    width: 100%;
  }
  .btn-install, .btn-close {
    width: 100%;
  }
}

/******* PWA LOADER **********/
#pwa-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#pwa-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ff6700;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.cat-featured-products ul.products .product-caption .price {
    position: absolute;
    margin-bottom: 0!important;
    background: #fff;
    padding: 5px 5px 5px;
    top: 80px;
    z-index: 999999999999;
}

