/*
Theme Name: Coleccionables El Pais
*/

@import url(output.css);

details > summary {
    list-style: none;
  }
  details > summary::-webkit-details-marker {
    display: none;
  }

  summary::after {
    float: right;
    content: ">";

  }

  .swiper-button-next:after,
  .swiper-button-prev:after{
    padding: 20px;
    color: #004F88;
    background: #fff;
    font-size: 20px!important;
}
details ul li {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px #eee solid;
    }

    details ul li:last-child {
        border-bottom: 0px #eee solid;
    }
.swiper-slide.thumb img {
    height: 100px;
    object-fit: contain;
}

.descripcion-ampliada {
    line-height: 1.5rem;
    font-size: 1rem;
}
.descripcion-ampliada p {
    line-height: 1.5rem;
    font-size: 1rem;
}

/* Estilos del buscador */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 16px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    border-color: #ffffff;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.search-button {
    position: absolute;
    top: 50%;
    right: 8px;
    padding: 8px;
    border: none;
    border-radius: 50%;
    color: white;
    background: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    transform: translateY(-50%);
}

.search-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-results {
    position: absolute;
    z-index: 1000;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    max-height: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    color: #333;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    margin-bottom: 4px;
    color: #004F88;
    font-weight: 600;
}

.search-result-excerpt {
    line-height: 1.4;
    color: #666;
    font-size: 14px;
}

/* Buscador móvil */
.mobile-search-toggle {
    display: none;
    padding: 8px;
    border: none;
    border-radius: 4px;
    color: white;
    background: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-search-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.mobile-search-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    border-radius: 8px;
    background: white;
}

.mobile-search-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    color: #666;
    background: none;
    cursor: pointer;
    font-size: 24px;
}

.mobile-search-input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 10px;
    border: 2px solid #004F88;
    border-radius: 25px;
    font-size: 16px;
}

.mobile-search-input:focus {
    border-color: #0066cc;
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-search {
        display: none;
    }

    .mobile-search-toggle {
        display: block;
    }

    .header-content {
        gap: 1rem;
    }
}

@media (min-width: 769px) {
    .mobile-search-toggle {
        display: none;
    }
}


.swiper-button-next:after, .swiper-button-prev:after {
    padding: 10px;
    color: #fff;
    background: #00000036;
}