/*
* 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)
*/
 
 .ai-section-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 8px;
}

.ai-tile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.tile-item {
  flex: 1 1 230px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s;
}

.tile-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.tile-title a {
  font-weight: 600;
  font-size: 15px;
  color: #222;
  text-decoration: none;
  display: block;
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-description {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  height: 36px;
  overflow: hidden;
  line-height: 1.4;
}

.tile-attributes span {
  display: block;
  font-size: 12px;
  color: #999;
}

.tile-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.tile-price strong {
  font-size: 16px;
  color: #000;
}

.tile-select .rp_select_button {
  background-color: #24b9d7;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.tile-select .rp_select_button:hover {
  background-color: #0a8aa0;
}

.total_price {
  margin-top: 25px;
  text-align: right;
}

.related_total strong {
  font-size: 15px;
  color: #333;
}

.related_total span {
  font-size: 17px;
  font-weight: bold;
  color: #24b9d7;
}

.enhanced-add-button {
  background-color: #28a745;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s;
}

.enhanced-add-button:hover {
  background-color: #1e7e34;
}