/* 
Theme Name: shreemahaveerpackaging
Theme URI: https://github.com/elementor/hello-theme-child/
Description: shreemahaveerpackaging is a child theme of Hello Elementor, created by Elementor team
Author: Nirav Patel
Author URI: https://theniravpatel.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.woocommerce-page .content-area{
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Button */
.rq-btn {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

/* Modal */
.rq-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.rq-modal-content {
    background: #fff;
    max-width: 600px;
    margin: 8% auto;
    padding: 30px;
    position: relative;
}

.rq-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.custom-product-header{
    padding: 35px 0px;
    display: flex;
    gap: 40px;
}
.custom-product-header h1{
    font-size: 44px;
}
.product_meta {
    display: none;
}
.custom-product-header ul,.woocommerce-product-details__short-description ul {
    list-style: none;
    padding-left: 20px;
}
.custom-product-header ul li,.woocommerce-product-details__short-description ul li{
    position: relative;
    padding-left: 5px;
}
.custom-product-header ul li:before,.woocommerce-product-details__short-description ul li:before{
    content: "";
    position: absolute;
    left: -20px;
    font-family: fontAwesome;
    font-size: 13px;
    top: 7px;
    border: 2px solid #fecb29;
    padding: 5px;
    border-radius: 40px;
}
.custom-product-header button{
    font-size: 20px;
}
.custom-product-header button:hover{
    color: #fff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs{
    margin-bottom: 0px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{
    display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
    margin: 0px 5px;
    border: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #fecb29;
    color: #f7f7f7;
    z-index: 2;
    border-bottom-color: #fecb29;
}
.woocommerce div.product .woocommerce-tabs .panel{
        padding: 25px 40px;
    border-radius: 10px;
    box-shadow: rgb(212, 212, 212) 0px 0px 20px 0px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{
    display: none;
}

/* Shop page */
/* MAIN CONTAINER */
.custom-shop-container {
    max-width: 1300px;
    margin: auto;
    padding: 150px 20px 50px 20px;
}

/* HEADER */
.shop-header {
    max-width: 800px;
    margin-bottom: 40px;
}

.shop-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* GRID */
.shop-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* PRODUCT CARD */
.product-card {
    background: #fff;
    border-radius: 14px;
    padding: 0px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.products-grid .product-image img{
    width: 100%;
}
.product-info{
    padding: 0px 20px 20px;
}
.product-info .product-title, .product-info .product-description, .product-info .quote-btn{
    text-align: left;
}
.product-card img {
    margin-bottom: 15px;
}
.product-info .quote-btn{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
/* TITLE */
.product-title {
    font-size: 16px;
    margin-bottom: 12px;
}

/* BUTTON */
.quote-btn {
    display: inline-block;
    background: #0b2c3d;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
}
/* PAGINATION WRAPPER */
.shop-pagination {
    margin: 60px 0 20px;
    text-align: center;
}

/* BASE LINKS */
.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 0 6px;
    border-radius: 10px;
    background: #ffffff;
    color: #0b2c3d;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

/* HOVER */
.shop-pagination .page-numbers:hover {
    background: #0b2c3d;
    color: #ffffff;
}

/* CURRENT PAGE */
.shop-pagination .page-numbers.current {
    background: #0b2c3d;
    color: #ffffff;
    font-weight: 600;
    pointer-events: none;
}

/* NEXT / PREV */
.shop-pagination .page-numbers.next,
.shop-pagination .page-numbers.prev {
    padding: 0 18px;
    min-width: auto;
    font-weight: 600;
}

/* MOBILE FRIENDLY */
@media (max-width: 768px) {
    .shop-pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
        margin: 0 4px;
    }
}


/* SIDEBAR */
.shop-sidebar {
    background: #0b2c3d;
    color: #fff;
    padding: 30px;
    border-radius: 14px;
    height: fit-content;
}

.shop-sidebar h3 {
    margin-bottom: 15px;
}
#ajax-products.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

#ajax-products.loading:after {
    content: "Loading products…";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0b2c3d;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
}
.product-info .product-title a{
    color: #0b2c3d;
    text-decoration: none;
}
/* SIDEBAR CONTAINER */
.shop-sidebar {
    background: linear-gradient(180deg, #0b2c3d, #0a2432);
    border-radius: 18px;
    padding: 30px 26px;
    color: #ffffff;
    position: sticky;
    top: 50px;
}

/* SIDEBAR BLOCKS */
.shop-sidebar .sidebar-block {
    margin-bottom: 40px;
}

/* HEADINGS */
.shop-sidebar h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
    line-height: 1.2;
}

/* WHY CHOOSE US LIST */
.shop-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #e6eef3;
}

/* CUSTOM BULLET */
.shop-sidebar ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f5c542;
    font-weight: bold;
}

/* RECENTLY VIEWED LIST */
.recent-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* RECENT ITEM */
.recent-product-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

/* PRODUCT IMAGE */
.recent-product-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    
    padding: 0px;
}

/* PRODUCT TITLE */
.recent-product-item a {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.4;
}

/* HOVER EFFECT */
.recent-product-item a:hover {
    color: #f5c542;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 1024px) {
    .shop-sidebar {
        position: static;
        margin-top: 40px;
    }
}


/* SEO BLOCK */
.shop-seo {
    margin-top: 70px;
    background: #f6f8fa;
    padding: 40px;
    border-radius: 14px;
}

/* MOBILE */
@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .products-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .product-info .product-title a{
        font-size: 24px;
    }
    .custom-shop-container{
        padding: 20px;
    }
}
/* =========================================
   RECENTLY VIEWED – IMAGE WITH TITLE OVERLAY
========================================= */

/* CARD RESET */
.recent-product-item {
    position: relative;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: none;
}

/* IMAGE LINK – FULL CARD */
.recent-product-item a:first-child {
    display: block;
    width: 100%;
    height: 190px;                 /* 👈 card height */
}

/* IMAGE FULL SIZE */
.recent-product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* fills the card */
    display: block;
}

/* TITLE OVERLAY */
.recent-product-item a:last-child {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(
        to top,
        rgba(11, 44, 61, 0.9),
        rgba(11, 44, 61, 0.65),
        rgba(11, 44, 61, 0)
    );
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

/* HOVER EFFECT */
.recent-product-item:hover img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.recent-product-item:hover a:last-child {
    color: #f5c542;
}

.recent-product-item{
    position: relative;
    padding-left: 0px !important;
}
.recent-product-item::before{
    display: none;
}

#infinite-loader {
    text-align: center;
    padding: 40px 0;
    color: #0b2c3d;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    display: inline-block;
    border: 3px solid rgba(11,44,61,0.2);
    border-top-color: #0b2c3d;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
