
/* Animación para la aparición de las tarjetas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.8s ease-in-out;
}
.card-img {
    height: 250px; /* Ancho fijo */
    width: 100px; /* Alto fijo */
    object-fit: contain; /* Ajusta la imagen dentro del contenedor sin recortes */
    background-color: #fff; /* Fondo blanco para llenar el espacio vacío si la imagen no llena el contenedor */
}


/* SPINNER CSS */
.lds-ellipsis {
    display: inline-block;
    position: fixed; /* Cambiar a fixed para centrarlo en la pantalla */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrar el spinner */
    width: 80px;
    height: 80px;
  }

  .lds-ellipsis div {
    box-sizing: border-box;
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: #00AEEF; /* Cambia el color según el diseño */
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }

  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }

  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }

  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }

  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }

  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }

  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }

  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
/* SPINNER CSS */


/* LOGO WHATSAPP */
  #whatsapp-chat {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

#whatsapp-chat img {
    width: 60px; /* Ajusta el tamaño del logo aquí */
    height: auto;
}


/* === NUEVA EXPERIENCIA DE TARJETA ESTILO SHADCN / PIRÁ PARÁ === */

.pira-card-wrapper {
    text-decoration: none !important;
    display: block;
    cursor: pointer;
}

.pira-card {
    background-color: var(--card-bg, #07111F);
    border: 1px solid var(--card-border, rgba(0, 174, 239, 0.18));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px var(--shadow-color, rgba(0, 0, 0, 0.35));
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.pira-card:hover {
    border-color: rgba(0, 174, 239, 0.55);
    box-shadow: 0 18px 50px rgba(0, 174, 239, 0.16);
    transform: translateY(-5px);
}

/* Contenedor de Imagen */
.pira-card-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--search-bg, #07111F);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pira-card-quickview-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 15;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card-bg, rgba(7, 17, 31, 0.88));
    border: 1px solid var(--card-border, rgba(0, 174, 239, 0.35));
    color: var(--accent, #00AEEF);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px var(--shadow-color, rgba(0, 0, 0, 0.4));
}

.pira-card-quickview-btn:hover {
    background: var(--accent, #00AEEF);
    color: #ffffff;
    transform: scale(1.12);
}

.pira-card-img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pira-card-img.is-active {
    opacity: 1;
}

.pira-card:hover .pira-card-img.is-active {
    transform: scale(1.05);
}

.pira-card-img-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border: 1px solid rgba(0, 174, 239, 0.4);
    border-radius: 999px;
    background: rgba(5, 11, 20, 0.82);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.pira-card-img-arrow:hover {
    background: #00AEEF;
    border-color: #00AEEF;
}

.pira-card-img-arrow-left {
    left: 10px;
}

.pira-card-img-arrow-right {
    right: 10px;
}

.pira-card-img-count {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    border: 1px solid rgba(0, 174, 239, 0.35);
    border-radius: 999px;
    background: rgba(5, 11, 20, 0.78);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    transition: top 0.2s ease;
}

.has-destacado .pira-card-img-count {
    top: 46px;
}

.pira-card-img-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pira-card-img-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.pira-card-img-dots span.is-active {
    width: 18px;
    background: #00AEEF;
}

/* Badge de marca */
.pira-card-brand-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 174, 239, 0.35);
    background-color: rgba(5, 11, 20, 0.75);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}

.pira-card-brand-badge i {
    color: #00AEEF;
}

/* Badge Destacado */
.pira-card-destacado-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 193, 7, 0.8);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95) 0%, rgba(245, 158, 11, 0.95) 100%);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 2;
    animation: piraPulseStar 2.5s infinite alternate;
}

.pira-card-destacado-badge i {
    color: #000000;
    font-size: 11px;
}

.pira-card.is-destacado {
    border-color: rgba(255, 193, 7, 0.45) !important;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.15) !important;
}

.pira-card.is-destacado:hover {
    border-color: rgba(255, 193, 7, 0.85) !important;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.35) !important;
}

@keyframes piraPulseStar {
    0% {
        box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
    }
    100% {
        box-shadow: 0 0 18px rgba(255, 193, 7, 0.7);
    }
}

/* Contenido / Cuerpo */
.pira-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Título */
.pira-card-title {
    font-family: 'Rajdhani', 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--heading-color, #ffffff);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Microcopy */
.pira-card-microcopy {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent, #00AEEF);
    margin-bottom: 12px;
}

/* Fila de precio */
.pira-card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    margin-bottom: 16px;
}

.pira-card-price-block {
    min-width: 0;
}

.pira-card-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    color: var(--heading-color, #ffffff);
    letter-spacing: 0.03em;
    margin: 0;
}

.pira-card-price-note {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-muted, #8FA3B8);
    margin: 5px 0 0;
}

