

.app-container {
  max-width: 100%;
  padding: 20px 15px;
  margin: 0 auto;
}

/* Search Bar Styles */
.search-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 10px;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 25px;
  padding: 8px 15px;
  flex: 1;
  border: 1px solid #eeeeee;
}

.search-icon {
  color: var(--text-secondary);
  font-size: 18px;
}

.search-bar input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 8px 10px;
  width: 100%;
  outline: none;
  font-size: 16px;
}

.search-bar input::placeholder {
  color: var(--text-secondary);
}

.cart-icon {
  position: relative;
  font-size: 22px;
  padding: 8px;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-color);
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Section Header Styles */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

.view-all {
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--size-texto);
}

/* Horizontal Scrolling Products */
.products-scroll {
  display: grid;
  overflow-x: auto;
  gap: 15px;
  padding: 5px 0 15px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.products-scroll-details{
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 5px 0 15px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.products-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.web-products-scroll {
  display: grid;
  overflow-x: auto;
  gap: 10px;
  padding: 5px 0 15px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.web-products-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Product Card Styles */
.product-card {
  min-width: 160px;
  max-width: 160px;
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.favorite-btn .bi-heart-fill {
  color: var(--accent-color);
}

.discount-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: var(--accent-color);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.product-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: white;
  color: black;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.product-tag.almost-gone {
  background-color: #ff9800;
  color: white;
}

.product-info {
  padding: 12px;
}

.product-title {
  font-size: var(--size-texto);
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-size: calc(var(--size-texto) + 2px);
  margin: 0;
}

.product-promo {
  font-size: 12px;
  color: var(--accent-color);
  margin: 5px 0 0 0;
}

/* Responsive Adjustments */
@media (min-width: 576px) {
  .app-container {
    max-width: 540px;
    padding: 25px 20px;
  }
  
  .product-card {
    min-width: 180px;
    max-width: 180px;
  }
  
  .product-image-container {
    height: 180px;
  }
}

@media (min-width: 768px) {
  .app-container {
    max-width: 720px;
    padding: 30px 25px;
  }
  
  .product-card {
    min-width: 200px;
    max-width: 200px;
  }
  
  .product-image-container {
    height: 200px;
  }
  
  .section-header h2 {
    font-size: calc(var(--size-texto) + 8px);
  }
}

@media (min-width: 992px) {
  .app-container {
    max-width: 960px;
  }
  
  .products-scroll {
    gap: 10px;
  }
  
  .product-card {
    min-width: 220px;
    max-width: 220px;
  }
  
  .product-image-container {
    height: 220px;
  }
}

@media (min-width: 1200px) {
  .app-container {
    max-width: 1140px;
  }
}




    /* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.small-icon {
    font-size: 0.7rem;
}

/* eBay Logo Styling */
.ebay-logo {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -1px;
}

.ebay-logo .e {
    color: #e53238;
}

.ebay-logo .b {
    color: #0064d2;
}

.ebay-logo .a {
    color: #f5af02;
}

.ebay-logo .y {
    color: #86b817;
}

/* Search Bar Styling */


.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Promotional Banner Carousel */
.promo-banner {
    background-color: #30c1c1; /* Teal color from the image */
    color: #333;
    min-height: 200px;
    display: flex;
    align-items: center;
}
.promo-banner-settings{
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.promo-banner-1 {
  background-color: #30c1c1; /* Blue */
}

.promo-banner-2 {
    background-color: #f28b00; /* Orange */
}

.promo-banner-3 {
    background-color: #7c42f5; /* Purple */
}

.promo-banner-4 {
    background-color: #5eb85e; /* Green */
}

.promo-banner-5 {
  background-color: #a1c4fd; /* Pastel */
}

.promo-banner-6 {
  background-color: #ff9a9e; /* Pink */
}

.promo-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.promo-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Custom Carousel Indicators */
.custom-indicators {
    bottom: 0;
    margin-bottom: 0.2rem;
}

.custom-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.custom-indicators button.active {
    background-color: #fff;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .promo-banner {
        min-height: 250px;
    }
    
    .promo-title {
        font-size: calc(var(--size-texto) + 20px);
    }
    
    .promo-text {
        font-size: calc(var(--size-texto) + 6px);
    }
}

@media (min-width: 992px) {
    .container-fluid {
        
        margin: 0 auto;
    }
}

/* Product buttons container */
.product-buttons {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}

/* Apple-inspired minimalist button styles */
.btn-cart, .btn-buy {
  text-align: center;
  text-decoration: none;
  flex: 1;
  font-size: calc(var(--size-texto) - 4px);
  padding: 4px 8px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 400;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
}

/* Add to Cart button - white with black border */
.btn-cart {
  background-color: white;
  color: black;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  width: 100%;
}

.btn-cart:hover {
  background-color: #f9f9f9;
}

/* Buy Now button - black with white text */
.btn-buy {
  background-color: var(--primary-color);
  color: white;
  border: 0.5px solid var(--primary-color);
}

.btn-buy:hover {
  background-color: #1a1a1a;
}


/* Responsive adjustments */
@media (max-width: 576px) {
  .logo-search-bar{
    gap: 0.5rem !important;
  }

  .product-buttons {
      flex-direction: column;
      gap: 4px;
  }
  
  .product-card {
      min-width: 140px; /* Ensure cards don't get too small on mobile */
  }
  
  .btn-cart, .btn-buy {
      font-size: 0.6rem;
      padding: 3px 6px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .product-buttons {
      flex-direction: column;
      gap: 4px;
  }
  
  .product-card {
      min-width: 160px;
  }
}

@media (min-width: 769px) {
  .product-card {
      min-width: 200px;
  }
}


/* estilos search bar busqueda */
#fullscreenSearch {
  display: none;
  z-index: 2000;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

#fullscreenSearch.show {
  display: block !important;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

#searchHistoryList {
  max-height: 300px;
  overflow-y: auto;
}

#fullscreenSearch.expanding {
  display: block !important;
  z-index: 2000;
}



