/**
 * 2007-2025 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-2025 PrestaShop SA
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 */

.routine-block-section {
  margin: 40px 0;
  padding: 0 24px;
}

.routine-block-section h1 {
  font-family: "Ciron Classic";
  font-size: 36px;
  font-style: normal;
  font-weight: 650;
  line-height: 48px;
  display: flex;
  padding: 0 24px 32px 0px;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

.routine-container {
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
}

.routine-image-section {
  flex: 0 0 45%;
  position: relative;
}

.routine-main-image {
  width: 100%;
  height: auto;
  max-height: 508px;
  border-radius: 12px;
  object-fit: cover;
}

.routine-content {
  flex: 1;
  margin-left: 24px;
}

.routine-no-image {
  text-align: center;
}


.routine-block-section .card-header {
  background-color: white;
  padding: 0;
  margin: 0;
  border: none;
  display: flex;
  padding: 24px 0 24px 0;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-dark, #696969);
}

.routine-block-section .card-header:first-child  {
  padding-top: 0;
}

.routine-block-section .card-header:has(.btn-link:not(.collapsed)) {
  border-bottom: none;
}

@media (max-width: 768px) {
  .routine-block-section .card-header {
    padding: 16px 0  16px 0;
  }
}


.routine-block-section .card-header button {
    text-decoration: none;
    padding: 0;
    display: flex;
    gap: 10px;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.routine-block-section .card-header span {
  color: #191818;
  font-family: "Ciron Classic";
  font-size: 24px;
  font-style: normal;
  font-weight: 650;
  line-height: 32px;
}
@media (max-width: 768px) {
  .routine-block-section .card-header span {
    font-size: 20px;
    line-height: 28px;
  }
}

.routine-accordion-cms-wrapper-content {
  /* padding: 16px 0 0; */
}
.routine-accordion-cms-wrapper-content .cms-accordion {
  margin: 0;
}

.section-toggle-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.section-toggle-icon .icon-plus,
.section-toggle-icon .icon-minus {
  position: absolute;
  top: 0;
  left: 0;
}

.section-toggle-icon .icon-plus {
  opacity: 1;
}

.section-toggle-icon .icon-minus {
  opacity: 0;
}

.routine-block-section .card-header button[aria-expanded="true"] .section-toggle-icon .icon-plus {
  opacity: 0;
}

.routine-block-section .card-header button[aria-expanded="true"] .section-toggle-icon .icon-minus {
  opacity: 1;
}

.routine-block-section .products article {
  max-width: unset;
  margin-top: 0;
}
.routine-block-section.products.row.products .product-miniature {
  display: flex;
  flex-direction: row;
}

.routine-block-section .thumbnail-container {
  margin-bottom: 8px;
}

.routine-block-section .thumbnail-container .product-thumbnail {
  padding: 10%;
}

.routine-block-section .products article .product-description .product-manufacturer {
  color: #494C4F;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.routine-block-section .products article .product-description .product-title {
  height: auto;
  margin-bottom: 8px;
}

.routine-block-section .products article .product-description .product-title a {
  font-size: 16px !important;
  line-height: 24px;
  font-weight: 650;
}

.routine-section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.routine-section-info {
  margin-bottom: 20px;
}

.routine-section-subtitle {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.routine-section-description {
  color: #191818;
  font-family: "Ciron Text";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 16px;
  width: 90%;
}

.routine-section-link {
  width: fit-content;
  color: #DC233E;
  text-align: center;
  font-family: "Ciron Text";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  display: flex;
  gap: 10px;
}

.routine-products {
  margin-top: 20px;
}

.routine-product-card {
  display: flex;
  height: 100%;
}

.routine-product-card.row {
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 24px;
  max-width: 900px;
}

.routine-product-card.row > div {
  padding-left: 0;
  padding-right: 0;
  display: flex;
  width: 100%;
}

.routine-product-card.row .row > div {
  flex: 1;
  max-width: 193px;
  margin-left: 24px;
  padding: 0;
}

.routine-product-card.row .row > div:first-child {
  margin-left: 0;
}

.routine-block-section .products article .product-price-and-shipping .product-miniature-prices {
  margin-bottom: 0;
}

.routine-block-section .products article .product-price-and-shipping .product-miniature-prices .price{
  font-size: 16px;
  line-height: 24px;
  font-weight: 650;
}

.products.routine-product-card article .product-description .product-subtitle {
  display: none;
}
.routine-product-card .an_productattributes-add{
  display: none;
} 
.routine-product-card .wishlist-button-add {
  display: none;
}

.routine-no-products {
  text-align: center;
  padding: 20px;
  color: #666;
}

.routine-no-products p {
  margin: 0;
  font-size: 14px;
}

.routine-no-sections {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.routine-no-sections p {
  margin: 0;
  font-size: 16px;
}

.panel-group .panel {
  border: none;
  box-shadow: none;
  margin-bottom: 20px;
}

.panel-group .panel-heading {
  background: transparent;
  border: none;
  padding: 0;
}

.panel-group .panel-title a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid white;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

#routine-1, #routine-2, #routine-3 {
  border-bottom: 1px solid var(--border-dark, #696969);
}

.panel-group .panel-title .pull-right {
  font-size: 16px;
}

.panel-group .panel-body {
  padding: 20px 0;
  border: none;
}

.routine-create-section {
  background-color: #F7F7F7;
  padding: 16px;
  text-align: start;
}

.routine-create-section button {
  height: 53px;
}

.routine-create-title {
  font-family: "Ciron Classic";
  font-size: 24px;
  font-style: normal;
  font-weight: 650;
  line-height: 32px;
  color: #191818;
  margin: 0 0 16px 0;
}

.routine-create-description {
  font-family: "Ciron Text";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  color: #191818;
  margin: 0 0 32px 0;
}

@media (max-width: 768px) {

  .routine-block-section {
    padding: 0 16px;
  }

  .routine-block-section h1 {
    font-size: 28px;
    line-height: 36px;
    padding: 0;
  }

  .panel-group .panel-title a {
    font-size: 14px;
    line-height: 16px;
  }

  .routine-product-card.row {
    gap: 0;
  }

  .routine-product-card .row {
    margin-bottom: 16px !important;
    flex-direction: column;
  }

  .routine-product-card.row .row > div {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-left: 0;
  }

  .routine-product-card article {
    flex-direction: row !important;
    padding: 12px;
  }

  .routine-block-section .card-header:first-child  {
    padding-top: 16px;
  }

  .routine-block-section .thumbnail-container {
    height: fit-content;
    width: 65%;
    max-width: 104px;
    min-width: 90px;
  }

  .routine-block-section .thumbnail-container .product-thumbnail {
    min-width: 90px;
    padding: 0;
    margin: 0 !important;
    border-radius: 8px;
  }

  .routine-block-section .products article .product-description {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 4px;
  }

  .routine-block-section .products article .product-description .product-manufacturer {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 0;
  }

  .routine-product-card .product-title {
    margin: 0 !important;
    height: unset !important;
  }

  .routine-block-section .products article .product-description .product-title a {
    font-size: 14px !important;
    line-height: 16px;
  }

  .routine-product-card .product-price-and-shipping {
    position: absolute;
    left: 120px;
    bottom: 10px;
    padding: 0 !important;
  }

  .routine-block-section .products article .product-price-and-shipping .product-miniature-prices .price{
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    font-family: "Ciron Text";
  }

  .products.routine-product-card article .product-description .product-subtitle {
    display: -webkit-box;
    margin-bottom: 0;
    font-size: 14px;
    color: #494C4F;
    line-height: 20px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .routine-container {
    flex-direction: column;
  }
  
  .routine-image-section {
    flex: none;
    width: 100%;
  }

  .routine-main-image {
    max-height: 187px;
  }
  
  .routine-content {
    padding-left: 0;
    margin-left: 0;
  }
  
  .routine-create-section {
    padding: 24px;
  }
  
  .routine-create-title {
    font-size: 20px;
    line-height: 28px;
  }
  
  .routine-create-description {
    font-size: 16px;
    line-height: 24px;
  }
  
  .routine-create-button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

