/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.gradient_text
{
    background: rgb(80,118,181); 
    background: linear-gradient(90deg, rgba(80,118,181,1) 0%, rgba(203,76,85,1) 50%, rgba(239,145,58,1) 100%);
    -webkit-background-clip: text;
    display: inline-block;
    -webkit-text-fill-color: #00000000;
}

.gradient_background
{
    background: rgb(80,118,181); 
    background: linear-gradient(90deg, rgba(80,118,181,1) 0%, rgba(203,76,85,1) 50%, rgba(239,145,58,1) 100%);
}

.gradient_border
{
    z-index: 9;
}
.gradient_border a
{
    background-clip: padding-box;
    border: solid 1px transparent;
    border-radius: 1em;
}
.gradient_border a:hover
{
    background: linear-gradient(90deg, rgba(80,118,181,1) 0%, rgba(203,76,85,1) 50%, rgba(239,145,58,1) 100%) !important;
}
.gradient_border a:before
{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(80,118,181,1) 0%, rgba(203,76,85,1) 50%, rgba(239,145,58,1) 100%);
}

.gradient_box
{
    z-index: 9;
}
.gradient_box
{
    background-clip: padding-box;
    border: solid 2px transparent;
    border-radius: 1em;
}
.gradient_box:before
{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; 
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(80,118,181,1) 0%, rgba(203,76,85,1) 50%, rgba(239,145,58,1) 100%);
}


/* -------------------- DARK - MODE ------------------- */

/*
body
{
    transition: all .5s;
}
body.dark-mode
{
    --e-global-color-26d2527: #192A38;
    --e-global-color-63f6cd9: #fff;
}
*/
.ocean, .wave
{
    opacity: 0;
}

body.transition-running
{
    overflow-x: hidden;
}

body.transition-running .ocean, body.transition-running .wave
{
    opacity: 1;
}

body.dark-mode.transition-running .ocean {
    animation: growHeight 4s forwards;
}

body:not(.dark-mode).transition-running .ocean {
    animation: shrinkHeight 4s forwards;
}

@keyframes growHeight {
    from {
        height: 0vh;
    }
    to {
        height: 120vh;
    }
}

@keyframes shrinkHeight {
    from {
        height: 100vh;
        bottom: 0 !important;
    }
    to {
        height: 0;
        bottom: -200px !important;
    }
}

.ocean { 
    height: 0vh;
    width:100%;
    position:fixed;
    bottom:0;
    left:0;
    background: #015871;
  }
  
  .wave {
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg) repeat-x; 
    position: absolute;
    top: -198px;
    width: 6400px;
    height: 198px;
    animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
  }
  
  .wave:nth-of-type(2) {
    top: -175px;
    animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
  }
  
  @keyframes wave {
    0% {
      margin-left: 0;
    }
    100% {
      margin-left: -1600px;
    }
  }
  
  @keyframes swell {
    0%, 100% {
      transform: translate3d(0,-25px,0);
    }
    50% {
      transform: translate3d(0,5px,0);
    }
  }




body {
    /*transition: background-color 3s;*/
}

body.dark-mode {
    --e-global-color-26d2527: #192A38;
    --e-global-color-text: #fff;
    --e-global-color-primary: #fff; 

    --e-global-color-280605f: #192A38;
    --e-global-color-ef940d8: #fff;

    background: #fff;
    /*transition: background 4s ease;*/
    position: relative;
}

body.dark-mode
{    
    animation: gradient 4s ease forwards;
}


@keyframes gradient {
	0% {
        background: #fff;
    }
    49.99% {
        background: #fff;
    }
    50% {
        background: #015871;
    }
    100% {
        background: #192A38;
    }
} 

body.dark-mode::before {
    /*content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #192A38;
     background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'><path fill='%23192A38' d='M0,160L40,149.3C80,139,160,117,240,133.3C320,149,400,203,480,218.7C560,235,640,213,720,176C800,139,880,85,960,85.3C1040,85,1120,139,1200,170.7C1280,203,1360,213,1400,218.7L1440,224L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'/></svg>") no-repeat bottom;
    animation: slideDown 3s forwards;*/
}

