@import url('https://fonts.googleapis.com/css2?family=Akira:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

.universo-toys-filtro {
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    color: #222;
}

.universo-toys-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.universo-toys-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #FAFAFA;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    height: fit-content;
    position: sticky;
    top: 20px;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-search {
    position: relative;
}

.universo-toys-search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background: #FFF;
    color: #222;
    transition: all 0.3s ease;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-search-input::placeholder {
    color: #999;
}

.universo-toys-search-input:focus {
    outline: none;
    border-color: #4963C9;
    box-shadow: 0 0 0 3px rgba(73, 99, 201, 0.1);
}

.universo-toys-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
}

.universo-toys-sort {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.universo-toys-sort label {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-select {
    width: 100%;
    padding: 12px 14px;
    height: auto;
    min-height: 44px;
    line-height: 1.6;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    background: #FFF;
    color: #222;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    box-sizing: border-box;
    vertical-align: middle;
}

.universo-toys-select option {
    padding: 8px;
    line-height: 1.6;
}

.universo-toys-select:focus {
    outline: none;
    border-color: #4963C9;
    box-shadow: 0 0 0 3px rgba(73, 99, 201, 0.1);
}

.universo-toys-filter-title {
    font-size: 11px;
    font-weight: 700;
    color: #4963C9;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-bottom: 12px;
    border-bottom: 3px solid #F257A1;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-price-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.universo-toys-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background: #E0E0E0;
    cursor: pointer;
}

.universo-toys-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4963C9;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.universo-toys-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #3E50A8;
}

.universo-toys-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4963C9;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.universo-toys-range::-moz-range-thumb:hover {
    transform: scale(1.15);
    background: #3E50A8;
}

.universo-toys-price-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #4963C9;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-categories-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.universo-toys-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 6px;
}

.universo-toys-categories::-webkit-scrollbar {
    width: 6px;
}

.universo-toys-categories::-webkit-scrollbar-track {
    background: #F0F0F0;
    border-radius: 3px;
}

.universo-toys-categories::-webkit-scrollbar-thumb {
    background: #D0D0D0;
    border-radius: 3px;
}

.universo-toys-categories::-webkit-scrollbar-thumb:hover {
    background: #B0B0B0;
}

.universo-toys-category-parent {
    margin-bottom: 0;
}

.universo-toys-category-main-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    color: #222;
    user-select: none;
    padding: 10px 0;
    gap: 10px;
    border-bottom: 1px solid #E8E8E8;
    transition: all 0.2s ease;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-category-main-label:hover {
    color: #4963C9;
    background: rgba(73, 99, 201, 0.05);
    padding-left: 4px;
}

.universo-toys-category-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 10px;
    font-weight: 500;
    color: #666;
    user-select: none;
    padding: 7px 0 7px 26px;
    gap: 10px;
    transition: all 0.2s ease;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-category-label:hover {
    color: #4963C9;
    padding-left: 30px;
}

.universo-toys-category-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4963C9;
    flex-shrink: 0;
}

.universo-toys-category-count {
    font-size: 11px;
    color: #999;
    margin-left: auto;
    flex-shrink: 0;
}

.universo-toys-reset-btn {
    width: 100%;
    padding: 13px 16px;
    background: #F257A1;
    color: #FFF;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(242, 87, 161, 0.25);
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-reset-btn:hover {
    background: #E0408A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 87, 161, 0.35);
}

.universo-toys-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.universo-toys-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 3px solid #F257A1;
}

.universo-toys-count {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.universo-toys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
}

.universo-toys-product-card {
    background: #FFF;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.universo-toys-product-card:hover {
    border-color: #F257A1;
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.universo-toys-product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.universo-toys-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s ease;
}

.universo-toys-product-card:hover .universo-toys-product-image img {
    transform: scale(1.08);
}

.universo-toys-product-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.universo-toys-product-category {
    color: #4963C9;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.universo-toys-product-title {
    color: #222;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.universo-toys-product-price {
    color: #F257A1;
    font-size: 13px;
    font-weight: 700;
}

.universo-toys-btn {
    display: inline-block;
    width: 100%;
    padding: 9px 12px;
    background: #4963C9;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-style: italic;
}

.universo-toys-btn:link {
    color: white;
}

.universo-toys-btn:visited {
    color: white;
}

.universo-toys-btn:hover {
    background: #3E50A8;
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 99, 201, 0.3);
}

.universo-toys-btn:active {
    background: #3E50A8;
    text-decoration: none;
    color: white;
}

.universo-toys-btn:focus {
    color: white;
}

.universo-toys-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 2px solid #E8E8E8;
}

.universo-toys-page-link {
    padding: 9px 14px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    cursor: pointer;
    background: #FFF;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    font-family: 'Akira', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.universo-toys-page-link:hover {
    border-color: #F257A1;
    color: #F257A1;
    background: rgba(242, 87, 161, 0.05);
}

.universo-toys-page-link.active {
    background: #F257A1;
    color: #FFF;
    border-color: #F257A1;
}

.universo-toys-loading,
.universo-toys-no-results {
    text-align: center;
    padding: 60px 30px;
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

.universo-toys-no-results {
    font-size: 18px;
}

@media (max-width: 1200px) {
    .universo-toys-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .universo-toys-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .universo-toys-sidebar {
        position: static;
    }
    
    .universo-toys-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .universo-toys-product-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .universo-toys-wrapper {
        gap: 15px;
    }
    
    .universo-toys-sidebar {
        padding: 15px;
    }
    
    .universo-toys-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .universo-toys-product-image {
        height: 200px;
    }
}
