
/* Woo App List Catalog v1.2.0 */

.walc-active ul.products,
.walc-shortcode-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.walc-active ul.products::before,
.walc-active ul.products::after {
    display: none !important;
}

.walc-active ul.products li.product.walc-product-card,
.walc-shortcode-list li.product.walc-product-card,
li.product.walc-product-card {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both !important;
    text-align: left !important;
}

.walc-inner {
    display: grid !important;
    grid-template-columns: var(--walc-img-desktop, 82px) minmax(0, 1fr) minmax(150px, 220px);
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.045);
    min-height: 98px;
}

.walc-image {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: var(--walc-img-desktop, 82px);
    height: var(--walc-img-desktop, 82px);
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
}

.walc-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 5px !important;
}

.walc-main {
    min-width: 0;
}

.walc-title {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-weight: 800 !important;
}

.walc-title a {
    color: #1677bd !important;
    text-decoration: none !important;
}

.walc-desc {
    font-size: 12.5px;
    color: #666;
    line-height: 1.35;
    margin-top: 4px;
}

.walc-tags,
.walc-sku {
    font-size: 11.5px;
    color: #777;
    margin-top: 4px;
}

.walc-buy {
    min-width: 0;
}

.walc-price {
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: #111 !important;
    text-align: right;
    margin-bottom: 5px;
}

.walc-price .amount,
.walc-price ins,
.walc-price bdi {
    font-weight: 900 !important;
}

.walc-price del {
    opacity: .6;
    font-size: .82em;
}

.walc-price-mobile {
    display: none;
}

.walc-stock {
    font-size: 11.5px;
    text-align: right;
    margin-bottom: 6px;
}

.walc-stock .stock {
    margin: 0 !important;
}

.walc-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
}

.walc-actions .quantity {
    margin: 0 !important;
}

.walc-actions .qty {
    width: 58px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 4px !important;
    text-align: center !important;
    border-radius: 8px !important;
}

.walc-button {
    min-height: 34px !important;
    line-height: 34px !important;
    padding: 0 11px !important;
    border-radius: 9px !important;
    background: #1987d2 !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-align: center !important;
    border: 0 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.walc-button:hover {
    filter: brightness(.94);
    color: #fff !important;
}

.walc-wpcpq {
    margin: 5px 0 6px;
    font-size: 11.5px;
    line-height: 1.25;
    overflow-x: auto;
    max-width: 100%;
}

.walc-wpcpq table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    border-collapse: collapse !important;
}

.walc-wpcpq table th,
.walc-wpcpq table td {
    padding: 3px 5px !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
}

.walc-wpcpq p {
    margin: 0 0 3px !important;
}

.walc-full-bottom {
    grid-column: 1 / -1;
}

.walc-mode-css_force ul.products li.product:not(.walc-product-card) {
    float: none !important;
    width: 100% !important;
    margin: 0 0 10px !important;
}

.walc-mode-css_force ul.products li.product:not(.walc-product-card) a.woocommerce-LoopProduct-link {
    display: grid !important;
    grid-template-columns: var(--walc-img-desktop, 82px) 1fr;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 10px;
    text-align: left !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.045);
}

.walc-mode-css_force ul.products li.product:not(.walc-product-card) img {
    width: var(--walc-img-desktop, 82px) !important;
    height: var(--walc-img-desktop, 82px) !important;
    object-fit: contain !important;
    margin: 0 !important;
}

.walc-mode-css_force ul.products li.product:not(.walc-product-card) .woocommerce-loop-product__title {
    font-size: 16px !important;
    line-height: 1.2 !important;
    color: #1677bd !important;
    font-weight: 800 !important;
    padding: 0 !important;
    margin: 0 0 4px !important;
}

.walc-mode-css_force ul.products li.product:not(.walc-product-card) .price {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #111 !important;
}

@media (max-width: 768px) {
    .walc-active ul.products,
    .walc-shortcode-list {
        gap: 7px !important;
    }

    .walc-inner {
        grid-template-columns: var(--walc-img-mobile, 58px) minmax(0, 1fr);
        gap: 8px;
        padding: 8px;
        border-radius: 12px;
        min-height: 74px;
    }

    .walc-image {
        width: var(--walc-img-mobile, 58px);
        height: var(--walc-img-mobile, 58px);
        border-radius: 10px;
    }

    .walc-title {
        font-size: var(--walc-title-mobile, 13px) !important;
        line-height: 1.16 !important;
        margin-bottom: 2px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .walc-desc,
    .walc-tags,
    .walc-sku {
        display: none !important;
    }

    .walc-buy {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 6px;
        align-items: center;
        margin-top: 0;
    }

    .walc-price-desktop {
        display: none;
    }

    .walc-price-mobile {
        display: block;
        text-align: left;
        font-size: var(--walc-price-mobile, 15px) !important;
        margin: 2px 0 0 !important;
    }

    .walc-stock {
        display: none;
    }

    .walc-actions {
        justify-content: flex-end;
        gap: 5px;
    }

    .walc-actions .qty {
        width: 50px !important;
        height: 31px !important;
        min-height: 31px !important;
        font-size: 12px !important;
    }

    .walc-button {
        min-height: 31px !important;
        line-height: 31px !important;
        padding: 0 9px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
    }

    .walc-wpcpq {
        grid-column: 1 / -1;
        font-size: 10.5px;
        margin: 3px 0 4px;
        max-height: 90px;
        overflow: auto;
    }

    .walc-wpcpq table,
    .walc-wpcpq table th,
    .walc-wpcpq table td {
        font-size: 10.5px !important;
        padding: 2px 4px !important;
    }

    .walc-hide-wpcpq-mobile .walc-wpcpq {
        display: none !important;
    }

    .walc-mode-css_force ul.products li.product:not(.walc-product-card) a.woocommerce-LoopProduct-link {
        grid-template-columns: var(--walc-img-mobile, 58px) 1fr;
        gap: 8px;
        padding: 8px;
        border-radius: 12px;
    }

    .walc-mode-css_force ul.products li.product:not(.walc-product-card) img {
        width: var(--walc-img-mobile, 58px) !important;
        height: var(--walc-img-mobile, 58px) !important;
    }

    .walc-mode-css_force ul.products li.product:not(.walc-product-card) .woocommerce-loop-product__title {
        font-size: var(--walc-title-mobile, 13px) !important;
        line-height: 1.16 !important;
    }

    .walc-mode-css_force ul.products li.product:not(.walc-product-card) .price {
        font-size: var(--walc-price-mobile, 15px) !important;
    }
}
