
/* ==========================================================
   AGyS — modernisation visuelle non destructive
   PrestaShop historique conservé
   ========================================================== */

html {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    color: #24343b;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
    font-size: 15px;
}

a {
    transition:
        color .18s ease,
        background-color .18s ease,
        border-color .18s ease,
        opacity .18s ease,
        transform .18s ease;
}


/* ==========================================================
   STRUCTURE GÉNÉRALE
   ========================================================== */

#page.pos_page {
    background: transparent;
}

.page-inner > .container {
    max-width: 1180px;
}

#columns .main {
    background: rgba(255,255,255,.985);
    box-sizing: border-box;
}

#center_column {
    box-sizing: border-box;
}

#center_column > h1,
#center_column > h2,
#center_column .page-heading {
    color: #173846;
    letter-spacing: -.02em;
}

.breadcrumb {
    margin-bottom: 20px !important;
    padding: 11px 16px !important;

    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(30,140,180,.13) !important;
    border-radius: 8px !important;

    color: #647a84 !important;
    box-shadow: none !important;
}


/* ==========================================================
   HEADER — ON GARDE LA STRUCTURE PRESTASHOP
   ========================================================== */

#header {
    background: rgba(255,255,255,.98) !important;

    border-bottom:
        1px solid rgba(22,121,159,.11);

    box-shadow:
        0 8px 26px rgba(20,75,97,.055);
}

#header .header-content {
    background: transparent !important;
}

#header_logo img {
    opacity: 1 !important;
}

#header a {
    text-decoration: none;
}

#header_links a,
#header_user_info a,
#languages_block_top a,
#currencies_block_top a {
    color: #304851 !important;
}

#header_links a:hover,
#header_user_info a:hover,
#languages_block_top a:hover {
    color: #1da9dc !important;
}


/* PANIER */

#shopping_cart {
    border: 0 !important;
}

#shopping_cart a {
    border: 0 !important;
    border-radius: 7px !important;

    color: #167fa8 !important;

    box-shadow: none !important;
}

#shopping_cart a:hover {
    color: #0b607f !important;
}


/* ==========================================================
   SIDEBAR
   ========================================================== */

#left_column .block {
    margin-bottom: 18px !important;

    overflow: hidden;

    background: rgba(255,255,255,.97) !important;

    border:
        1px solid rgba(29,150,194,.14) !important;

    border-radius: 10px !important;

    box-shadow:
        0 7px 22px rgba(24,79,101,.055);
}

#left_column .block .title_block,
#left_column .block h4 {
    margin: 0 !important;
    padding: 14px 16px !important;

    background: #3ab0dc !important;

    color: #fff !important;

    border: 0 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;

    text-transform: none !important;
}

#left_column .block .title_block a,
#left_column .block h4 a {
    color: #fff !important;
}

#left_column .block_content {
    padding: 6px 12px 12px !important;
}

#left_column li {
    border-color: #edf3f5 !important;
}

#left_column li a {
    color: #405860 !important;
}

#left_column li a:hover {
    color: #149ace !important;
}


/* ==========================================================
   HOME — PLUS LARGE, SANS CASSER INDEX.TPL
   ========================================================== */

body#index #left_column {
    display: none !important;
}

body#index #center_column,
body#index #center_column.span9 {
    float: none !important;

    width: 100% !important;

    margin-left: 0 !important;
}

body#index #columns .row-fluid,
body#index #columns .main {
    width: 100% !important;
}

.agys-home {
    max-width: 1040px !important;

    margin: 0 auto 30px !important;
    padding: 36px 28px 28px !important;

    box-sizing: border-box;
}


/* TITRE */

.agys-home-hero {
    max-width: 800px;

    margin:
        0 auto 30px !important;

    text-align: center;
}

.agys-home-hero h1 {
    margin-bottom: 15px !important;

    color: #1da9dc !important;

    font-size: 43px !important;
    font-weight: 750 !important;
    line-height: 1.06 !important;

    letter-spacing: -.035em;
}

.agys-home-hero p {
    max-width: 680px !important;

    margin:
        0 auto !important;

    color: #53686f !important;

    font-size: 18px !important;
    line-height: 1.65 !important;
}


/* VRAIE VIDÉO AGYS */

.agys-video-wrap {
    max-width: 920px;

    margin:
        0 auto !important;

    overflow: hidden;

    border-radius: 12px !important;

    box-shadow:
        0 18px 46px rgba(13,72,95,.16) !important;
}


/* BOUTONS */

.agys-home-actions {
    display: flex !important;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 24px !important;
}

.agys-home-button,
.agys-youtube-button,
.agys-coach-button {
    box-sizing: border-box;

    min-height: 46px;

    padding:
        13px 22px !important;

    border-radius: 7px !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    box-shadow: none !important;
}

.agys-home-button,
.agys-coach-button {
    background: #27a9dc !important;
}