.pira-card-price-hidden {
    font-size: 12px;
    font-weight: 500;
    color: #8FA3B8;
    margin: 0;
}

/* Badge de seguridad */
.pira-card-secure-badge {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 4px;
    border-radius: 9999px;
    background-color: rgba(0, 174, 239, 0.1);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    color: #D9E2EC;
    border: 1px solid rgba(0, 174, 239, 0.2);
}

.pira-card-secure-badge i {
    color: #00AEEF;
}

/* Pie / Botón de Acción */
.pira-card-footer {
    width: 100%;
}

.pira-card-btn {
    display: flex;
    height: 42px;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    background: linear-gradient(90deg, #00AEEF, #43D6FF, #0057B8);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 174, 239, 0.28);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pira-card:hover .pira-card-btn {
    box-shadow: 0 16px 38px rgba(0, 174, 239, 0.42);
    transform: translateY(-1px);
}

.pira-card-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}



@media (max-width: 768px) {
    #whatsapp-chat img {
        width: 50px; /* Ajusta el tamaño del logo para pantallas más pequeñas */
    }
}

/* === MODERNO HERO BANNER === */
.pira-hero {
    background: var(--card-bg, rgba(7, 17, 31, 0.6));
    border: 1px solid var(--card-border, rgba(0, 174, 239, 0.15));
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px var(--shadow-color, rgba(0, 0, 0, 0.4));
    margin-bottom: 2.5rem;
}

.pira-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.25);
    color: var(--accent, #43D6FF);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.pira-hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--heading-color, #ffffff);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 174, 239, 0.3);
}

.pira-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted, #8FA3B8);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-weight: 400;
    line-height: 1.5;
}

/* === CONTENEDOR DE BÚSQUEDA === */
.pira-search-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.pira-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pira-search-input {
    width: 100%;
    background-color: var(--search-bg, rgba(5, 11, 20, 0.8)) !important;
    border: 1px solid var(--card-border, rgba(0, 174, 239, 0.3)) !important;
    border-radius: 14px !important;
    padding: 14px 20px 14px 48px !important;
    color: var(--heading-color, #ffffff) !important;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px var(--shadow-color, rgba(0, 0, 0, 0.2));
}

.pira-search-input::placeholder {
    color: #52667A;
}

.pira-search-input:focus {
    border-color: #00AEEF !important;
    outline: none;
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.25), 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.pira-search-icon {
    position: absolute;
    left: 18px;
    color: rgba(0, 174, 239, 0.7);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.pira-search-input:focus + .pira-search-icon {
    color: #43D6FF;
}

/* === HORIZONTAL CATEGORY CHIPS === */
.pira-category-section {
    margin-bottom: 2rem;
}

.pira-category-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00AEEF;
    margin-bottom: 0.75rem;
    text-align: left;
}

.pira-category-chips-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 4px 4px 12px 4px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.pira-category-chips-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.pira-category-chip {
    flex-shrink: 0;
    border-radius: 12px;
    background-color: rgba(7, 17, 31, 0.6);
    border: 1px solid rgba(0, 174, 239, 0.15);
    color: #8FA3B8;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pira-category-chip:hover {
    color: #ffffff;
    border-color: rgba(0, 174, 239, 0.45);
    background-color: rgba(7, 17, 31, 0.85);
    transform: translateY(-1px);
}

.pira-category-chip.active {
    color: #ffffff;
    background: linear-gradient(90deg, #00AEEF, #0057B8);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.35);
    font-weight: 700;
}

@media (max-width: 576px) {
    .pira-hero {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }
    .pira-hero-title {
        font-size: 2rem;
    }
    .pira-hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .pira-category-chip {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Vertical Navigation for Categories */
.pira-guest-catalog-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: var(--card-bg, rgba(7, 17, 31, 0.92));
    border: 1px solid var(--card-border, rgba(255, 193, 7, 0.34));
    box-shadow: 0 14px 36px var(--shadow-color, rgba(0, 0, 0, 0.35));
}

.pira-guest-catalog-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 193, 7, 0.14);
    color: #FFC107;
    font-size: 1.35rem;
}

.pira-guest-catalog-copy {
    flex: 1 1 auto;
}

.pira-guest-catalog-copy h5 {
    margin: 0 0 0.25rem;
    color: var(--heading-color, #ffffff);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
}

.pira-guest-catalog-copy p {
    margin: 0;
    color: var(--text-color, #C1D1E0);
}

.pira-guest-catalog-copy strong {
    color: #FFC107;
}

.pira-guest-catalog-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pira-guest-catalog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pira-guest-catalog-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.pira-guest-catalog-btn-primary {
    color: #03111f;
    background: linear-gradient(135deg, #00D2FF, #0088CC);
    box-shadow: 0 8px 18px rgba(0, 174, 239, 0.22);
}

.pira-guest-catalog-btn-whatsapp {
    color: #ffffff;
    background: rgba(37, 211, 102, 0.18);
    border: 1px solid rgba(37, 211, 102, 0.45);
}

.pira-vnav-sidebar-sticky {
    position: sticky;
    top: 75px;
    z-index: 100;
    align-self: flex-start;
}

@media (min-width: 768px) {
    .pira-vnav-sidebar-sticky {
        top: 105px;
    }
}

.pira-vnav-card {
    background: rgba(7, 17, 31, 0.75);
    border: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 125px);
}

.pira-vnav-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00AEEF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 174, 239, 0.15);
    flex-shrink: 0;
}

.pira-vnav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    max-height: calc(100vh - 190px);
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 174, 239, 0.4) rgba(5, 11, 20, 0.5);
}

