/* SuperPet WPBakery Fallback Grid System */
/* Ensures layout works even if WPBakery is not installed */

.sp-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    width: 100%;
}

.sp-col {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* Width Utilities mimicking VC */
.sp-col-1-1 {
    width: 100%;
}

.sp-col-1-2 {
    width: 50%;
}

.sp-col-1-3 {
    width: 33.3333%;
}

.sp-col-2-3 {
    width: 66.6666%;
}

.sp-col-1-4 {
    width: 25%;
}

.sp-col-3-4 {
    width: 75%;
}

.sp-col-1-6 {
    width: 16.6666%;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .sp-col-1-2,
    .sp-col-1-3,
    .sp-col-2-3,
    .sp-col-1-4,
    .sp-col-3-4 {
        width: 100%;
    }
}

/* Spacing Utilities */
.vc_empty_space {
    width: 100%;
    clear: both;
}

/* Button Fallback */
.vc_btn3-container {
    text-align: center;
    margin: 20px 0;
}

/* Text Block */
.wpb_text_column {
    margin-bottom: 20px;
}

/* Notice/Message Box */
.vc_message_box {
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    margin-bottom: 20px;
}

.vc_message_box-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

/* Fix for Wuffi Category Grid Shortcode Container */
.wuffi-category-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .wuffi-category-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wuffi-category-grid-container {
        grid-template-columns: 1fr;
    }
}