/**
 * CC Main Categories - Front Office Styles
 * Displays main categories with circular images and titles
 */

/* Main container - Full screen width */
.cc-maincategories {
    position: relative;
    left: -15px;
    width: calc(100vw);
    padding: 30px 0;
    overflow: hidden;
    /* background-color: #f8f9fa; */
}

.cc-maincategories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 150px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Individual category item */
.cc-maincategory-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 120px;
}

.cc-maincategory-item:hover {
    transform: translateY(-5px);
}

/* Circular image wrapper */
.cc-maincategory-image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    background-color: #ffffff;
}

.cc-maincategory-item:hover .cc-maincategory-image-wrapper {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #F7080B;
}

/* Circular image */
.cc-maincategory-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cc-maincategory-item:hover .cc-maincategory-image {
    transform: scale(1.1);
}

/* Title below image */
.cc-maincategory-title {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    word-wrap: break-word;
    transition: color 0.3s ease;
}

.cc-maincategory-item:hover .cc-maincategory-title {
    color: #F7080B;
}

/* fix especifico para el tema del informal y tusdisfrasces */
@media (min-width: 1024px) and (max-width: 1661px) {
    .cc-maincategories {
        margin-left: -45px;
        margin-right: -45px;
        width: calc(100vw + 90px);
    }
}

@media (max-width: 768px) {
    .cc-maincategories-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}