/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

#content.site-content {
    background-color: #ffffff;
}

@font-face {
    font-family: 'SweetSansPro-Regular';
    src: url('https://sabayadress.fr/wp-content/themes/astra-child/fonts/SweetSansPro-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amiri-Regular';
    src: url('https://sabayadress.fr/wp-content/themes/astra-child/fonts/Amiri-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'TAN-Pearl-Regular';
    src: url('https://sabayadress.fr/wp-content/themes/astra-child/fonts/TAN-Pearl-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeueWorld';
    src: url('https://sabayadress.fr/wp-content/themes/astra-child/fonts/PPNeueWorld.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/* Apply Font 2 to paragraph text, lists, and general body copy */
body, p, span, li, input, textarea {
    font-family: 'SweetSansPro-Regular', sans-serif !important;
}

.neueworld h2,
.neueworld h3 {
    font-family: 'NeueWorld', sans-serif !important;
}

.amiri h2,
.amiri h3 {
  font-family: 'Amiri-Regular', sans-serif !important;
}

.sweetsans, .sweetsans h2,
.sweetsans h3 {
  font-family: 'SweetSansPro-Regular', sans-serif !important;
}



/* Apply Font 3 to specific elements like main menu items and buttons */
.main-navigation a, 
.button, 
button, 
input[type="submit"] {
    font-family: 'SweetSansPro-Regular', sans-serif !important;
}


#faq-surmesure p {
    font-family: 'SweetSansPro-Regular', sans-serif !important;
}

/*CSS pour la partie affichage produit landing page */

.custom-featured-products {
    width: 100%;
}

.custom-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    justify-content: center;
}

.custom-product-card {
    position: relative;
    width: 100%;
}

.custom-product-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f3f6;
}

.custom-product-link {
    display: block;
    text-decoration: none;
}

.custom-product-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4.45;
    object-fit: cover;
    border-radius: 14px;
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.custom-product-card:hover .custom-product-image {
    transform: scale(1.02);
}

.custom-product-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.custom-product-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.custom-product-title a {
    color: #000;
    text-decoration: none;
}

.custom-product-price {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
}

.custom-product-price del {
    opacity: 0.5;
    margin-right: 6px;
}

.custom-product-price ins {
    text-decoration: none;
}

.custom-product-footer {
    margin-top: 12px;
}

.custom-product-footer .button,
.custom-product-footer .add_to_cart_button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.custom-product-footer .button:hover,
.custom-product-footer .add_to_cart_button:hover {
    background: #333;
    color: #fff;
}

/* Desktop : bouton add to cart sur l'image, visible au hover */
@media (min-width: 1025px) {
    .custom-product-footer {
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 72px;
        z-index: 5;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    .custom-product-card:hover .custom-product-footer {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .custom-products-grid:has(.custom-product-card:nth-child(1):last-child) {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        max-width: calc((100% - 84px) / 4);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-products-grid:has(.custom-product-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: calc(((100% - 84px) / 4 * 2) + 28px);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-products-grid:has(.custom-product-card:nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: calc(((100% - 84px) / 4 * 3) + 56px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* Contrôles galerie desktop uniquement */
.gallery-control {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: auto;
    height: auto;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #000;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease, color 0.25s ease;
}

.gallery-control:hover {
    background: transparent;
    color: #555;
}

.gallery-prev {
    left: 14px;
}

.gallery-next {
    right: 14px;
}

.custom-product-card:hover .gallery-control {
    opacity: 1;
    visibility: visible;
}

/* Tablette : 3 produits */
@media (min-width: 768px) and (max-width: 1024px) {
    .custom-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .custom-products-grid:has(.custom-product-card:nth-child(1):last-child) {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        max-width: calc((100% - 44px) / 3);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-products-grid:has(.custom-product-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: calc(((100% - 44px) / 3 * 2) + 22px);
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-control {
        display: none;
    }

    .custom-product-footer {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 12px;
    }
}

/* Téléphone : 2 produits */
@media (max-width: 767px) {
    .custom-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .custom-products-grid:has(.custom-product-card:nth-child(1):last-child) {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        max-width: calc((100% - 18px) / 2);
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-control {
        display: none;
    }

    .custom-product-footer {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 12px;
    }

    .custom-product-title,
    .custom-product-price {
        font-size: 12px;
    }

    .custom-product-info {
        gap: 8px;
        margin-top: 10px;
    }

    .custom-product-footer .button,
    .custom-product-footer .add_to_cart_button {
        min-height: 38px;
        font-size: 11px;
        padding: 10px 12px;
    }
}


/*/////////////////////////////////////////////////////*/




.accessoriesBox {
  max-width: 450px !important;
}




.ast-woocommerce-container {
    padding-top: 0px !important;
}













.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 24px;
    font-size: 14px;
    line-height: 1.7;
}

.legal-page h1 {
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: 400;
}

.legal-page h2 {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
}

.legal-page p {
    margin-bottom: 16px;
}

.legal-page a {
    text-decoration: underline;
}