body:not(.dark-mode)::before 
{
    /*
    content: '';
    position: absolute;
    top: -100%;
    opacity: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #192A38;
    animation: slideUp 3s forwards; */
}

/* body.dark-mode::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    animation: slideDown 2s forwards;
} */

@keyframes slideDown {
    0% {
        top: -100%;
    }
    100% {
        top: 0;
    }
} 

@keyframes slideUp {
    0% {
        top: 0;
    }
    100% {
        top: -100%;
    }
}















body .btn-switch-dark-mode img
{
    cursor: pointer;
}
body.dark-mode .btn-switch-dark-mode img
{
    content:url("/wp-content/uploads/2024/01/light-switch-night.png"); 
}

body.dark-mode .ol-footer-logo img
{
    content:url("/wp-content/uploads/2025/02/Logoytpe_blanc2.png"); 
}

body.dark-mode .main-logo-header img
{
    content:url("/wp-content/uploads/2025/02/logo_piscine_fintess_white.png"); 
}

body.dark-mode .img_line_footer
{
    content:url("/wp-content/uploads/2024/01/footer-lines-dark.png"); 
}

body.dark-mode .home-banner-img
{
    background-image: url("https://dev.piscines-fitness.ch/wp-content/uploads/2025/06/bg-night-pool.jpg") !important;
}




/* -------------------- CAROUSEL SWIPER ------------------- */
.switcher_carousel
{
    cursor: pointer;
}
.switcher_carousel.active a
{
    background-color: #EF913A !important;
}

.swiper-carousel-css .swiper-wrapper
{
    display: flex;
    align-items: end;
    height: 1000px;
}
.swiper-carousel-css .swiper-wrapper div > div > .e-con-inner
{
    gap: 0;
    padding: 0;
    justify-content: flex-start;
}

.slider_txt .elementor-widget-container
{
    max-height: 70px;
    overflow: hidden; 
}

@media screen and (max-width: 880px)
{
    .slider_txt .elementor-widget-container
    {
        max-height: 60px;
    }
}

/* Slide 1 */
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="0"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="2"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="3"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="5"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="6"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="8"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="9"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="11"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="12"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="14"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="15"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="12"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="17"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="18"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="20"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="21"]
{
    height: auto !important;
    align-self: end;
    margin-bottom: 150px 
}
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="1"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="4"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="7"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="10"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="13"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="16"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="19"],
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="22"]
{
    height: auto !important;
    align-self: end;
}


.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="0"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="1"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="3"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="4"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="6"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="7"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="9"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="10"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="12"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="13"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="15"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="16"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="18"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="19"] .e-con-inner img
{
    height: 450px;
    object-fit: cover;
}
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="2"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="5"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="8"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="11"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="14"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="17"] .e-con-inner img,
.swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="20"] .e-con-inner img
{
    height: 300px;
    object-fit: cover; 
}

@media screen and (max-width: 800px)
{
    .swiper-carousel-css .swiper-wrapper
    {
        height: 750px;
    }

    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="0"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="2"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="3"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="5"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="6"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="8"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="9"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="11"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="12"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="14"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="15"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="17"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="18"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="20"]
    {
        height: auto !important;
        align-self: end;
        margin-bottom: 100px 
    }
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="1"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="4"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="7"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="10"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="13"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="16"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="19"],
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="22"]
    {
        height: auto !important;
        align-self: end;
    }


    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="0"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="1"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="3"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="4"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="6"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="7"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="9"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="10"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="12"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="13"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="15"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="16"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="18"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="19"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="21"] .e-con-inner img
    
    {
        height: 350px;
        object-fit: cover;
    }
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="2"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="5"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="8"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="11"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="14"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="17"] .e-con-inner img,
    .swiper-carousel-css .swiper-wrapper div[data-swiper-slide-index="20"] .e-con-inner img
    {
        height: 250px;
        object-fit: cover; 
    }
}