.agys-home-button:hover,
.agys-coach-button:hover {
    background: #128dbb !important;

    opacity: 1 !important;

    transform: translateY(-1px);
}

.agys-youtube-button {
    background: #f20d20 !important;
}

.agys-youtube-button:hover {
    background: #d80719 !important;

    opacity: 1 !important;
}

.agys-coach-row {
    margin-top: 12px !important;

    text-align: center;
}


/* ==========================================================
   HOME — CONTENU SUPPLÉMENTAIRE
   ========================================================== */

.agys-home-modern-extras {
    max-width: 1040px;

    margin:
        0 auto 50px;

    padding:
        0 28px;

    box-sizing: border-box;
}


/* CONFIANCE */

.agys-modern-trust {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin:
        8px 0 66px;

    border-top:
        1px solid #dce8ec;

    border-bottom:
        1px solid #dce8ec;
}

.agys-modern-trust div {
    padding:
        21px 18px;

    color: #314a54;

    font-size: 14px;
    font-weight: 650;

    text-align: center;
}

.agys-modern-trust div + div {
    border-left:
        1px solid #dce8ec;
}


/* PRESSE */

.agys-modern-section-label {
    margin-bottom: 9px;

    color: #199cca;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .11em;

    text-transform: uppercase;
}

.agys-modern-section-title {
    margin:
        0 0 25px;

    color: #183947;

    font-size: 31px;
    font-weight: 750;
    line-height: 1.15;

    letter-spacing: -.025em;
}

.agys-modern-press {
    padding:
        46px 0 20px;

    border-top:
        1px solid #e1eaed;
}

.agys-modern-press-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 16px;
}

.agys-modern-press-card {
    display: block;

    min-height: 145px;

    padding: 25px;

    box-sizing: border-box;

    background: #f8fbfc;

    border:
        1px solid #dce8ec;

    border-radius: 9px;

    color: #2d454f !important;

    text-decoration: none !important;
}

.agys-modern-press-card:hover {
    background: #fff;

    border-color: #aad7e7;

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(20,79,101,.08);
}

.agys-modern-press-source {
    display: block;

    margin-bottom: 11px;

    color: #159bc9;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.agys-modern-press-card strong {
    display: block;

    margin-bottom: 8px;

    color: #173846;

    font-size: 19px;
    line-height: 1.3;
}

.agys-modern-press-card p {
    margin:
        0 0 15px;

    color: #64767d;

    font-size: 14px;
    line-height: 1.55;
}

.agys-modern-read {
    color: #168fb9;

    font-size: 13px;
    font-weight: 750;
}


/* ==========================================================
   BLOCS ET CARTES GÉNÉRALES
   ========================================================== */

#center_column .block {
    border-radius: 9px;
}

.page-subheading,
.page-heading {
    border-color: #dce8ec !important;

    color: #183846 !important;
}

.box,
.account_creation,
.addresses .address,
.order_carrier_content {
    background: #f8fbfc !important;

    border:
        1px solid #dbe7eb !important;

    border-radius: 9px !important;

    box-shadow: none !important;
}


/* ==========================================================
   CATÉGORIES ET PRODUITS
   ========================================================== */

#product_list li .product-container,
ul.product_list li .product-container,
.product-container {
    overflow: hidden;

    background: #fff !important;

    border:
        1px solid #e0e9ec !important;

    border-radius: 9px !important;

    box-shadow:
        0 7px 21px rgba(18,76,98,.055);

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

#product_list li .product-container:hover,
ul.product_list li .product-container:hover {
    border-color: #bcdde9 !important;

    box-shadow:
        0 12px 30px rgba(18,76,98,.09);

    transform: translateY(-2px);
}

.product-name {
    color: #213d48 !important;

    font-weight: 650 !important;
}

.price,
.our_price_display,
.price.product-price {
    color: #169fd1 !important;

    font-weight: 750 !important;
}

.product-image-container {
    overflow: hidden;

    background: #fff;

    border-radius:
        8px 8px 0 0;
}


/* PAGE PRODUIT */

#pb-left-column,
#pb-right-column {
    box-sizing: border-box;
}

#image-block {
    overflow: hidden;

    border:
        1px solid #e1e9ec !important;

    border-radius: 10px !important;
}

.box-info-product,
.product_attributes {
    background: #f8fbfc !important;

    border:
        1px solid #dce8ec !important;

    border-radius: 9px !important;

    box-shadow: none !important;
}

#add_to_cart {
    margin-top: 10px;
}


/* ==========================================================
   BOUTONS
   ========================================================== */

.button,
.button.button-small,
.button.button-medium,
.button.ajax_add_to_cart_button,
input.button,
button,
input[type="submit"],
.exclusive {
    background-image:
        none !important;

    border-radius:
        7px !important;

    box-shadow:
        none !important;
}

