/*
 Theme Name:   Roshkart
 Theme URI:    https://roshkart.com
 Description:  This is store theme of most popular template selling website roshkart.com
 Author:       RoshKart.com
 Author URI:   https://roshkart.com
 Template:     generatepress
 Version:      1.1
*/

/* HEADER & NAVIGATION */
.site-header {
    background: linear-gradient(150deg, #1AC8BE, #0A78A2);
}

.slideout-navigation.main-navigation {
    background: linear-gradient(150deg, #1AC8BE, #0A78A2);
}

.inside-navigation.grid-container.grid-parent {
    padding: 0 20px;
}

.slideout-exit.has-svg-icon {
    display: none;
}


/* CUSTOM SEARCH BOX */
.roshkart-custom-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.roshkart-custom-search-box input[type="text"] {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-size: 18px;
    outline: none;
    background: transparent;
    box-sizing: border-box;
}

.roshkart-custom-search-box button {
    padding: 14px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.roshkart-custom-search-box input,
.roshkart-custom-search-box button {
    border: none !important;
    margin: 0 !important;
}

.roshkart-custom-search-box input:focus {
  outline: none;
}

@media (max-width: 600px) {
    .roshkart-custom-search-box {
        max-width: 90%;
        flex-direction: row;
    }
    .roshkart-custom-search-box input[type="text"] {
        padding: 12px 14px;
        font-size: 16px;
    }
    .roshkart-custom-search-box button {
        padding: 12px 16px;
        font-size: 16px;
    }
}


/* PRODUCT LIST HOME IMAGES */
.images-scroll {
    background-position: center top !important; 
    transition: background-position 1s ease-out;
    overflow: hidden;
    position: relative;
}

.images-scroll:hover {
    background-position: center bottom !important;
}


/* WHATSAPP FLOATING BUTTON */
#roshkartwfb {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 9999;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#roshkartwfb:hover {
    transform: scale(1.1);
}

#roshkartwfb svg {
    display: block;
    fill: white;
    width: 30px;  
    height: 30px; 
}

.sticky-footer-menu {
    bottom: 0;
}


/* PRODUCT PAGE */
.woocommerce .woocommerce-breadcrumb {
    background: #e5e8ec;
    color: #000000;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 20px;
}

.woocommerce span.onsale {
    background-color: #09b0a3;
    color: #ffffff;
}

.woocommerce img {
    border-radius: 10px;
    padding: 3px;
}

.single-product span.onsale {
    display: none;
}

.star-rating {
    color: #FFA201;
}

.woocommerce-review-link {
    font-size: 80%;
    color: var(--link-colour);
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
    color: var(--teal-dark);
}

.product_meta {
    display: none;
}

form.cart .single_add_to_cart_button {
    display: none !important;
}

.woocommerce-Tabs-panel ul li {
    margin-bottom: 8px;
    counter-reset: custom-counter;
    list-style: none;
    padding-left: 0;
}

.woocommerce-Tabs-panel ol {
    list-style: none !important;
    padding-left: 0 !important;
    counter-reset: custom-counter;
    margin-left: 0;
}

.woocommerce-Tabs-panel ol li {
    counter-increment: custom-counter;
    position: relative;
    margin-bottom: 16px;
    padding-left: 40px;
    line-height: 1.8;
}

.woocommerce-Tabs-panel ol li::before {
    content: counter(custom-counter);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: var(--teal-dark);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}


/* BUY NOW BUTTON */

.button.buy-now-button {
    display: block; 
    width: 100%;
    margin-left: 0 !important;
    text-align: center;
    border-radius: 10px;
    padding: 12px 0;
    background-color: #1D1D1D !important;
    color: #fff !important;
	margin-top: 5px;
}

form.cart {
    display: flex;
    align-items: center;
	gap: 3px;
}

form.cart .quantity {
    flex: 0 0 auto;
    margin: 0;
}

form.cart .qty {
    height: 40px;
    width: 48px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    border: 2px solid #222;
    border-radius: 10px;
}

form.cart .single_add_to_cart_button {
    padding: 12px 32px;
    border-radius: 10px;
    background: #222;
    color: #fff;
    border: none;
    margin-right: 0;
    flex: 0 0 auto;
}

form.cart .buy-now-button {
    padding: 12px 0;
    border-radius: 10px;
    background-color: #1D1D1D !important;
    color: #fff !important;
    font-weight: bold;
    text-align: center;
    border: none;
    flex: 1 1 auto;   
    margin: 0 !important;
    min-width: 180px;
}


.woocommerce div.product form.cart {
    margin-bottom: 10px !important;
}

/* RELATED PRODUCTS */
.related.products .price {
    text-align: center !important;
}

.related.products .woocommerce-Price-amount.amount {
    font-size: 15px;
    font-weight: 700;
}

.related.products .star-rating {
    display: none !important;
}

.woocommerce ul.products li.product .button {
    display: inline-block;
    margin: 0 0 10px 0;
    border-radius: 0;
    padding: 10px 0;
}

.related.products li {
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, 
                rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.related.products li > a, 
.related.products li > div {
    padding: 5px;
}