
/* ========================================
   FÉRON PARIS - THÈME PERSONNALISÉ
   ======================================== */


/* 01 - TYPOGRAPHIE */

@font-face {
    font-family: 'DaunPenh';
    src: url('../fonts/DAUNPENH.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-body-font-family: 'DaunPenh', sans-serif;
    --bs-font-sans-serif: 'DaunPenh', sans-serif;
}

body {
    font-family: 'DaunPenh', sans-serif;
}


/* 02 - COULEURS ET LIENS */

:root {
    --bs-primary: #000000;
    --bs-primary-rgb: 0, 0, 0;
    --bs-link-color: #000000;
    --bs-link-color-rgb: 0, 0, 0;
    --bs-link-hover-color: #666666;
    --bs-link-hover-color-rgb: 102, 102, 102;
}

a {
    color: #000000;
}

a:hover {
    color: #666666;
}


/* 03 - BOUTONS PRINCIPAUX */

.btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #000000;
    --bs-btn-border-color: #000000;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #333333;
    --bs-btn-hover-border-color: #333333;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #333333;
    --bs-btn-active-border-color: #333333;
    --bs-btn-focus-shadow-rgb: 100, 100, 100;
    --bs-btn-disabled-bg: #666666;
    --bs-btn-disabled-border-color: #666666;
}


/* 04 - HEADER ET NAVIGATION */

#header,
#header .header-top,
#header .header-bottom {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.ps-mainmenu__tree-link {
    text-transform: uppercase;
    font-weight: 400;
}

.ps-mainmenu__tree-link[aria-current="page"] {
    font-weight: 700;
}

.breadcrumb__wrapper {
    display: none;
}


/* 05 - CATALOGUE */

body#category h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
    text-align: right;
    text-transform: uppercase;
    font-weight: 400;
}

body#category .category__header {
    padding-top: 0;
}

body#category #js-product-list-top {
    margin-top: 30px;
}

body#category .products__selection {
    padding-top: 30px;
}


/* 06 - PIED DE PAGE */

#footer a {
    color: #ffffff;
}

#footer a:hover {
    color: #cccccc;
}

#footer .footer__main {
    padding-top: 25px;
    padding-bottom: 15px;
}

#footer .footer__main-top {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#footer .footer-block__title {
    text-transform: uppercase;
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
}

#footer .footer-block__list {
    gap: 0 !important;
    margin: 0 !important;
}

#footer .footer-block__list li,
#footer .footer-block__list li a {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 24px !important;
}

#footer .copyright {
    margin: 15px 0 0 !important;
    padding: 5px 0 !important;
}



/* 07 - DIAPORAMA */

body#index .carousel-indicators {
    display: none !important;
}


/* Header - Connexion et panier */

#header .ps-customersignin,
#header .ps-shoppingcart {
    text-transform: uppercase;
}


/* Newsletter - Bouton en capitales */

.ps-emailsubscription .btn-primary {
    text-transform: uppercase;
}


/* Pied de page - Version ultra compacte */

#footer .footer__main {
    padding-top: 15px !important;
    padding-bottom: 10px !important;
}

#footer .footer__main-top,
#footer .footer-block,
#footer .footer-block__content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#footer .footer-block__title {
    margin-bottom: 5px !important;
}

#footer .footer-block__list li,
#footer .footer-block__list li a {
    line-height: 18px !important;
}

#footer .ps-contactinfo__infos {
    line-height: 18px;
    margin-bottom: 8px;
}

#footer .copyright {
    margin: 5px 0 0 !important;
    padding: 0 !important;
}



/* 08 - FICHES PRODUITS */

/* Messages informatifs */

body#product .alert-info {
    --bs-alert-color: #000000;
    --bs-alert-bg: #f5f5f5;
    --bs-alert-border-color: #e5e5e5;
    background-color: #f5f5f5;
    border-color: #e5e5e5;
    color: #000000;
}


/* Boutons à contour anthracite */

.btn-outline-primary {
    --bs-btn-color: #212529;
    --bs-btn-border-color: #212529;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #212529;
    --bs-btn-hover-border-color: #212529;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #212529;
    --bs-btn-active-border-color: #212529;
    --bs-btn-focus-shadow-rgb: 33, 37, 41;
}


/* Fiches produits - Taille des textes */

body#product .product-description,
body#product .product-variants,
body#product .product-variants select,
body#product .product-variants label {
    font-size: 20px;
}


/* Fiches produits - Typographie des déclinaisons */

body#product .product-variant__legend,
body#product .product-variant__selected,
body#product .product__variants .form-select {
    font-size: 20px;
}


/* Fiches produits - Typographie du descriptif */

