/*
Plugin Stylesheet: pnc-plugin-style.css
Description: Styles moved from child theme's style.css for plugin use.
*/

/* --------------------------------------------------------------
   GLOBAL STYLES
-------------------------------------------------------------- */
body {
    font-family: sans-serif;
}

/* --------------------------------------------------------------
   FOOTER STYLES
-------------------------------------------------------------- */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 15px;
    background-color: #f1f1f1;
    font-size: 14px;
    text-align: center;
}

.footer-left,
.footer-center,
.footer-whatsapp {
    flex: 1;
    padding: 5px;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

.whatsapp-link:hover {
    text-decoration: underline;
    color: #88A2DD;
}

@media (max-width: 600px) {
    .footer-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-whatsapp {
        flex: 1 1 100%;
        padding: 5px 0;
    }
}

/* --------------------------------------------------------------
   PAGE HIT COUNTER STYLES
-------------------------------------------------------------- */
.pnc-hit-counter {
    font-size: 13px;
    color: #555;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* --------------------------------------------------------------
   WOOCOMMERCE CUSTOMIZATIONS
-------------------------------------------------------------- */

/* === Hide Sale Badge on Product Images === */
.woocommerce span.onsale,
.ast-onsale,
.woocommerce ul.products li.product .onsale,
.elementor-widget-woocommerce-products .woocommerce span.onsale,
.woocommerce div.product span.onsale,
.wc-block-grid__product-onsale {
    display: none !important;
    visibility: hidden !important;
}

/* === WooCommerce Custom Search Bar Styles === */
.woocommerce-product-search {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    max-width: 600px;
    margin: 5px auto;
    gap: 1px;
}

.woocommerce-product-search .search-category-dropdown,
.woocommerce-product-search .search-field,
.woocommerce-product-search button {
    font-size: 14px;
    padding: 10px;
    border: 2px solid #ccc;
    box-sizing: border-box;
}

.woocommerce-product-search .search-category-dropdown {
    width: 120px;
}

.woocommerce-product-search .search-field {
    flex: 1;
    min-width: 180px;
}

.woocommerce-product-search button {
    background-color: #ff0080;
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 16px;
}

/* Mobile responsiveness for search bar */
@media (max-width: 480px) {
    .woocommerce-product-search {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce-product-search .search-category-dropdown,
    .woocommerce-product-search .search-field,
    .woocommerce-product-search button {
        width: 100%;
    }
}

/* --------------------------------------------------------------
   ELEMENTOR CUSTOMIZATIONS
-------------------------------------------------------------- */
/* Add Elementor widget tweaks here */

/* --------------------------------------------------------------
   MISCELLANEOUS
-------------------------------------------------------------- */
/* Add more minor tweaks or new styles below */
