/**
* 2007-2024 PrestaShop
*
* 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
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* ============================================
   OneClickBeautify Footer Sections Styles
   ============================================ */

/* Environmental Impact Footer Styles */
.oneclickbeautify-eco-footer {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  padding: 50px 0;
  margin-top: 40px;
  border-top: 3px solid #4caf50;
}

.oneclickbeautify-instructions-footer + .oneclickbeautify-eco-footer {
  margin-top: 0;
}

.oneclickbeautify-eco-footer .eco-footer-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.eco-icon {
  color: #4caf50;
  stroke-width: 2;
}

.eco-footer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.eco-footer-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(76, 175, 80, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #4caf50;
  position: relative;
}

.eco-footer-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(76, 175, 80, 0.25);
}

/* Eco Rating Badge */
.eco-rating-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e8f5e9;
}

.eco-rating-badge {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 100px;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.eco-rating-badge .rating-number {
  font-size: 32px;
  line-height: 1;
}

.eco-rating-badge .rating-max {
  font-size: 18px;
  opacity: 0.9;
  margin-left: 2px;
}

.eco-rating-badge.excellent {
  background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
}

.eco-rating-badge.good {
  background: linear-gradient(135deg, #66bb6a 0%, #81c784 100%);
}

.eco-rating-badge.moderate {
  background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
}

.eco-rating-badge.poor {
  background: linear-gradient(135deg, #ef5350 0%, #e57373 100%);
}

.eco-rating-label {
  font-size: 16px;
  font-weight: 600;
  color: #2e7d32;
}

.eco-footer-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.eco-description {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: #424242;
  margin-bottom: 20px;
}

.eco-description h3,
.eco-description h4 {
  color: #2e7d32;
  margin-top: 15px;
  margin-bottom: 10px;
}

.eco-description ul,
.eco-description ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.eco-description p {
  margin-bottom: 10px;
}

.eco-footer-meta {
  display: flex;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.eco-footer-date {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.eco-footer-date svg {
  stroke: #4caf50;
  flex-shrink: 0;
}

/* Additional small badges for inline use (optional) */
.eco-badge-small {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #4caf50;
  color: white;
  margin-right: 8px;
}

.eco-badge-small.excellent {
  background: #2e7d32;
}

.eco-badge-small.good {
  background: #66bb6a;
}

.eco-badge-small.moderate {
  background: #ffa726;
}

.eco-badge-small.poor {
  background: #ef5350;
}

/* Instructions Footer Styles */
.oneclickbeautify-instructions-footer {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  padding: 50px 0;
  margin-top: 40px;
  border-top: 3px solid #2196f3;
}

.oneclickbeautify-instructions-footer .instructions-footer-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #1565c0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.instructions-icon {
  color: #2196f3;
  stroke-width: 2;
}

.instructions-footer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.instruction-footer-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(33, 150, 243, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #2196f3;
}

.instruction-footer-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(33, 150, 243, 0.25);
}

.instruction-footer-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.instruction-description {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: #424242;
  margin-bottom: 20px;
}

.instruction-description h3,
.instruction-description h4 {
  color: #1565c0;
  margin-top: 15px;
  margin-bottom: 10px;
}

.instruction-description ul,
.instruction-description ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.instruction-description li {
  margin-bottom: 8px;
}

.instruction-description p {
  margin-bottom: 10px;
}

.instruction-description strong {
  color: #1565c0;
}

.instruction-footer-meta {
  display: flex;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.instruction-footer-date {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.instruction-footer-date svg {
  stroke: #2196f3;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .oneclickbeautify-eco-footer,
  .oneclickbeautify-instructions-footer {
    padding: 30px 0;
    margin-top: 20px;
  }

  .oneclickbeautify-eco-footer .eco-footer-title,
  .oneclickbeautify-instructions-footer .instructions-footer-title {
    font-size: 24px;
    margin-bottom: 30px;
    flex-direction: column;
    gap: 8px;
  }

  .eco-footer-list,
  .instructions-footer-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .eco-footer-item,
  .instruction-footer-item {
    padding: 20px;
  }

  .eco-description,
  .instruction-description {
    font-size: 14px;
  }

  .eco-rating-badge-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .eco-rating-badge {
    min-width: 80px;
    padding: 10px 16px;
  }

  .eco-rating-badge .rating-number {
    font-size: 28px;
  }

  .eco-rating-badge .rating-max {
    font-size: 16px;
  }

  .eco-rating-label {
    font-size: 14px;
  }
}

.md-2 {
  margin-bottom: 20px;
}

.oneclickbeautify-instructions-footerr {
  margin-bottom: 45px !important;
}
.oneclickbeautify-pros-cons-footerrrr {
  margin-bottom: 45px !important;
}

/* ============================================
   Pros & Cons Styles
   ============================================ */

/* Pros and Cons Footer Styles */
.oneclickbeautify-pros-cons-footer {
  background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
  padding: 50px 0;
  margin-top: 40px;
  border-top: 3px solid #ff9800;
  margin-bottom: 45px !important;
}

.oneclickbeautify-pros-cons-footer .product-description h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #e65100;
}

.pros-cons-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.pros-section,
.cons-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pros-section {
  border-left: 4px solid #28a745;
}

.cons-section {
  border-left: 4px solid #dc3545;
}

.pros-section:hover,
.cons-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.pros-title,
.cons-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.pros-title {
  color: #28a745;
}

.cons-title {
  color: #dc3545;
}

.pros-content,
.cons-content {
  font-size: 15px;
  line-height: 1.7;
  color: #424242;
}

.pros-content ul,
.cons-content ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.pros-content li,
.cons-content li {
  margin-bottom: 8px;
}

.pros-content p,
.cons-content p {
  margin-bottom: 10px;
}

.pros-cons-footer-meta {
  display: flex;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.pros-cons-footer-date {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pros-cons-footer-date svg {
  stroke: #ff9800;
  flex-shrink: 0;
}

/* Pros and Cons in Product Extra Content */
#oneclickbeautify-pros-cons .pros-cons-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#oneclickbeautify-pros-cons .pros-cons-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#oneclickbeautify-pros-cons .pros-section,
#oneclickbeautify-pros-cons .cons-section {
  margin-bottom: 15px;
}

#oneclickbeautify-pros-cons .pros-title,
#oneclickbeautify-pros-cons .cons-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

#oneclickbeautify-pros-cons .pros-title {
  color: #28a745;
}

#oneclickbeautify-pros-cons .cons-title {
  color: #dc3545;
}

/* Responsive Design for Pros & Cons */
@media (max-width: 768px) {
  .oneclickbeautify-pros-cons-footer {
    padding: 30px 0;
    margin-top: 20px;
  }

  .oneclickbeautify-pros-cons-footer .product-description h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .pros-cons-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pros-section,
  .cons-section {
    padding: 20px;
  }

  .pros-title,
  .cons-title {
    font-size: 16px;
  }

  .pros-content,
  .cons-content {
    font-size: 14px;
  }
}