body#product .product__description-short,
body#product .product__description-short p {
    font-size: 20px;
}


/* Header - Agrandissement du logo et du menu */

.ps-mainmenu__tree-link {
    font-size: 22px;
    letter-spacing: 0.5px;
}

#header .header-bottom__logo img {
    width: 180px;
    height: auto;
    max-width: 100%;
}


/* Header - Conservation des proportions du logo */

#header .header-bottom__logo img {
    width: 180px;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
}


/* Fiches produits - Avertissement de stock en noir */

body#product .product__availability-status.text-warning,
body#product .product__availability-status.text-warning .product__availability-icon {
    color: #000000 !important;
}


/* Fiches produits - Texte de stock en noir */

body#product .product__availability-status.text-warning .product__availability-messages,
body#product .product__availability-status.text-warning .product__availability-messages span,
body#product .product__availability-status.text-warning .product__availability-messages small {
    color: #000000 !important;
}



/* 09 - PICTOGRAMMES DE RÉASSURANCE */

.blockreassurance .reassurance__image {
    width: 35px !important;
    min-width: 35px !important;
    flex: 0 0 35px !important;
}

.blockreassurance .reassurance__image img,
.blockreassurance .reassurance__image svg {
    width: 35px !important;
    height: auto !important;
    filter: brightness(0);
}

.blockreassurance .reassurance {
    gap: 15px !important;
}


/* Réassurance - Équilibre visuel des pictogrammes */

.blockreassurance .reassurance:first-child .reassurance__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blockreassurance .reassurance:first-child .reassurance__image img,
.blockreassurance .reassurance:first-child .reassurance__image svg {
    width: 27px !important;
}



/* 10 - PANIER */

/* Masquer visuellement le titre Panier */

body#cart .cart-grid__content h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}

/* Récapitulatif de commande en capitales */

body#cart .cart-grid__aside-wrapper > h2 {
    text-transform: uppercase;
}

/* Texte blanc sur le bouton de commande */

body#cart .cart-grid__aside .btn-primary {
    color: #ffffff !important;
}


/* Panier - Suppression du lien Retirer */

body#cart .js-remove-from-cart {
    display: none;
}

/* Panier - Confirmation en gris clair */

body#cart .alert-success {
    --bs-alert-color: #000000;
    --bs-alert-bg: #f5f5f5;
    --bs-alert-border-color: #e5e5e5;
    background-color: #f5f5f5;
    border-color: #e5e5e5;
    color: #000000;
}

body#cart .alert-success .material-icons {
    color: #000000 !important;
}



/* 11 - FENÊTRE DE CONFIRMATION DU PANIER */

#blockcart-modal-title {
    font-size: 0 !important;
}

#blockcart-modal-title .blockcart-modal__title-icon {
    font-size: 30px !important;
    color: #000000 !important;
}

#blockcart-modal .btn-primary {
    color: #ffffff !important;
}


/* 12 - ALERTE DE DISPONIBILITÉ */

.ps-emailalerts--product,
.ps-emailalerts--product .ps-emailalerts__content {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

EOFcat >> ~/feron-moderne/prestashop/themes/feron/assets/css/custom.css <<'EOF'

/* 12 - ALERTE DE DISPONIBILITÉ */

.ps-emailalerts--product,
.ps-emailalerts--product .ps-emailalerts__content {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}


/* Disponibilité - Rupture de stock en noir */

#product-availability .text-danger,
#product-availability .text-danger * {
    color: #000000 !important;
}


/* Fiche produit - Hiérarchie des boutons */

body#product .product-add-to-cart .btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

body#product .ps-emailalerts--product .btn-primary {
    background-color: #666666 !important;
    border-color: #666666 !important;
    color: #ffffff !important;
}


/* Ajouter au panier - Noir même en rupture de stock */

body#product .product-add-to-cart .btn-primary:disabled,
body#product .product-add-to-cart .btn-primary.disabled {
    opacity: 1 !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
}



/* 13 - PAGE DE CONNEXION */

body#authentication h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}

/* Remplissage automatique des champs */

body#authentication input:-webkit-autofill,
body#authentication input:-webkit-autofill:hover,
body#authentication input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #f5f5f5 inset !important;
    -webkit-text-fill-color: #000000 !important;
}


/* Connexion - Boutons et pictogramme */

body#authentication button[type="submit"] {
    text-transform: uppercase;
}

body#authentication .input-group button {
    padding-left: 10px !important;
    padding-right: 10px !important;
    min-width: 40px !important;
    width: 40px !important;
}

body#authentication .input-group button .material-icons {
    font-size: 18px !important;
}


/* Connexion - Pictogramme mot de passe discret */

