/* PRINT */
@media print {
    /* GENERAL */
    html, body, main, .container, 
    .elementor-container {max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important;}
    section, div {margin: 0 !important; padding: 0 !important;}
    p, a, li {font-size: 14px !important;}
    h1 {font-size: 20px !important;}
    h2 {font-size: 18px !important;}
    h3 {font-size: 16px !important;}
    
    /* FOOTER */
    footer section.elementor-element-1cc8277, 
    footer section.elementor-element-3f6d58a, 
    footer div.elementor-element-b109fd8, 
    footer div.elementor-element-ad685a8, 
    footer div.elementor-element-feb55f9 {display : none;}
    footer div.elementor-element-5e89ebb div.elementor-widget-container {display: flex; justify-content: space-between; font-size: 10px; gap: 10px;}
    footer div.elementor-element-5e89ebb div.elementor-widget-container p, footer div.elementor-element-5e89ebb div.elementor-widget-container a {font-size: 10px !important; }
    footer div.elementor-element-5e89ebb div.elementor-widget-container::after {content:"www.axone-spadone.fr";}
    footer div.elementor-element-5e89ebb div.elementor-widget-container p:nth-child(3) a::before {content:"Tél: ";}
    footer { background-color: transparent !important; background-image: none !important;  margin-top: 30px !important;}
    footer section.elementor-element-1cc8277 {background-color: transparent !important; background-image: none !important; }
    footer section.elementor-element-2db6a7d {background-color: transparent !important; background-image: none !important; }
    
    /* HEADER */
    header.header {position: static !important; width: 100% !important; height: auto !important;}
    header section.elementor-sticky, 
    main div.elementor-sticky {position: static !important; width: 100vw !important; height: 100% !important;}
    header section.elementor-element-cc09fd4, 
    header div.elementor-element-e085639 {display: none;}
    /* Correction logo print */
    header.header .a-img { position: static !important; left: auto !important; top: auto !important; height: auto !important; width: 150px !important; margin: 0 0 10px 0 !important;}
    header.header .a-img img, header.header img { width: 150px !important; max-width: 150px !important; height: auto !important; display: block !important; }
    

    /* Page produits */
        main {margin-top: 100px !important;}
        main section.elementor-element-83355c9 div.elementor-thumbnails-swiper, 
        main section.elementor-element-83355c9 div.elementor-swiper-button-prev, 
        main section.elementor-element-83355c9 div.elementor-swiper-button-next,
        main section.elementor-element-83355c9 div#swiper-wrapper-491fe662055dbfb1,
        main section.elementor-element-83355c9 div.swiper-slide:not(.swiper-slide-active),
        main section.elementor-element-4bccddb,
        main section.elementor-element-c92cd9d,
        main section.elementor-element-f4e0cfe,
        main section.elementor-element-b563858,
        main section.elementor-element-b98c201,
        main div.elementor-element-beed664,
        main section.elementor-element-bb9fc34,
        .avisproduit-pagination,
        main div.elementor-element-a0201cb,
        main div.elementor-element-218ac1d div.elementor-swiper-button.elementor-swiper-button-next,
        main div.elementor-element-218ac1d div.elementor-swiper-button.elementor-swiper-button-prev,
        main div.elementor-element-8470bd0 div.elementor-swiper-button.elementor-swiper-button-next,
        main div.elementor-element-8470bd0 div.elementor-swiper-button.elementor-swiper-button-prev {display: none !important; width: 0px !important; height: 0px !important;}

        main section.elementor-element-83355c9 div.swiper-slide-active img.elementor-carousel-image {width: 300px !important;}
        main section.elementor-element-83355c9 div.elementor-element-eddeb30 {max-width: 100% !important;}
        .elementor-3170101 .elementor-element.elementor-element-1dbbe81 > .elementor-widget-container { background-color: transparent !important; background-image: none !important; }
        .ps-avisclient-infos { background-color: transparent !important; background-image: none !important; }

        /* Produit en 2 colonnes au print */
        main section.elementor-element-83355c9, main section.elementor-element-83355c9 > .elementor-container,
        main section.elementor-element-83355c9 div.elementor-row { width: 100% !important; max-width: 100% !important; }
        main section.elementor-element-83355c9 div.elementor-row { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; gap: 20px !important; box-sizing: border-box !important; }
        /* Colonne image */
        main section.elementor-element-83355c9 div.elementor-element-33372ac { width: calc(42% - 10px) !important; max-width: calc(42% - 10px) !important; flex: 0 0 calc(42% - 10px) !important; box-sizing: border-box !important; }
        /* Colonne contenu */
        main section.elementor-element-83355c9 div.elementor-element-eddeb30 { width: calc(58% - 10px) !important; max-width: calc(58% - 10px) !important; flex: 0 0 calc(58% - 10px) !important; box-sizing: border-box !important;}
        /* Image produit */
        main section.elementor-element-83355c9 div.swiper-slide-active img.elementor-carousel-image { width: 260px !important; max-width: 100% !important; height: auto !important; display: block !important; margin: 0 !important; }
        /* Sécurité Swiper */
        main section.elementor-element-83355c9 .swiper, main section.elementor-element-83355c9 .swiper-wrapper,
        main section.elementor-element-83355c9 .swiper-slide-active { transform: none !important; overflow: visible !important; height: auto !important; }
        /*Block produits*/
        .elementor-7170101 .elementor-element.elementor-element-93ed40e > .elementor-container {min-height: 300px !important;}
        /* Sliders produits au print */
        main .elementor-element-218ac1d, main .elementor-element-8470bd0 { padding-bottom: 40px !important; }
        /* On garde uniquement "Derniers produits consultés" sur une nouvelle page */
        main .elementor-element-8470bd0 { break-before: page !important; page-break-before: always !important; }
        main .elementor-element-218ac1d .swiper-wrapper,
        main .elementor-element-8470bd0 .swiper-wrapper { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 25px 20px !important; transform: none !important; width: 100% !important; height: auto !important; overflow: visible !important; }
        main .elementor-element-218ac1d .swiper-slide,
        main .elementor-element-8470bd0 .swiper-slide { display: block !important; width: auto !important; max-width: 100% !important; height: auto !important; opacity: 1 !important; visibility: visible !important; break-inside: avoid !important; page-break-inside: avoid !important; }
        main .elementor-element-218ac1d .swiper-slide>*, main .elementor-element-8470bd0 .swiper-slide>* { padding: 0 !important; }
        main .elementor-element-218ac1d img, main .elementor-element-8470bd0 img { max-width: 100% !important; height: auto !important; }
        main .elementor-element-218ac1d .elementor-swiper-button, main .elementor-element-218ac1d .swiper-pagination, main .elementor-element-8470bd0 .elementor-swiper-button,
        main .elementor-element-8470bd0 .swiper-pagination { display: none !important; }
        /* Masquer prix + stock dans les deux carrousels */
        main .elementor-element-218ac1d .ce-product-stock,
        main .elementor-element-218ac1d .ce-product-prices,
        main .elementor-element-218ac1d .product-price,
        main .elementor-element-218ac1d .price,
        main .elementor-element-218ac1d #availability_value,
        main .elementor-element-8470bd0 .ce-product-stock,
        main .elementor-element-8470bd0 .ce-product-prices,
        main .elementor-element-8470bd0 .product-price,
        main .elementor-element-8470bd0 .price,
        main .elementor-element-8470bd0 #availability_value { display: none !important; }

    /* Liste categorie de produits*/
        section.elementor-element-a6dcffd {display: none;}
        body.page-category .ce-product-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px 18px !important; }
        body.page-category .ce-product-grid>.elementor-7170101 { height: 285px !important; overflow: hidden !important; break-inside: avoid !important; page-break-inside: avoid !important; }
        body.page-category .elementor-7170101 .elementor-element-93ed40e>.elementor-container { min-height: 0 !important; height: auto !important; }
        body.page-category .elementor-7170101 .elementor-element-93ed40e>.elementor-container:after { display: none !important; }
        body.page-category .elementor-7170101 img { max-height: 105px !important; width: auto !important; max-width: 100% !important; object-fit: contain !important; }
        body.page-category .elementor-7170101 .ce-product-name { font-size: 12px !important; line-height: 1.2 !important; margin-bottom: 8px !important; }
        body.page-category .elementor-7170101 .ce-product-description-short { font-size: 10px !important; line-height: 1.2 !important; max-height: 36px !important; overflow: hidden !important; }
        body.page-category .elementor-7170101 .elementor-widget-button { display: none !important; }
        body.page-category .elementor-7170101 .elementor-element-9576fe4>.elementor-column-wrap>.elementor-widget-wrap { text-align: center !important; }
        body.page-category .elementor-7170101 .elementor-element-fac3438, body.page-category .elementor-7170101 .elementor-element-6be252a { display: inline-block !important; width: auto !important; margin: 6px 5px 0 !important; vertical-align: middle !important; }
        body.page-category .elementor-7170101 .elementor-element-6be252a .elementor-container, body.page-category .elementor-7170101 .elementor-element-6be252a .elementor-row, body.page-category .elementor-7170101 .elementor-element-6be252a .elementor-column, body.page-category .elementor-7170101 .elementor-element-6be252a .elementor-column-wrap,
        body.page-category .elementor-7170101 .elementor-element-6be252a .elementor-widget-wrap { display: inline !important; width: auto !important; margin: 0 !important; padding: 0 !important;}
        body.page-category .elementor-7170101 #availability_statut_petit, body.page-category .elementor-7170101 .ce-product-prices,
        body.page-category .elementor-7170101 .ce-product-price { display: inline !important; font-size: 11px !important; line-height: 1.2 !important; margin: 0 !important; }
    
    /* Header personnaliser - panier / tunnel de commande */ 
    body.page-cart .header-simple, body.page-order .header-simple, body#checkout .header-simple { display: grid !important; grid-template-columns: 160px 1fr !important; grid-template-rows: auto auto !important; width: 100% !important; align-items: center !important; }
    body.page-cart .header-simple .a-img, body.page-order .header-simple .a-img, body#checkout .header-simple .a-img { grid-column: 1 !important; grid-row: 1 / 3 !important; display: block !important; text-align: left !important; }
    body.page-cart .header-simple img, body.page-order .header-simple img, body#checkout .header-simple img { width: 130px !important; height: auto !important; }
    body.page-cart .header-simple p, body.page-order .header-simple p, body#checkout .header-simple p { grid-column: 2 !important; display: block !important; margin: 0 0 4px !important; padding: 0 !important; text-align: right !important; font-size: 11px !important; line-height: 1.3 !important; color: #000 !important; }
    body.page-cart .header-simple nav, body.page-order .header-simple nav, body#checkout .header-simple nav { display: none !important; }
    body.page-cart main, body.page-order main, body#checkout main { margin-top: 30px !important; }

    /* Footer personnalisé - print panier / commande */
    body.page-cart .footer-simple, body.page-order .footer-simple, body#checkout .footer-simple { margin-top: 20px !important; padding-top: 8px !important; border-top: 1px solid #ddd !important; background: transparent !important; text-align: center !important; }
    body.page-cart .footer-simple>*, body.page-order .footer-simple>*, body#checkout .footer-simple>* { display: none !important; }
    body.page-cart .footer-simple::after, body.page-order .footer-simple::after, body#checkout .footer-simple::after { content: "Axone Spadone - 3 rue Pierre Dreyfus 90100 DELLE - Tél: 03 84 27 15 64 - contact@axone-spadone.fr - www.axone-spadone.fr"; display: block !important; font-size: 10px !important; line-height: 1.3 !important; color: #000 !important; }
}

