/**
 * 2025 Manus AI
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 *
 * @author    Manus AI
 * @copyright 2025 Manus AI
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

.bestsellers-products {
  margin-bottom: 2rem;
}

.bestsellers-products .block-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ebebeb;
}

.bestsellers-products .bestsellers-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bestsellers-products .bestseller-item {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid #f6f6f6;
}

.bestsellers-products .bestseller-item:last-child {
  border-bottom: none;
}

.bestsellers-products .bestseller-image {
  flex: 0 0 80px;
  margin-right: 1rem;
}

.bestsellers-products .bestseller-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.bestsellers-products .bestseller-content {
  flex: 1;
}

.bestsellers-products .bestseller-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.bestsellers-products .bestseller-name a {
  color: #232323;
  text-decoration: none;
}

.bestsellers-products .bestseller-name a:hover {
  color: #2fb5d2;
}

.bestsellers-products .bestseller-brand {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #7a7a7a;
}

.bestsellers-products .bestseller-brand span {
  font-weight: 600;
}

.bestsellers-products .bestseller-price {
  font-size: 1rem;
  font-weight: 600;
  color: #232323;
  margin-bottom: 0.5rem;
}

.bestsellers-products .bestseller-discount {
  margin-bottom: 0.5rem;
}

.bestsellers-products .regular-price {
  text-decoration: line-through;
  color: #7a7a7a;
  font-size: 0.875rem;
  margin-right: 0.5rem;
}

.bestsellers-products .discount-percentage {
  background: #f39d72;
  color: white;
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  border-radius: 2px;
}

.bestsellers-products .bestseller-description {
  font-size: 0.875rem;
  color: #7a7a7a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.bestsellers-products .bestseller-actions {
  margin-top: 0.75rem;
}

.bestsellers-products .add-to-cart {
  display: inline-block;
  background-color: #2fb5d2;
  border-color: transparent;
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.bestsellers-products .add-to-cart:hover {
  background-color: #2592a9;
}

/* Right column specific styling */
.right-column .bestsellers-products .bestseller-item {
  flex-direction: column;
}

.right-column .bestsellers-products .bestseller-image {
  flex: 0 0 auto;
  margin-right: 0;
  margin-bottom: 0.75rem;
  text-align: center;
}

.right-column .bestsellers-products .bestseller-description {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .bestsellers-products .bestseller-item {
    flex-direction: column;
  }
  
  .bestsellers-products .bestseller-image {
    flex: 0 0 auto;
    margin-right: 0;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .bestsellers-products .bestseller-image img {
    max-width: 120px;
  }
}
