/* ===============================
   Local Popular Products – Frontend
================================ */

.local-popular-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 5px;
}

/* ===============================
   Product Card
================================ */

.lp-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease;

}

.lp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.lp-card img {
    width: 100%;
    border-radius: 10px;
}

.lp-card h3 {
    font-size: 16px;
    margin: 10px 0 6px;
    line-height: 1.3;
}

.lp-rating,
.lp-card small {
    font-size: 13px;
    color: #ff9800;
    margin-left: 6px;
}

.lp-price,
.lp-card strong {
    display: block;
    font-size: 16px;
    margin: 6px 0;
}

/* Short description */
.shortdesc {
    font-size: 12px;
}

/* ===============================
   Reviews Slider
================================ */

.lp-reviews {
    margin-top: 10px;
    background-color: #ededed;
    border-radius: 3px;
    padding: 10px;
}

.lp-reviews-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.lp-review-slider {
    position: relative;
    min-height: 70px;
}

.lp-review-slide {
    position: absolute;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.lp-review-slide.active {
    opacity: 1;
    position: relative;
}

.lp-review-stars {
    color: #ff9800;
    font-size: 13px;
}

.lp-review-text {
    font-size: 13px;
    color: #444;
}

.lp-review-author {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

/* ===============================
   Variations (Cards)
================================ */

.lp-variations {
    margin-top: 6px;
    font-size: 13px;
    color: #555;
}

.lp-variation-item {
    margin-top: 2px;
}

.lp-var-label {
    font-weight: 600;
}

/* ===============================
   Buttons (Cards)
================================ */

.lp-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.lp-view-details {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f5f5f5;
    font-weight: 600;
    cursor: pointer;
}
button.lp-view-details
{
        position: relative;
    background-color: #585858;
    margin-top: 10px;
    width: 100%;
    padding: -2px 16px 15px 0px;
    margin-top: 8px;
    border-radius: 2px;
    font-weight: 300;
    text-transform: uppercase;
}
button.lp-view-details:hover
{
    background: #4155fc;
    border:none;
}

.lp-view-details:hover {
    background: #eee;
}

.lp-whatsapp {
    flex: 1;
    padding: 4px;
    border-radius: 2px;
    background: #388e3c;
    border-radius: 2px;
    color: #fff !important;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -21px;
    position: relative;
}

.lp-whatsapp:hover {
    background: #1ebe5d;
}

/* ===============================
   MODAL – BASE
================================ */

.lp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.lp-modal.active {
    display: block;
}

.lp-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

/* ===============================
   MODAL – DESKTOP LAYOUT
================================ */

.lp-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 900px;
    margin: 5vh auto;
    padding: 20px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
}

.lp-modal-close {
     position: fixed;
    top: 6px;
    right: 10px;
    font-size: 26px;
    cursor: pointer;
    background: #FF0000;
    color: #ffffff;
    border-radius: 4px;
    padding: 0px 6px 7px 7px;
    z-index: 100;

}

span.closetext
{
    font-size: 15px;
    margin-right: 4px;
}

span.closechokdi
{
    font-size: 25px;
    margin-bottom: -1px;
    position: relative;
    top: 3px;
}
.lp-modal-main {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.lp-modal-images {
    flex: 0 0 45%;
}

.lp-modal-summary {
    flex: 0 0 55%;
}

.lp-modal-images img {
    width: 100%;
    height: auto;
    transition: opacity 0.25s ease;
}

/* ===============================
   MODAL – GALLERY
================================ */

.lp-modal-gallery {
    display: flex;
    gap: 8px;
    margin-top: 10px;

    overflow: hidden;
}

.lp-modal-gallery img {
    width: 70px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
}

.lp-modal-gallery img.active {
    border-color: #000;
}

/* ===============================
   MODAL – COLOR OPTIONS
================================ */

.lp-variation-colors {
    margin-top: 15px;
}

.lp-color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lp-color-option {
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: #494b51;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.lp-color-option.active {
    background: #1475fc;
    border-color: #1475fc;
}

/* ===============================
   MODAL – WHATSAPP FOOTER
================================ */

.lp-modal-whatsapp-wrap {
    margin-top: 20px;
}

.lp-modal-whatsapp-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}

.lp-modal-whatsapp-btn:hover {
    background: #1ebe5d;
}

/* ===============================
   HIDE UNWANTED WC ELEMENTS
================================ */

.lp-modal form.variations_form.cart,
.lp-modal section.related.products,
.lp-modal .wc-tabs {
    display: none !important;
}

/* ===============================
   MOBILE FULLSCREEN MODAL
================================ */

@media (max-width: 768px) {

    .lp-modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
        overflow-y: auto;
    }
.page-id-2685 .cbs-wrapper
{
    
    margin: 0px -2px !important;
}

.page-id-2685 .cbs-arrow
{
    display: none !important;

}


     .lp-modal h2
    {
font-size: 15px !important;
    margin-top: 25px;
    }


.lp-modal bdi
{
    font-size: 17px !important;
}

.lp-card
{
    margin: 6px -15px !important;
    box-shadow: 0 0px 4px rgb(48 45 45) !important;
}
h4.lp-reviews-title
{
    font-size: 16px !important;
}
    .lp-modal-main {
        flex-direction: column;
        gap: 15px;
    }

    .lp-modal-images,
    .lp-modal-summary {
        width: 100%;
        flex: 1 1 auto;
    }

    .lp-modal-tabs {
        padding-bottom: 90px;
    }
}
/* ===============================
   COLOR OPTIONS OVER IMAGE
   (DESKTOP & TABLET)
================================ */

@media (min-width: 769px) {

    .lp-modal-images {
        position: relative;
    }

    .lp-variation-colors {
            position: absolute;
        bottom: 0px;
        left: 17px;
        right: 12px;
        background: rgb(255 255 255 / .92);
        padding: 8px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgb(0 0 0 / .15);
        width: 306px;
        max-width: 306px;
    }

    .lp-color-options {
        display: flex;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .lp-color-option {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 20px;
        background: #f1f1f1;
        color: #333;
        border: 1px solid #ccc;
    }

    .lp-color-option.active {
        background: #1475fc;
        color: #fff;
        border-color: #1475fc;
    }
    .lp-modal h2
    {
font-size: 23px !important;
    margin-top: 25px;
    }
}

 .lp-modal .elementor-element-populated
 {
    padding: none !important;
 }


h4.lp-reviews-title
{
    font-size: 15px !important;
}


/* Hide "Additional Information" tab ONLY in popup */
.lp-modal .wc-tabs li.additional_information_tab,
.lp-modal .woocommerce-Tabs-panel--additional_information {
    display: none !important;
}
.lp-modal-gallery {
    
    
    overflow: hidden;
}

.page-id-2685 .site-above-footer-wrap
{
display: none !important;
}

@media (max-width: 767px) {
    .page-id-2685 h1.entry-title {
        font-size: 23px !important;
        font-weight: 600 !important;
    }
}



@media (min-width: 769px) {
    .wss-search-wrapper.icon-right
{
    margin-top: 20px;
}
}


.lp-card small
{
    font-size: 14px !important;
    font-weight: 600;
    color: #388e3c;

}

.lp-card span.filters
{
        text-wrap: nowrap;
    margin-right: 3px;
}