/*
 * Products in an enabled category are presented as pricing plans.
 * Product data remains the single source of truth for names, prices and
 * features, so plans can be maintained from the PrestaShop catalog.
 */
body#category #js-product-list .products {
  align-items: stretch;
}

body#category #js-product-list .products > .js-product,
body#category #js-product-list .product-miniature,
body#category #js-product-list .product-miniature .thumbnail-container {
  height: 100%;
}

body#category #js-product-list .product-miniature .thumbnail-container {
  position: relative;
  display: flex;
  min-height: 560px;
  overflow: visible;
  background: #ffffff;
  border: 1px solid #dce7f6;
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(18, 64, 138, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body#category #js-product-list .product-miniature .thumbnail-container:hover {
  transform: translateY(-8px);
  border-color: rgba(7, 91, 234, 0.5);
  box-shadow: 0 26px 60px rgba(7, 70, 175, 0.16);
}

body#category #js-product-list .product-miniature .thumbnail-top:empty {
  display: none;
}

body#category #js-product-list .product-miniature .product-description {
  position: static;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: auto;
  padding: 32px 26px 26px;
  color: #071735;
  background: transparent;
  border-radius: 22px;
}

body#category #js-product-list .product-miniature .product-title {
  width: 100%;
  min-height: 2.8em;
  margin: 0;
  padding: 0 24px;
  overflow: visible;
  text-align: center;
  white-space: normal;
}

body#category #js-product-list .product-miniature .product-title a {
  display: block;
  overflow: visible;
  color: #071735;
  font: 700 1.25rem/1.3 "Space Grotesk", sans-serif;
  text-overflow: clip;
  white-space: normal;
}

body#category #js-product-list .product-miniature .product-price-and-shipping {
  min-height: auto;
  margin: 20px 0 24px;
  text-align: center;
}

body#category #js-product-list .product-miniature .product-price-and-shipping .price {
  color: #075bea !important;
  font: 800 clamp(1.7rem, 2.3vw, 2.25rem)/1 "Space Grotesk", sans-serif;
}

body#category #js-product-list .product-miniature .product-price-and-shipping .price::after {
  content: " / mois";
  color: #71809a;
  font: 600 0.9rem/1 "Space Grotesk", sans-serif;
}

body#category #js-product-list .product-miniature .regular-price {
  display: block;
  margin-bottom: 5px;
  color: #71809a !important;
}

body#category #js-product-list .category-product-description {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  padding: 24px 0 0;
  overflow: visible;
  color: #071735;
  background: transparent;
  border: 0;
  border-top: 1px solid #dce7f6;
  border-radius: 0;
  box-shadow: none;
}

body#category #js-product-list .category-product-description::before {
  display: none;
}

body#category #js-product-list .category-product-description__content {
  flex: 1 1 auto;
  color: #52627e;
  line-height: 1.65;
}

body#category #js-product-list .category-product-description__content * {
  color: #52627e !important;
  background: transparent !important;
}

body#category #js-product-list .category-product-description__content strong,
body#category #js-product-list .category-product-description__content b {
  color: #071735 !important;
}

body#category #js-product-list .category-product-description__content p {
  color: #52627e !important;
}

body#category #js-product-list .category-product-description__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body#category #js-product-list .category-product-description__content li {
  position: relative;
  margin: 12px 0;
  padding-left: 25px;
  color: #52627e !important;
}

body#category #js-product-list .category-product-description__content li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #075bea;
  content: "✓";
  font-weight: 800;
}

/* Restyle every account link embedded in formula descriptions. */
body#category #js-product-list .category-product-description__content :is(p, div):has(> a[href^="https://myaccount.01consulting.eu"]) {
  margin: 26px 0 0;
  padding: 0 !important;
  background: transparent !important;
  text-align: center;
}

body#category #js-product-list .category-product-description__content a[href^="https://myaccount.01consulting.eu"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 300px;
  min-height: 54px;
  height: auto !important;
  padding: 13px 24px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #28afe5, #0d95d6) !important;
  border: 2px solid #78c2e7 !important;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(13, 149, 214, 0.24);
  font: 700 1rem/1.2 "Space Grotesk", sans-serif !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body#category #js-product-list .category-product-description__content a[href^="https://myaccount.01consulting.eu"] > button {
  all: unset;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

body#category #js-product-list .category-product-description__content a[href^="https://myaccount.01consulting.eu"]:hover {
  transform: translateY(-2px);
  border-color: #0d95d6 !important;
  box-shadow: 0 16px 32px rgba(13, 149, 214, 0.32);
}

body#category #js-product-list .category-product-description__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 26px;
  padding: 0 22px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #075bea, #004ee0);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(7, 91, 234, 0.2);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body#category #js-product-list .category-product-description__cta:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(7, 91, 234, 0.28);
}

body#category #js-product-list .product-flags {
  top: 14px;
  left: 14px;
}

@media (max-width: 575.98px) {
  body#category #js-product-list .product-miniature .thumbnail-container {
    min-height: 0;
  }

  body#category #js-product-list .product-miniature .product-description {
    padding: 28px 22px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body#category #js-product-list .product-miniature .thumbnail-container,
  body#category #js-product-list .category-product-description__cta {
    transition: none;
  }

  body#category #js-product-list .product-miniature .thumbnail-container:hover,
  body#category #js-product-list .category-product-description__cta:hover {
    transform: none;
  }
}
