/* Custom Odoip – affichage texte professionnel (cartes produits, descriptions, listes) */

/* ========== Affichage type Cloud / hébergement web (référence 4 cartes) ========== */
#products .package,
.section.products .package {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.section.products .package .package-side-left {
    width: 100%;
    order: 1;
}

.section.products .package .package-footer {
    width: 100%;
    order: 2;
    flex-direction: column;
    display: flex;
    align-items: center;
}

.section.products .package-featured .label-corner.label-primary {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 6px 6px;
    padding: 0.35em 1em;
    font-size: 0.85em;
}

.section.products .package .package-header {
    text-align: center;
    padding-bottom: 0.5em;
}

.section.products .package .package-header .graphic-item {
    margin-left: auto;
    margin-right: auto;
}

.section.products .package .package-title {
    text-align: center;
    color: var(--brand-primary);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

.section.products .package .package-header .package-price {
    text-align: center;
}

.section.products .package .package-header .price-amount {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    line-height: 1.2;
}

.section.products .package .package-header .price-cycle {
    font-size: var(--font-size-sm);
    color: var(--text-lighter-color);
}

.section.products .package .package-footer .package-price {
    display: none;
}

.section.products .package .package-body {
    border-top: 2px solid var(--brand-primary);
    margin-top: 0.5em;
    padding-top: 1em;
}

.section.products .package .package-features-title {
    text-align: center;
}

/* Bloc description des cartes produits */
.package .package-body .package-content {
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--text-body-color);
}

.package .package-body .package-content > div,
.package .package-body .package-content > *:not(ul) {
    line-height: 1.65;
}

.package .package-body .package-content p,
.package .package-body .package-content > div > p {
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.65;
}

.package .package-body .package-content p:last-child {
    margin-bottom: 0;
}

/* Textes en gras en bas du bloc : centrés (sauf la liste de caractéristiques) */
.package .package-body .package-content > *:last-child:not(ul),
.package .package-body .package-content > *:nth-last-child(2):not(ul) {
    text-align: center;
}

/* Titre "Caractéristiques" */
.package .package-features-title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-heading-color);
    margin: 1em 0 0.5em 0;
    padding: 0;
    line-height: 1.3;
}

/* Listes de caractéristiques (package-features) */
.package .package-features {
    margin-top: 0.75em;
    margin-bottom: 0;
    padding-left: 1.25em;
    list-style-position: outside;
}

.package .package-features li {
    margin-bottom: 0.5em;
    line-height: 1.55;
    padding-left: 0.25em;
}

.package .package-features li:last-child {
    margin-bottom: 0;
}

/* Liste avec icônes (style référence : lignes pointillées, icônes gris) */
.package .package-features-with-icons {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5em;
    border-top: 1px dotted var(--ui-block-divider-color, #e0e0e0);
}

.package .package-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    margin-bottom: 0;
    padding: 0.6em 0;
    line-height: 1.5;
    padding-left: 0;
    border-bottom: 1px dotted var(--ui-block-divider-color, #e0e0e0);
}

.package .package-feature-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.package .package-feature-item .lm,
.package .package-content .package-feature-item i.lm {
    flex-shrink: 0;
    margin-top: 0.15em;
    color: var(--text-heading-color);
    font-size: 1.05em;
    font-family: lagom-medium-icons !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

.package .package-feature-text {
    flex: 1;
}

/* Bouton « Commandez maintenant » centré, majuscules */
.package .package-footer {
    text-align: center;
}

.package .package-footer .btn-order-now {
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    width: 100%;
    max-width: 280px;
}

/* Listes description "clear" : icône + séparateurs pointillés */
.package .package-content ul:not(.package-features-with-icons) {
    list-style: none;
    padding-left: 0;
    border-top: 1px dotted var(--ui-block-divider-color, #e0e0e0);
}

.package .package-content ul:not(.package-features-with-icons) li {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    margin-bottom: 0;
    padding: 0.6em 0;
    line-height: 1.5;
    padding-left: 0;
    border-bottom: 1px dotted var(--ui-block-divider-color, #e0e0e0);
}

.package .package-content ul:not(.package-features-with-icons) li:last-child {
    border-bottom: none;
}

.package .package-content ul:not(.package-features-with-icons) li::before {
    font-family: lagom-medium-icons;
    content: "\e903";
    color: var(--text-heading-color);
    flex-shrink: 0;
    margin-top: 0.15em;
    font-size: 1.05em;
}

/* Section "Inclus avec les offres" / list-features */
.section-body .list-features.list-info li {
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.section-body .panel-body p {
    margin-bottom: 0.75em;
    line-height: 1.6;
}

/* Site (homepage, sections) – paragraphes et listes */
.site .site-section p {
    line-height: 1.65;
    margin-bottom: 0.85em;
}

.site .site-section ul:not([class]) li {
    margin-bottom: 0.35em;
    line-height: 1.55;
}