.pira-vnav-list::-webkit-scrollbar {
    width: 6px;
}

.pira-vnav-list::-webkit-scrollbar-track {
    background: rgba(5, 11, 20, 0.5);
    border-radius: 10px;
}

.pira-vnav-list::-webkit-scrollbar-thumb {
    background: rgba(0, 174, 239, 0.4);
    border-radius: 10px;
}

.pira-vnav-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 174, 239, 0.8);
}

.pira-vnav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(15, 30, 50, 0.5);
    border: 1px solid rgba(0, 174, 239, 0.1);
    color: #C1D1E0;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pira-vnav-item span {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 20px);
}

.pira-vnav-item:hover {
    color: #ffffff;
    background: rgba(0, 174, 239, 0.15);
    border-color: rgba(0, 174, 239, 0.35);
    transform: translateX(4px);
}

.pira-vnav-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.9) 0%, rgba(0, 118, 163, 0.95) 100%);
    border-color: #00AEEF;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.35);
    font-weight: 700;
}

.pira-vnav-item.is-destacados-nav {
    border-color: rgba(255, 193, 7, 0.3);
}

.pira-vnav-item.is-destacados-nav.active {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95) 0%, rgba(245, 158, 11, 0.95) 100%);
    color: #000000;
    border-color: #ffc107;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.pira-vnav-item.is-destacados-nav.active i {
    color: #000000 !important;
}

/* Video & Social Section */
.pira-welcome-media-card {
    background: var(--card-bg, rgba(7, 17, 31, 0.75));
    border: 1px solid var(--card-border, rgba(0, 174, 239, 0.2));
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px var(--shadow-color, rgba(0, 0, 0, 0.4));
    margin-bottom: 2rem;
}

.pira-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 174, 239, 0.25);
}

.pira-video-wrapper video {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.pira-social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 174, 239, 0.15);
}

.pira-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pira-social-btn-ws {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.3);
}

.pira-social-btn-ws:hover {
    background: #25D366;
    color: #000000;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.pira-social-btn-ig {
    background: rgba(225, 48, 108, 0.15);
    color: #E1306C;
    border-color: rgba(225, 48, 108, 0.3);
}

.pira-social-btn-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
    transform: translateY(-2px);
}

.pira-social-btn-fb {
    background: rgba(24, 119, 242, 0.15);
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.3);
}

.pira-social-btn-fb:hover {
    background: #1877F2;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.5);
    transform: translateY(-2px);
}

.pira-social-btn-tt {
    background: rgba(254, 44, 85, 0.15);
    color: #FE2C55;
    border-color: rgba(254, 44, 85, 0.3);
}

.pira-social-btn-tt:hover {
    background: #000000;
    color: #25F4EE;
    border-color: #FE2C55;
    box-shadow: 0 0 15px rgba(254, 44, 85, 0.5);
    transform: translateY(-2px);
}

.pira-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pira-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.pira-category-search-control {
    position: relative;
    min-width: 220px;
    max-width: 280px;
}

.pira-category-search-input {
    width: 100%;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 174, 239, 0.32);
    background: rgba(5, 11, 20, 0.88);
    color: #ffffff;
    padding: 0 2.2rem 0 2.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: all 0.25s ease;
}

.pira-category-search-input::placeholder {
    color: #8FA3B8;
    font-size: 0.82rem;
    font-weight: 500;
}

.pira-category-search-input:focus {
    border-color: rgba(0, 174, 239, 0.8);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
    background: rgba(7, 17, 31, 0.95);
}

.pira-category-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #00AEEF;
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0.8;
}

.pira-category-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8FA3B8;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0.8rem;
    display: none;
    transition: color 0.2s ease;
}

.pira-category-search-clear:hover {
    color: #ffffff;
}

