/* General */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f6f8;
  color: #2c3e50;
  margin: 0;
  padding: 0;
}
.product-wrapper.list-view {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.product-wrapper.list-view .product {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.product-wrapper.list-view .product-img {
  width: 150px;
  flex-shrink: 0;
}

.product-wrapper.list-view .product-body {
  flex-grow: 1;
}

.product-wrapper.list-view .add-to-cart-btn {
  align-self: flex-start;
}

.view-toggle .btn.active {
  background-color: #343a40;
  color: #fff;
}

.section {
  padding: 50px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
  background: none;
  padding: 12px 0;
  margin-bottom: 25px;
  font-size: 14px;
  color: #7f8c8d;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #bdc3c7;
  padding: 0 8px;
}

/* Sidebar - Filtros */
#aside {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

.aside-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.input-checkbox {
  margin-bottom: 15px;
}

.input-checkbox input[type="checkbox"] {
  display: none;
}

.input-checkbox label {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.input-checkbox label span {
  width: 20px;
  height: 20px;
  border: 2px solid #3498db;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  transition: background-color 0.3s, border-color 0.3s;
}

.input-checkbox input:checked + label span {
  background-color: #3498db;
  border-color: #3498db;
}

.input-checkbox input:checked + label span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Productos */
.product {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-img {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: #ecf0f1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product:hover .product-img img {
  transform: scale(1.05);
}

.sale {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #e74c3c;
  color: white;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 10px;
  font-weight: 500;
}

.product-body {
  padding: 25px;
  text-align: center;
}

.product-category {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 5px;
}

.product-name {
  font-size: 18px;
  margin: 10px 0;
  font-weight: 600;
}

.product-name a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s;
}

.product-name a:hover {
  color: #3498db;
}

.product-price {
  font-size: 20px;
  color: #2980b9;
  font-weight: bold;
  margin-top: 10px;
}

.product-old-price {
  font-size: 14px;
  color: #95a5a6;
  text-decoration: line-through;
  margin-left: 5px;
}

/* Botón Cotizar */
.add-to-cart-btn {
  padding: 12px;
  text-align: center;
  background: #f0f2f5;
}

.btn-cotizar {
  background-color: #3498db;
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cotizar:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/* Quote List (cotización rápida) */
#quote-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quote-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.quote-info {
  flex: 1;
  font-size: 15px;
}

.quote-price {
  font-weight: 600;
  color: #2980b9;
  margin-left: 10px;
}

.remove-item {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.remove-item:hover {
  color: #c0392b;
}

.empty-quote {
  text-align: center;
  color: #95a5a6;
  font-size: 14px;
  padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .product-img {
    height: 200px;
  }

  .btn-cotizar {
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .product-body {
    padding: 20px;
  }

  .product-name {
    font-size: 16px;
  }

  .product-price {
    font-size: 18px;
  }
}