div.swiper-slide:not(.center-slide) .swiper-bloc-text::before
{
    content: "";
    width: 100%;
    max-height: 100%;
    background-color: var(--e-global-color-280605f);
    position: absolute;
    z-index: 9;

    transition: all .5s;
}

.center-slide .swiper-bloc-text::before
{
    content: "";
    width: 100%;
    background-color: var(--e-global-color-280605f); 
    max-height: 0%;
    position: absolute;
    z-index: 9;

    transition: all .5s;
}


/* PRODUCT SINGLE */
.previous_arrow_product, .next_arrow_product
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
.previous_arrow_product span, .next_arrow_product span
{
    font-weight: 700;
    font-family: 'acumin-pro';
    color: var(--e-global-color-63f6cd9); 
}

.shortcode-cat-bg-image
{
    height: 100%;
}
.shortcode-cat-bg-image .elementor-shortcode
{
    height: 100%;
}
.shortcode-cat-bg-image .elementor-shortcode img
{
    height: 100%;
    width: 100%;
    object-fit: cover; 
    border-radius: 0 0 20px 20px;
}


/* FORMULAIRE BOOKNETIC RESERVATION RDV - GENERAL */
.booknetic_appointment_container_body.nice-scrollbar-primary
{

}

.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_duration_span,
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card_price 
{
    display: none;
}

