/*
Theme Name: Elementor-child
Theme URI: elementor.com
Description: Child theme for Hello Elementor
Author: Elementor
Author URI: elementor.com
Template: hello-elementor
Version: 1.0
*/


/* Sofia Pro Regular */
@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro.woff2') format('woff2'),
        url('assets/fonts/SofiaPro.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-BlackItalic.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-Black.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-Bold.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-BoldItalic.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-ExtraLightItalic.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-ExtraLight.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-Light.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-LightItalic.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-MediumItalic.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-Medium.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro.woff2') format('woff2'),
        url('assets/fonts/SofiaPro.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-SemiBoldItalic.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-Italic.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-UltraLightItalic.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-UltraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-UltraLight.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('assets/fonts/SofiaPro-SemiBold.woff2') format('woff2'),
        url('assets/fonts/SofiaPro-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kenyan Coffee Rg';
    src: url('assets/fonts/KenyanCoffeeRg-Regular.woff2') format('woff2'),
        url('assets/fonts/KenyanCoffeeRg-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kenyan Coffee Rg';
    src: url('assets/fonts/KenyanCoffeeRg-Bold.woff2') format('woff2'),
        url('assets/fonts/KenyanCoffeeRg-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Kenyan Coffee Rg', sans-serif;
}

.kenyan-font h5,
.kenyan-font h3,
.kenyan-font h2,
body, p, a, li, span {
    font-family: 'Sofia Pro', sans-serif;
}

:root {
    --color-primary: #161616;
    --color-secondary: #FEEEDA;
    --color-text: #161616;
    --color-accent: #FEEEDA;
    --color-white: #FFFFFF;
    --color-dark-red: #9A0505;
    --color-light-gray: #EBEBEB;
}

/* Decorative border positions */
.eventCard {
    cursor: pointer;
}

.eventCard .elementor-image-box-content {
    padding: 15px 0;
    text-align: center;
    float: left;
    position: relative;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-sizing: content-box;
    border: 2px solid transparent;
}

.eventCard .elementor-image-box-content::before,
.eventCard .elementor-image-box-content::after {
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    transition: 0.5s all;
}

.eventCard .elementor-image-box-content::before {
    top: -2px;
    right: -2px;
    border-top: 4px solid var(--color-primary);
    border-right: 4px solid var(--color-primary);
}

.eventCard .elementor-image-box-content::after {
    bottom: -2px;
    left: -2px;
    border-bottom: 4px solid var(--color-primary);
    border-left: 4px solid var(--color-primary);
}

.eventCard:hover .elementor-image-box-content::before,
.eventCard:hover .elementor-image-box-content::after {
    width: 102%;
    height: 50px;
}

/* End of Decorative border positions */

/* Menu Disk infinite rotating */
.rotate-infinite img {
    animation: rotate 10s linear infinite;
    display: inline-block;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* End of Menu Disk infinite rotating */

.custom-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.custom-marquee h3,
.custom-marquee h5,
.custom-marquee p,
.custom-marquee .event-venue {
    display: inline-block;
    padding-left: 100%;
    animation: none;
    white-space: nowrap;
}

/* Upcoming Events */
.event-card {
    background: var(--color-secondary);
    padding: 10px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.kenyan-font .event-title {
    font-size: 24px;
    line-height: 30px;
    margin: 0 0 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.event-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.event-meta .event-date {
    text-transform: uppercase;
    /* width: 100%; */
}

.eventSwiper .swiper-button-next:after, .eventSwiper .swiper-button-prev:after {
    content: '';
}

.swiper-button-prev i,
.swiper-button-next i {
    font-size: 40px;
    color: var(--color-white);
}

.eventSwiper .swiper-slide {
    height: auto;
}

/* End of Upcoming Events */

/* Users Flip Cards */
.flip-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 10px;
}

.flip-card {
    background-color: transparent;
    width: 308px;
    height: 525px;
    perspective: 1000px;
    border-radius: 50px;
    flex: 0 0 auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background-color: var(--color-white);
    transform: rotateY(180deg);
    padding: 20px;
    box-sizing: border-box;
}

.back-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-content .custom-marquee {
    background-color: var(--color-primary);
    padding: 10px 10px;
    border-radius: 100px;
    margin-bottom: 15px;
    width: 90%;
}

.back-content .custom-marquee h3 {
    font-size: 15px;
    line-height: 22px;
    margin: 0px;
    color: var(--color-white);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.back-content h5 {
    font-size: 14px;
    margin: 0 0 15px 0;
    text-align: center;
    color: var(--color-text);
}

.back-content img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 15px;
}

.news-excerpt p {
    font-size: 16px;
    margin-top: 30px;
    text-align: center;
    padding: 0 10px;
    color: var(--color-text);
}


.flip-card img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.flip-card:hover img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.load-more-btn-wrapper {
    text-align: center;
    margin-top: 2rem;
    flex-basis: 100%;
}

.ver-mas-btn {
    border: 1px solid var(--color-white);
}

.no-flip .flip-card-inner {
    transform: none !important;
}

.no-flip .flip-card:hover .flip-card-inner {
    transform: none !important;
}

/* Users Flip Cards */

.bizzaro-form .nf-before-form-content,
.bizzaro-form .nf-field-label {
    display: none;
}

.bizzaro-form .nf-field-element {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.bizzaro-form nf-field:nth-child(1) .nf-field-element::before {
    background-image: url('assets/images/formicons5.svg');
}

.bizzaro-form nf-field:nth-child(2) .nf-field-element::before {
    background-image: url('assets/images/formicons2.svg');
}

.bizzaro-form nf-field:nth-child(3) .nf-field-element::before {
    background-image: url('assets/images/formicons1.svg');
}

.bizzaro-form nf-field:nth-child(4) .nf-field-element::before {
    background-image: url('assets/images/formicons3.svg');
}

.bizzaro-form nf-field:nth-child(5) .nf-field-element::before {
    background-image: url('assets/images/formicons4.svg');
}

.bizzaro-form .nf-field-element::before {
    content: '';
    background-repeat: no-repeat;
    background-size: 20px auto;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}


.bizzaro-form .ninja-forms-field {
    padding: 10px;
    border: 0px;
    border-bottom: 1px solid var(--color-dark-red);
    border-radius: 4px;
    flex: 1;
}

.bizzaro-form .ninja-forms-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

.bizzaro-form .nf-field-element textarea {
    height: 50px;
}

.single-novedad-wrapper {
    width: 100%;
    padding: 10px 50px;
    margin: 0;
}

.novedad-featured-img img {
    display: block;
    width: 100%;
    height: 525px;
    border-radius: 30px;
    object-fit: cover;
}

.novedad-content-block {
    padding: 10px;
    margin: 50px 0px;
}

.novedad-content {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.8;
    color: var(--color-white);
    font-family: 'Sofia Pro', sans-serif;
    justify-content: center;
}

.event-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


.event-cards-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.event-cards-flex.eventPast {
    display: flex;
    max-width: 100%;
    gap: 0px;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.event-cards-flex.eventPast .event-card {
    flex: 0 0 calc(20% - 35px);
    max-width: calc(20% - 35px);
}

.event-cards-flex.eventPast .event-card:first-child,
.event-cards-flex.eventPast .event-card:last-child {
    transform: translateY(-350px);
}

.event-cards-flex.eventPast .event-card:nth-child(2),
.event-cards-flex.eventPast .event-card:nth-child(4) {
    transform: translateY(-175px);
}

.event-cards-flex .event-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-sizing: border-box;
    background: var(--color-primary);
    border: 1px solid #eee;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}


.event-cards-flex .event-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
}

.stagger-up {
    transform: translateY(-105px);
}

.stagger-normal {
    transform: translateY(0);
}

.event-image {
    width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 6px;
}

.event-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.event-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
}

.event-cards-flex .event-meta,
.event-cards-flex .event-title {
    color: var(--color-secondary);
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .flip-cards-container {
        justify-content: space-around;
    }
}

@media (max-width: 1200px) {
    .flip-card {
        width: 280px;
        height: 480px;
    }
}

@media (max-width: 992px) {
    .flip-cards-container {
        gap: 15px;
    }

    .flip-card {
        width: 45%;
        height: 500px;
        margin-bottom: 20px;
    }

    .single-novedad-wrapper {
        padding: 10px 20px;
    }

    .event-cards-flex.eventPast .event-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
        margin-bottom: 20px;
    }

    .event-cards-flex.eventPast .event-card:nth-child(2),
    .event-cards-flex.eventPast .event-card:nth-child(4) {
        transform: translateY(0px);
    }


    .event-cards-flex.eventPast .event-card:first-child,
    .event-cards-flex.eventPast .event-card:last-child {
        transform: translateY(0px);
    }

    .event-cards-flex.eventPast {

        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .flip-card {
        width: 100%;
        max-width: 350px;
        height: 550px;
    }

    .single-novedad-wrapper {
        padding: 10px 10px;
    }

    .event-cards-flex.eventPast .event-card {
        flex: 0 0 calc(100% - 15px);
        max-width: calc(100% - 15px);
        margin-bottom: 20px;
    }

    .event-cards-flex.eventPast .event-card:nth-child(2),
    .event-cards-flex.eventPast .event-card:nth-child(4) {
        transform: translateY(0px);
    }


    .event-cards-flex.eventPast .event-card:first-child,
    .event-cards-flex.eventPast .event-card:last-child {
        transform: translateY(0px);
    }

    .event-cards-flex.eventPast {

        flex-wrap: wrap;
    }
}

@media (max-width: 991px) {
    .event-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .event-card {
        flex: 1 1 100%;
    }

    .stagger-up {
        transform: none;
    }
}


/* ====== WooCommerce: Ordenar (clean/premium) ====== */
.woocommerce .woocommerce-ordering{
  position: relative;
  margin: 12px 0 18px;
  display: flex;
  justify-content: center;  /* centrado como en tu captura */
}

/* Select */
.woocommerce .woocommerce-ordering select.orderby{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  width: min(520px, 92vw);
  height: 44px;
  padding: 0 46px 0 16px;

  border: 1px solid rgba(15, 23, 42, 0.14); /* slate */
  border-radius: 999px; /* pill */
  background: #fff;
  color: #0f172a;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1px;

  box-shadow: none;       /* limpio */
  outline: none;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}

/* Hover/Focus: sutil, sin “caja vieja” */
.woocommerce .woocommerce-ordering select.orderby:hover{
  border-color: rgba(15, 23, 42, 0.22);
  background: #ffffff;
}

.woocommerce .woocommerce-ordering select.orderby:focus{
  border-color: rgba(15, 23, 42, 0.35);
  background: #ffffff;
  transform: translateY(-1px);
}

/* Flecha minimal */
.woocommerce .woocommerce-ordering::after{
  content:"";
  position:absolute;
  right: calc(4vw + 16px);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events:none;
  opacity:.65;
  background: center/18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%230f172a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Ajuste del right para que la flecha quede bien en desktop */
@media (min-width: 768px){
  .woocommerce .woocommerce-ordering::after{
    right: calc((100% - min(520px, 92vw))/2 + 16px);
  }
}