/* CSS pour Safari */
@media print {
    @supports(-webkit-hyphens:none) {
        /* Page produit */
            main section.elementor-element-83355c9 div#swiper-wrapper-491fe662055dbfb1 { display: block !important; width: auto !important; height: auto !important; max-height: none !important; overflow: visible !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
            main section.elementor-element-83355c9 .swiper-wrapper { display: block !important; width: auto !important; height: auto !important; overflow: visible !important; transform: none !important; }
            main section.elementor-element-83355c9 div.swiper-slide { display: none !important; width: 0 !important; height: 0 !important; overflow: hidden !important; visibility: hidden !important; opacity: 0 !important; }
            main section.elementor-element-83355c9 div.swiper-slide:first-child { display: block !important; width: auto !important; height: auto !important; max-height: none !important; overflow: visible !important; visibility: visible !important; opacity: 1 !important; }
            main section.elementor-element-83355c9 div.swiper-slide:first-child img { display: block !important; width: 260px !important; max-width: 260px !important; height: auto !important; margin: 0 !important; visibility: visible !important; opacity: 1 !important; }
            /* Safari print - forcer les carrousels produits en grille */
            body#product main .elementor-element-218ac1d .swiper, 
            body#product main .elementor-element-8470bd0 .swiper { overflow: visible !important; width: 100% !important; height: auto !important; }
            body#product main .elementor-element-218ac1d .swiper-wrapper,
            body#product main .elementor-element-8470bd0 .swiper-wrapper { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-flow: row !important; gap: 25px 20px !important; width: 100% !important; max-width: 100% !important; height: auto !important; transform: none !important; overflow: visible !important; }
            body#product main .elementor-element-218ac1d .swiper-slide,
            body#product main .elementor-element-8470bd0 .swiper-slide { display: block !important; width: auto !important; max-width: 100% !important; min-width: 0 !important; height: auto !important; margin: 0 !important; transform: none !important; opacity: 1 !important; visibility: visible !important; flex: none !important; }
            body#product main .elementor-element-218ac1d .swiper-slide>*,
            body#product main .elementor-element-8470bd0 .swiper-slide>* { padding: 0 !important; width: 100% !important; max-width: 100% !important; }
            body#product main .elementor-element-218ac1d img,
            body#product main .elementor-element-8470bd0 img { display: block !important; max-width: 100% !important; height: auto !important; margin: 0 auto !important; }

        /* Safari print - footer personnalisé */
        footer, footer .elementor, footer .elementor-section-wrap, footer section.elementor-section,
        footer .elementor-container, footer .elementor-row, footer .elementor-column, footer .elementor-column-wrap,
        footer .elementor-widget-wrap { display: block !important; width: 100% !important; max-width: 100% !important; min-width: 100% !important; margin: 0 !important; padding: 0 !important; background: transparent !important; box-sizing: border-box !important; }
        footer { margin-top: 45px !important; clear: both !important; }
        /* On garde uniquement la ligne d'infos */
        footer section.elementor-element-1cc8277, footer section.elementor-element-3f6d58a, footer div.elementor-element-b109fd8, footer div.elementor-element-ad685a8,
        footer div.elementor-element-feb55f9, footer div.elementor-element-892e6cd, footer div.elementor-element-c29e948, footer div.elementor-element-d527320, footer div.elementor-element-4e89868,
        footer div.elementor-element-17b3544, footer div.elementor-element-9a3f679, footer div.elementor-element-574ca67 { display: none !important; }
        /* Widget texte footer */
        footer div.elementor-element-5e89ebb,
        footer div.elementor-element-5e89ebb .elementor-widget-container { display: block !important; width: 100% !important; max-width: 100% !important; color: #000 !important; }
        /* Ligne footer */
        footer div.elementor-element-5e89ebb .elementor-widget-container { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; gap: 18px !important; font-size: 8px !important; line-height: 1.15 !important; }
        /* Chaque élément */
        footer div.elementor-element-5e89ebb .elementor-widget-container p,
        footer div.elementor-element-5e89ebb .elementor-widget-container::after { display: block !important; flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; font-size: 8px !important; line-height: 1.15 !important; color: #000 !important; white-space: normal !important; overflow-wrap: anywhere !important; text-align: center !important; }
        /* Alignements */
        footer div.elementor-element-5e89ebb .elementor-widget-container p:first-child { text-align: left !important; }
        footer div.elementor-element-5e89ebb .elementor-widget-container::after { content: "www.axone-spadone.fr" !important; text-align: right !important; }
        footer div.elementor-element-5e89ebb .elementor-widget-container a { font-size: 8px !important; line-height: 1.15 !important; color: #000 !important; text-decoration: none !important; }
        /* Préfixe téléphone */
        footer div.elementor-element-5e89ebb .elementor-widget-container p:nth-child(3) a::before { content: "Tél: " !important; }

    }
}