.button.button-medium,
.button.ajax_add_to_cart_button,
.exclusive,
#add_to_cart .exclusive {
    border-color:
        #1da8dc !important;

    background-color:
        #1da8dc !important;

    color:
        #fff !important;
}

.button.button-medium:hover,
.button.ajax_add_to_cart_button:hover,
#add_to_cart .exclusive:hover {
    border-color:
        #138db9 !important;

    background-color:
        #138db9 !important;
}


/* ==========================================================
   FORMULAIRES
   ========================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
    box-sizing: border-box;

    min-height: 38px;

    border:
        1px solid #cddce1 !important;

    border-radius:
        6px !important;

    background:
        #fff !important;

    box-shadow:
        none !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color:
        #42acd3 !important;

    outline:
        none !important;

    box-shadow:
        0 0 0 3px rgba(66,172,211,.10) !important;
}


/* ==========================================================
   PANIER / CHECKOUT
   ON NE TOUCHE PAS À LA LOGIQUE : COSMÉTIQUE UNIQUEMENT
   ========================================================== */

#cart_summary,
table.std,
table.table_block {
    background: #fff !important;

    border-color:
        #dce8ec !important;
}

#cart_summary th,
table.std th,
table.table_block th {
    background:
        #f1f7f9 !important;

    color:
        #344f59 !important;

    border-color:
        #dce8ec !important;
}

#cart_summary td,
table.std td,
table.table_block td {
    border-color:
        #e2eaed !important;
}

ul.step,
ul.step li {
    background-image:
        none !important;
}

ul.step li {
    border-color:
        #d4e3e8 !important;
}

ul.step li.step_current {
    background:
        #28a9da !important;

    color:
        #fff !important;
}

.payment_module a {
    border:
        1px solid #dce8ec !important;

    border-radius:
        8px !important;

    background:
        #fff !important;

    box-shadow:
        none !important;
}

.payment_module a:hover {
    border-color:
        #9dcfe1 !important;

    background:
        #f7fbfc !important;
}


/* ==========================================================
   FOOTER
   ========================================================== */

#footer {
    background:
        #123846 !important;

    color:
        #c9d9df !important;

    border-top:
        0 !important;
}

#footer .pos-footer-top,
#footer .pos-footer-bottom {
    background:
        transparent !important;
}

#footer .pos-footer-top {
    padding-top:
        16px;
}

#footer .title_block,
#footer .footer-static-title h4,
#footer h4 {
    color:
        #fff !important;

    font-weight:
        700 !important;
}

#footer a {
    color:
        #d1e0e5 !important;
}

#footer a:hover {
    color:
        #fff !important;
}

#footer li {
    line-height:
        1.8 !important;
}


/* On masque uniquement l'ancien widget social.
   Les hooks restent actifs. */

#social_block {
    display:
        none !important;
}


/* Liens directs fiables */

.agys-footer-direct {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 8px;

    padding:
        15px 0 8px;
}

.agys-footer-direct a {
    display: inline-block;

    padding:
        8px 13px;

    border:
        1px solid rgba(255,255,255,.18);

    border-radius:
        6px;

    color:
        #fff !important;

    font-size:
        12px;

    font-weight:
        650;

    text-decoration:
        none !important;
}

.agys-footer-direct a:hover {
    background:
        rgba(255,255,255,.08);

    border-color:
        rgba(255,255,255,.35);
}


/* ==========================================================
   MODULES HOME EXISTANTS
   ========================================================== */

body#index #featured-products_block_center,
body#index .homefeatured {
    max-width:
        1040px;

    margin:
        45px auto !important;
}

body#index #featured-products_block_center .title_block {
    color:
        #193a47 !important;

    font-size:
        27px !important;

    font-weight:
        750 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    body {
        font-size:
            14px;
    }

    .agys-home {
        padding:
            22px 13px 18px !important;
    }

    .agys-home-hero h1 {
        font-size:
            32px !important;
    }

    .agys-home-hero p {
        font-size:
            16px !important;
    }

    .agys-home-actions {
        display:
            grid !important;

        grid-template-columns:
            1fr;

        gap:
            9px;
    }

    .agys-home-button,
    .agys-youtube-button,
    .agys-coach-button {
        width:
            100% !important;

        justify-content:
            center;
    }

    .agys-coach-row {
        padding:
            0 13px;
    }

    .agys-modern-trust {
        grid-template-columns:
            1fr;

        margin-bottom:
            45px;
    }

    .agys-modern-trust div + div {
        border-left:
            0;

        border-top:
            1px solid #dce8ec;
    }

    .agys-modern-press-grid {
        grid-template-columns:
            1fr;
    }

    .agys-home-modern-extras {
        padding:
            0 14px;
    }

    .agys-modern-section-title {
        font-size:
            26px;
    }

    .agys-footer-direct {
        justify-content:
            flex-start;
    }

}

