/* Sales Showcase Widget Styles */
.zsf_content2 {
    background-color: var(--inventory-bg, #ffffff);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    font-family: var(--primaryFont);
    /* Break out of Elementor Boxed limits */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
}

.zsf_content2.dark_sec {
    background-color: #000000;
}

.zf_container {
    max-width: 1440px !important;
    margin: 0 auto;
    padding: 0 40px !important;
    position: relative;
    z-index: 2;
}

/* Specific Grid Animations */
.zf_anim4 {
    grid-column: span 2;
}

.zf_anim5 {
    grid-column: span 3;
}

.zf_anim6 {
    grid-column: span 3;
}

/* Empty Box Container for Grouping */
.empty_box {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: auto !important;
    overflow: visible !important;
}

.empty_box .zf_inr_box {
    flex: 1;
    min-height: 280px;
    width: 100%;
}

.empty_box .zf_inr_box.hf_box {
    min-height: 350px;
}

/* Scan Box Animation */
.scan_box {
    position: relative;
    overflow: hidden;
}

.scan_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.zohowebstatic.com/sites/oweb/images/pos/images/zakya-feature-scan.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.zf_inr_box:hover .scan_bg {
    opacity: 0.25;
    transform: scale(1.05) translateY(-10px);
}

.dark_sec .scan_bg {
    filter: invert(1) brightness(1.5);
    opacity: 0.1;
}

/* Bill Offline Style */
.bill_sec {
    position: relative;
    overflow: hidden;
}

.bill_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.zohowebstatic.com/sites/oweb/images/pos/images/zakya-feature-offline.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    transition: all 0.5s ease;
}

.zf_inr_box:hover .bill_bg {
    opacity: 0.1;
    transform: scale(1.1);
}

.dark_sec .bill_bg {
    filter: invert(1) brightness(2);
}

/* Ensure common box styles if not loaded */
.zf_inr_box {
    border-radius: var(--borderRadiusLg);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.zf_inr_box:hover {
    transform: translateY(-10px);
}

@media (max-width: 991px) {

    .zf_anim4,
    .zf_anim5,
    .zf_anim6,
    .empty_box {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {

    .zf_anim4,
    .zf_anim5,
    .zf_anim6,
    .empty_box {
        grid-column: span 1;
    }

    .empty_box {
        gap: 16px;
    }
}