/* Base Structural & Aesthetic Styles for WooCommerce Categories Widget */

.woo-cat-widget-wrapper-789 {
    --woo-cat-bg: #FCFAF5; /* Warm Ivory */
    --woo-cat-accent: #D4AF37; /* Contrasting Gold */
    --woo-cat-text: #333333;
    
    font-family: 'Playfair Display', serif; /* Or assume theme serif */
    padding: 2rem 0;
}

.woo-cat-header-789 {
    margin-bottom: 2rem;
}

.woo-cat-header-789 h2 {
    font-style: italic;
    color: var(--woo-cat-accent);
    margin: 0;
    font-weight: 400;
}

/* Grid Layout */
.woo-cat-grid-789 {
    display: grid;
    /* Columns and Gap controlled by Elementor */
}

/* Card General */
.woo-cat-card-789 {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* Border radius from Elementor applied to wrapper */
}

.woo-cat-img-wrapper-789 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.woo-cat-img-wrapper-789 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

/* Overlay */
.woo-cat-img-wrapper-789::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* Default subtle overlay */
    transition: background-color 0.3s ease;
    z-index: 1;
}

/* Hover Effect */
.woo-cat-card-789:hover .woo-cat-img-wrapper-789 img {
    transform: scale(1.05);
}

/* Title Positioning */
.woo-cat-title-wrapper-789 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
}

.woo-cat-title-789 {
    color: #FFFFFF;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Carousel Specific */
.woo-cat-carousel-789 {
    position: relative;
    padding-bottom: 40px; /* Space for dots */
}

.woo-cat-carousel-789 .swiper-button-prev,
.woo-cat-carousel-789 .swiper-button-next {
    color: var(--woo-cat-accent);
}

/* Hide Swiper default arrows if using custom icons */
.woo-cat-carousel-789 .swiper-button-prev::after,
.woo-cat-carousel-789 .swiper-button-next::after {
    display: none;
}

.woo-cat-carousel-789 .swiper-pagination-bullet {
    background-color: #cccccc;
    opacity: 0.7;
}

.woo-cat-carousel-789 .swiper-pagination-bullet-active {
    background-color: var(--woo-cat-accent);
    opacity: 1;
}