/* FORMULAIRE BOOKNETIC RESERVATION RDV - TYPE CLIENT */
.booknetic_appointment_container_body div[data-step-id="location"] .booknetic_card:after
{
    display: none !important;
}
.booknetic_appointment_container_body div[data-step-id="location"] .booknetic_card_image
{
    display: none !important;
}
.booknetic_appointment_container_body div[data-step-id="location"] .booknetic_card_title
{
    font-size: 16px;
    background: rgb(80,118,181);  
    background: linear-gradient(90deg, rgb(26 43 69) 0%, rgb(61 122 157) 50%, rgb(97 200 244) 100%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: #00000000;
}

/* FORMULAIRE BOOKNETIC RESERVATION RDV - TYPE CLIENT */
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_category
{
    font-size: 18px;
    background: rgb(80,118,181); 
    background: linear-gradient(90deg, rgb(26 43 69) 0%, rgb(61 122 157) 50%, rgb(97 200 244) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #00000000; 
}
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card
{
    padding: 15px 10px 12px 15px;
    margin-bottom: 15px;
    box-shadow: -4px 4px 5px 0px rgb(0 0 0 / 10%);
}

.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card .booknetic_service_card_description
{
    padding: 0px 5px 0px 0;
}
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card .booknetic_service_card_description .booknetic_service_card_description_fulltext
{
    display: inline !important;
}
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card .booknetic_service_card_image
{
    display: none !important; 
}
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card .booknetic_view_more_service_notes_button,
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card .booknetic_view_less_service_notes_button,
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card .booknetic_service_card_description_wrapped
{
    display: none !important; 
}
.booknetic_appointment_container_body div[data-step-id="service"] .booknetic_service_card .booknetic_service_card_title > span
{
    font-size: 16px;
    font-weight: 500;
}


/* FORMULAIRE BOOKNETIC RESERVATION RDV - CONFIRMATION */
.booknetic_appointment_container_body div[data-step-id="confirm_details"] .booknetic_confirm_date_time > div:last-child
{
    margin-top: 5px;
}
.booknetic_appointment_container_body div[data-step-id="confirm_details"] .booknetic_confirm_date_time .booknetic_text_primary
{
    font-weight: 600;
}

/* GRID ALL PRODUCTS */
.grid-all-product-container .e-filter button
{
    border: 1px solid;
    border-radius: 30px;
    padding: 5px 15px;
}
.grid-all-product-container .e-filter button[aria-pressed="true"]
{
    background: #192A44; 
    background: linear-gradient(90deg, #192A44 0%, #61C9F5 100%);
    color: #fff;
    border: none;  
}

/* BREVO FORM EMAIL */
.brevo-main-container
{
    display: flex;
    flex-wrap: nowrap;
}
.brevo-main-container .brevo-email-container input
{
    padding: 0;
    border: 0;
    border-bottom: 1px solid;
    border-radius: 0;
}
.brevo-main-container .brevo-input-container input
{
    border: 1px solid #000;
    color: #000;
    border-radius: 30px;
    padding: 0px 15px;
}
.brevo-main-container .brevo-input-container input:hover
{
    background-color: #000 !important;
    color: #fff !important;
}
.brevo-main-container .brevo-input-container input:focus
{
    background-color: #000 !important;
    color: #fff !important; 
}

.dark-mode .brevo-main-container .brevo-input-container input
{
    border: 1px solid #fff;
    color: #fff;
}
.dark-mode .brevo-main-container .brevo-email-container input
{
    background-color: transparent;
    color: #fff;
}



/* CALCULATOR MODULE */
.ccb-fields-list .ccb-field .ccb-field-disabled
{
    display: none;
}
.ccb-pdf-invoice__actions button
{
    background-color: #61C9F5 !important;
    color: #fff !important;
}


/* SEARCH MODULE CSS */
.searchwp-live-search-result {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.searchwp-live-search-result h4,
.searchwp-live-search-result p
{
    margin: 0; 
}

.searchwp-live-search-result:hover {
    background: #f5f7f9;
}





/* FICHE PRODUIT - DOCUMNETS */
/* Cards documents */
.pd-documents__stack{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.pd-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

body.dark-mode .pd-card,
body.dark-mode .pd-card__btn,
body.dark-mode .pd-modal__panel
{
    color: #000;
}

.pd-card__icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.04);
  flex:0 0 auto;
}
.pd-card__icon svg
{
    max-width: 24px;
}

.pd-card__text{ flex:1 1 auto; min-width:0; }
.pd-card__title{
  font-weight:700;
  line-height:1.2;
  margin:0 0 4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pd-card__subtitle{
  font-size:13px;
  opacity:.75;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.pd-card__action{ flex:0 0 auto; }
.pd-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  text-decoration:none;
  font-weight:600;
}

/* Gallery */
.pd-gallery{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.pd-gallery a
{
    width: calc(25% - 7.5px);
}
.pd-gallery__item img{
  display:block;
  border-radius: 0px;
  height:auto;
  width: 100%;
}

@media screen and (max-width: 800px)
{
    .pd-gallery
    {
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding-bottom: 15px;
    }
    .pd-gallery a
    {
        min-width: 100px;
        width: calc(33.33% - 10px);
    }
}

/* Modal */
html.pd-modal-open{ overflow:hidden; }
.pd-modal[hidden]{ display:none !important; }
.pd-modal__backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  z-index:9998;
}
.pd-modal__panel{
  position:fixed;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(520px, calc(100vw - 32px));
  background:#fff;
  border-radius:16px;
  padding:18px;
  z-index:9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.pd-modal__close{
  position:absolute;
  top:10px;
  right:10px;

  width:36px;
  height:36px;
  padding: 0 !important;

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

  border-radius:10px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;

  cursor:pointer;
  transition:all .15s ease;
}

.pd-modal__close svg{
  width:16px;
  height:16px;
  stroke:#000;
  stroke-width:2.5;
  stroke-linecap:round;
}

.pd-modal__close:hover{
  background:#f3f3f3;
}
.pd-modal__title{ margin:0 0 6px; }
.pd-modal__desc{ margin:0 0 14px; opacity:.75; }

.pd-field{ display:block; margin:10px 0; }
.pd-field span{ display:block; font-size:13px; margin:0 0 6px; opacity:.85; }
.pd-field input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
}

.pd-modal__actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:14px;
}
.pd-btn{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  font-weight:600;
}
.pd-btn--primary{ background:#111; color:#fff; border-color:#111; }
.pd-btn--ghost{ background:#fff; }
.pd-modal__msg{ margin-top:10px; font-size:13px; opacity:.85; }