/*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-3.0.php
*
* @author    FMM Modules
* @copyright Copyright 2025 © FMM Modules
* @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/
  .related_products_slider_view {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 0;
}
.related-slider-product {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  min-width: 200px;
  background: #fff;
  text-align: center;
  flex-shrink: 0;
}
.related-slider-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}
.related-slider-name {
  font-weight: 600;
  font-size: 14px;
  margin: 8px 0;
}
.related-slider-price {
  color: #24b9d7;
  font-size: 16px;
  margin-bottom: 8px;
}
.add-to-cart-btn {
  font-size: 13px;
  padding: 6px 12px;
}
.related_products_slider_view {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 15px 10px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.related_products_slider_view::-webkit-scrollbar {
  height: 8px;
}
.related_products_slider_view::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.related_products_slider_view::-webkit-scrollbar-track {
  background: transparent;
}

.related-slider-product {
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 14px;
  border-radius: 12px;
  min-width: 220px;
  background: #fff;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.3s ease-in-out;
}
.related-slider-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.related-slider-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.related-slider-name {
  font-weight: 600;
  font-size: 15px;
  margin: 10px 0 6px;
  color: #333;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-slider-price {
  color: #24b9d7;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}

.add-to-cart-btn {
  font-size: 13px;
  padding: 8px 14px;
  background-color: #24b9d7;
  border: none;
  color: #fff;
  border-radius: 6px;
  transition: background-color 0.3s;
}
.add-to-cart-btn:hover {
  background-color: #1b91a8;
}