.product-section .nav-pills .nav-link.active {
    font-weight: lighter !important;
    background-color: transparent !important;
    color: #fed800 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border-right: 4px solid #fed800 !important;
    border-left: 4px solid #fed800 !important;
}

.product-control .nav-link:hover::after {
    width: 100%;
}


.filter-btn {
    font-weight: 900;
    background: rgba(0, 0, 8, 0.7);
    color: #ffffff;
    border: 1px solid #fed800;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    margin: 0.3rem;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #fed800;
    color: rgb(0, 0, 0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 0, 14, 0.3);
}

.search-box {
    position: relative;
}

.search-box input {
    background: rgba(10, 10, 20, 0.7) !important;
    border: 1px solid #fed800 !important;
    color: #fed800 !important;
    padding-left: 2.5rem !important;
    border-radius: 8px !important;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #fed800;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 1.2rem;
    color: #555;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #fed800;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.product-section {
    padding: 6rem 0 4rem;
    position: relative;
}

.product-control {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #fed800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--light-gray);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-item {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgb(254, 216, 0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(254, 216, 0, 0.26);
    border-color: #fed800;
}

.item-actions {
    display: flex;
    gap: 10px;
}



.item-content {
    padding: 20px;
    position: relative;
}

.item-title {
    font-size: 1.5rem;
    color: #fed800;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.item-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.detail-label {
    color: #fed800;
    font-weight: 600;
}

.detail-value {
    color: #ffffff;
    text-align: right;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.item-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


.item-image {
    max-height: 280px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.2s ease;
}

.item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.item-image img {
    transform: scale(1.1);
}

.btn-primary-action {
    background: linear-gradient(135deg, #fed800, #fed800);
    color: rgb(0, 0, 0);
    border: none;
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, #fed800, #fed800);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.btn-secondary-action {
    background: rgba(255, 255, 255, 0.1);
    color: #fed800;
    border: 1px solid #fed800;
}

.btn-secondary-action:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
}

.btn-primary-action {
    background: linear-gradient(135deg, #fed800, #fed800);
    color: rgb(0, 0, 0);
    border: none;
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, #fed800, #fed800);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.item-price {
    width: 100%;
    /* Ocupa toda a largura do pai */
    text-align: center;
    /* Centraliza o conteúdo */
    padding: 0.2rem 0.4rem 0.4rem;
    background: #383838dc;
    border-radius: 0.6rem;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.item-price .del {
    color: #970404;
}

.item-price .del:after {
    content: '';
    margin: 0 0.7rem;
    display: inline-block;
    width: 2.4rem;
    height: 0.9rem;
    background: url('/static/img/method/icon_del.png') right center no-repeat;
    background-size: 100% auto;
    vertical-align: middle;
    position: relative;
    top: -2px;
}


.game-logo {
    position: absolute;
    bottom: 15px;
    left: 15px;
    height: 40px;
    z-index: 2;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
}

.badge-container {
    top: 15px;
    right: 15px;
    z-index: 3;
}

.new-badge,
.promo-badge,
.best-selling-badge {
    background: #ff4500;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.promo-badge {
    background: #ff4500;
}

.best-selling-badge {
    background: #007bff;
}

/* ===== Classificações ===== */
.badge-age {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    padding: 0.5em 1.1em;
    border-radius: 10px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-age-l {
    background-color: #28a745;
}

.badge-age-10 {
    background-color: #17a2b8;
}

.badge-age-12 {
    background-color: #007bff;
}

.badge-age-14 {
    background-color: #ffc107;
}

.badge-age-16 {
    background-color: #fd7e14;
}

.badge-age-18 {
    background-color: #dc3545;
}