/* ==================================================
   flash Category Section Styles
   ================================================== */
.flash-category-section {
    padding: 70px 0;
    background-color: #0B081D; /* Theme background */
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* Titles */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.sub-title {
    font-size: 11px;
    letter-spacing: 2px;
    color: #8c8c9a;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.main-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.text-yellow {
    color: #FFD700;
}

.wave-separator {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Category Grid Setup */
.category-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-item {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-8px);
}

/* Glowing Circles */
.category-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid transparent; /* Managed dynamically in PHP */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.02); /* Slight inner background */
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-item:hover .category-circle img {
    transform: scale(1.1);
}

.category-name {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.category-item:hover .category-name {
    color: #FFD700;
}

/* Custom Design for "All Categories" Last Item */
.all-cat-circle {
    border-color: #374151 !important;
    box-shadow: none !important;
}

.category-item:hover .all-cat-circle {
    border-color: #6b7280 !important;
    box-shadow: 0 0 15px rgba(107, 114, 128, 0.3) !important;
}

.grid-icon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 28px;
    height: 28px;
}

.grid-icon span {
    display: block;
    border: 2px solid #8c8c9a;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    transition: border-color 0.3s ease;
}

.category-item:hover .grid-icon span {
    border-color: #ffffff;
}