.pira-sort-control {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.pira-sort-control label {
    margin: 0;
    color: #8FA3B8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pira-sort-select {
    min-width: 200px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 174, 239, 0.32);
    background: rgba(5, 11, 20, 0.88);
    color: #ffffff;
    padding: 0 1rem;
    font-weight: 700;
    outline: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.pira-sort-select:focus {
    border-color: rgba(0, 174, 239, 0.75);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.16);
}

.pira-sort-select option {
    background: #07111F;
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .pira-toolbar-actions {
        width: 100%;
        justify-content: space-between;
    }
    .pira-category-search-control {
        min-width: 100%;
        max-width: 100%;
    }
    .pira-sort-control {
        width: 100%;
        justify-content: space-between;
    }
    .pira-sort-select {
        flex: 1;
    }
}

/* Logged catalog: reuse the public "/" catalog sidebar look without changing behavior */
.pira-category-section {
    float: left;
    width: 260px;
    margin-right: 24px;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--card-bg, rgba(7, 17, 31, 0.75));
    border: 1px solid var(--card-border, rgba(0, 174, 239, 0.2));
    border-radius: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px var(--shadow-color, rgba(0, 0, 0, 0.35));
}

.pira-category-section .pira-category-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 174, 239, 0.18);
    color: #00AEEF;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pira-category-section .pira-category-label::before {
    content: "\f03a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
}

.pira-category-section .pira-category-label::after {
    content: "Categorías";
    font-size: 1.25rem;
}

.pira-category-chips-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: visible;
    padding: 0;
}

.pira-category-chip {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    border-radius: 12px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: var(--search-bg, rgba(10, 25, 45, 0.78));
    border: 1px solid var(--card-border, rgba(0, 174, 239, 0.15));
    color: var(--text-color, #C1D1E0);
    font-size: 0.95rem;
    font-weight: 800;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
}

.pira-category-chip::before {
    content: "\f02b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.65rem;
    color: var(--accent, #00AEEF);
    font-size: 0.85rem;
}

.pira-category-chip::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 1rem;
    color: var(--text-muted, rgba(193, 209, 224, 0.55));
    font-size: 0.8rem;
}

.pira-category-chip:hover {
    color: var(--heading-color, #ffffff);
    border-color: var(--accent, rgba(0, 174, 239, 0.45));
    background: var(--card-border, rgba(12, 32, 56, 0.92));
    transform: translateX(3px);
}

.pira-category-chip.active {
    color: #ffffff;
    background: linear-gradient(135deg, #00D2FF, #0076D9);
    border-color: rgba(0, 174, 239, 0.75);
    box-shadow: 0 8px 24px rgba(0, 174, 239, 0.28);
}

.pira-category-chip.active::before,
.pira-category-chip.active::after {
    color: #ffffff;
}

.pira-category-section + .pira-catalog-toolbar,
.pira-category-section + .pira-catalog-toolbar + .d-none + #product-container {
    margin-left: 284px;
}

.pira-category-section + .pira-catalog-toolbar + .d-none + #product-container::after {
    content: "";
    display: block;
    clear: both;
}

.pira-logged-no-more {
    margin-left: 284px !important;
}

@media (max-width: 991.98px) {
    .pira-category-section {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .pira-category-section + .pira-catalog-toolbar,
    .pira-category-section + .pira-catalog-toolbar + .d-none + #product-container {
        margin-left: 0;
    }

    .pira-logged-no-more {
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .pira-vnav-sidebar-sticky {
        padding-right: 2px !important;
    }
    .pira-vnav-card {
        padding: 0.6rem !important;
        border-radius: 10px !important;
        max-height: calc(100vh - 90px) !important;
    }
    .pira-vnav-list {
        max-height: calc(100vh - 145px) !important;
    }
    .pira-vnav-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }
    .pira-vnav-item {
        padding: 7px 8px !important;
        font-size: 0.78rem !important;
        border-radius: 8px !important;
    }
    .pira-vnav-item i.fa-chevron-right {
        display: none !important;
    }
    .pira-catalog-toolbar {
        margin-bottom: 0.75rem !important;
    }
    .pira-catalog-toolbar h3 {
        font-size: 1.1rem !important;
    }

    /* Enforce 1 single card wide in the 50% products column on mobile */
    #product-container > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .pira-card-img-container {
        aspect-ratio: 1 / 1 !important;
    }
    .pira-card-body {
        padding: 0.75rem !important;
    }
    .pira-card-title {
        font-size: 0.9rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.4rem !important;
    }
    .pira-card-price {
        font-size: 1.1rem !important;
    }
    .pira-card-footer {
        padding: 0.5rem 0.75rem 0.75rem !important;
    }
    .pira-card-btn {
        padding: 8px 12px !important;
        font-size: 0.82rem !important;
    }
}