body#authentication .input-group button {
    background-color: #f5f5f5 !important;
    border-color: #dee2e6 !important;
    color: #000000 !important;
    border-left: none !important;
}

body#authentication .input-group button .material-icons {
    color: #000000 !important;
    font-size: 16px !important;
}

body#authentication .input-group button:hover {
    background-color: #e5e5e5 !important;
}



/* 14 - PAGE DE CONTACT */

body#contact .ps-contactinfo__title,
body#contact h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}


/* Contact - Espacement sous le header */

body#contact #wrapper {
    padding-top: 40px !important;
}


/* Contact - Espacement des deux colonnes */

body#contact .columns-container {
    padding-top: 40px !important;
}



/* Pages CMS - Titres */

body#cms h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}

body#cms #wrapper h2,
body#cms #wrapper h3,
body#cms #wrapper h4 {
    text-transform: uppercase;
}



/* Plan du site - Titres */

body#sitemap h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}

body#sitemap #wrapper h2,
body#sitemap #wrapper h3,
body#sitemap #wrapper h4 {
    text-transform: uppercase;
}


/* Plan du site - Arborescence grise */

body#sitemap .sitemap__list--nested {
    --bs-primary-border-subtle: #cccccc;
}


/* Suivi de commande - Suppression du titre */

body#guest-tracking h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}


/* Création de compte - Suppression du titre */

body#registration h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}


/* Création de compte - Bouton en majuscules */

body#registration button[type="submit"],
body#registration input[type="submit"] {
    text-transform: uppercase;
}


/* Promotions - Titre et bouton */

body#prices-drop h1.page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}

body#prices-drop #wrapper .btn-primary {
    text-transform: uppercase;
    color: #ffffff !important;
}


/* Promotions - Suppression du menu latéral */

body#prices-drop #left-column {
    display: none !important;
}

body#prices-drop #content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}


/* Promotions - Espacement sous le header */

body#prices-drop .columns-container {
    padding-top: 40px !important;
}


/* Footer - Réseaux sociaux */

.ps-socialfollow a {
    color: #000000 !important;
}

.ps-socialfollow svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.ps-socialfollow {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}


/* Bouton du formulaire de contact */
body#contact button[type="submit"],
body#contact input[type="submit"] {
    text-transform: uppercase;
}

/* Boutons radio et cases à cocher */
.form-check-input:checked {
    background-color: #212529;
    border-color: #212529;
}

.form-check-input:focus {
    border-color: #999999;
    box-shadow: none;
}

/* Masquer les titres des étapes de commande */
.step__title .page-title-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
    padding: 0;
}

/* Lien vers les CGV lors du paiement */
#conditions-to-approve .js-terms a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Liens de modification et suppression des adresses */
a[data-link-action="edit-address"],
a[data-link-action="delete-address"] {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Liens Modifier et Supprimer des adresses */
a[data-link-action="edit-address"].link-body-emphasis,
a[data-link-action="delete-address"].link-danger {
    color: #000000 !important;
    font-weight: 700 !important;
    --bs-link-opacity: 1;
}

/* Neutralisation du rouge du lien Supprimer */
a[data-link-action="delete-address"] {
    --bs-danger-rgb: 0, 0, 0;
    color: #000000 !important;
    text-decoration-color: #000000 !important;
    font-weight: 700 !important;
}

/* Newsletter - Confirmation en gris clair */
.ps-emailsubscription .alert-success {
    background-color: #f0f0f0 !important;
    border-color: #cccccc !important;
    color: #000000 !important;
}

/* Masquer le titre des produits de la même catégorie */
.ps-categoryproducts .section-title {
  display: none !important;
}

.ps-mainmenu__tree-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Menu - Suppression du rectangle de focus */
.ps-mainmenu__tree-link:focus {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

/* Page d'accueil du compte client */
#my-account #center-column > .row > .col-lg-3 {
    display: none;
}

#my-account #center-column > .row > .col-lg-9 {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

#my-account .page-header {
    display: none;
}

#my-account .account-menu--main * {
    font-weight: 400 !important;
}

/* Espace client - messages informatifs */
.page-customer-account .alert-info {
    background-color: #f5f6f7 !important;
    border-color: #e5e5e5 !important;
    color: #000 !important;
}

/* Espace client - suppression du titre du menu lateral */
.account-menu--sidebar .account-menu__title {
    display: none !important;
}

/* Bandeau promotionnel Féron */
.feron-promo-banner {
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.feron-promo-banner a,
.feron-promo-banner span {
    display: block;
    padding: 12px 15px 5px;
    line-height: 1;
    color: #fff;
    text-decoration: none;
}

.feron-promo-banner a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .feron-promo-banner {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
}
