/*
Theme Name: CosmosWP Child
Theme URI: https://example.com/
Description: Child theme for CosmosWP
Author: Your Name
Template: cosmoswp
Version: 1.0.0
Text Domain: cosmoswp-child
*/

/* Your custom CSS here */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

/* Body / normal text font */
body,
p,
span,
a,
li,
div,
button,
input,
textarea,
select,
label,
.woocommerce,
.elementor-widget-text-editor {
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
}

/* All headings / titles font */
h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.entry-title,
.product_title,
.woocommerce-loop-product__title,
.widget-title,
.widgettitle,
.elementor-heading-title,
.cwp-product-content .entry-title,
.cwp-single-summary-content .product_title {
    font-family: "Lexend Deca", Arial, Helvetica, sans-serif !important;
}


/* Bottom header category section style */

/* Home Page - Hide Quick View & Compare Buttons */
.yith-wcqv-button,
.compare.button {
    display: none !important;
}
.cwp-product-content {
    background: #fff;
    padding-bottom: 20px;
    border-radius: 6px;
}
.home .cwp-image-box.cwp-elements {
    padding: 10px;
}
h1:not(.site-title) {
    margin-bottom: 0px !important;
}
h2:not(.entry-title):not(.page-title) {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}
h3:not(.entry-title) {
    margin-bottom: 0px!important;
}
.cwp-custom-html {
        margin: 5px 0 0 0;
        display: flex;
        justify-content: flex-end;
    }
.cwp-bottom-header .cwp-grid-column.grid-1 {
    padding-left: 0 !important;
}
/* Sidebar Background */
#cwp-header-menu-sidebar {
    background: #fff !important;
}
.cwp-sidebar {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 12px;
}


/* Bottom header All Categories button */
.cwp-bottom-header .cwp-menu-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
}

/* Main pill button */
.cwp-bottom-header .cwp-menu-icon-btn .cwp-toggle-btn-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #ffffff !important;
    color: #222222 !important;
    padding: 5px 16px 5px 5px !important;
    border-radius: 40px !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    min-height: 42px;
}

/* Blue circle icon */
.cwp-bottom-header .cwp-menu-icon-btn .cwp-toggle-btn-text i {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background: #2463e8 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* Text */
.cwp-bottom-header .cwp-menu-icon-btn .cwp-toggle-btn-text span {
    color: #222222 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

/* Hover */
.cwp-bottom-header .cwp-menu-icon-btn .cwp-toggle-btn-text:hover {
    background: #ffffff !important;
    color: #222222 !important;
}

.cwp-bottom-header .cwp-menu-icon-btn .cwp-toggle-btn-text:hover i {
    background: #174ed0 !important;
    color: #ffffff !important;
}


/* Menu */
#cwp-header-menu-sidebar .cwp-primary-menu,
#cwp-header-menu-sidebar .cwp-primary-menu li {
    background: transparent !important;
}

/* Menu Links */
#cwp-header-menu-sidebar .cwp-primary-menu li a {
    display: block;
    color: #000 !important;
    background: transparent !important;
    text-decoration: none;
    transition: all .3s ease;
		font-size:16px;
}

/* Hover, Focus & Active */
#cwp-header-menu-sidebar .cwp-primary-menu li a:hover,
#cwp-header-menu-sidebar .cwp-primary-menu li a:focus,
#cwp-header-menu-sidebar .cwp-primary-menu li a:active {
    color: #0d6efd !important;
    background: transparent !important;
}

/* Current Menu Item */
#cwp-header-menu-sidebar .current-menu-item > a,
#cwp-header-menu-sidebar .current_page_item > a,
#cwp-header-menu-sidebar .current-menu-ancestor > a {
    color: #0d6efd !important;
    background: transparent !important;
}

/* Remove pseudo-element background if any */
#cwp-header-menu-sidebar .cwp-primary-menu li::before,
#cwp-header-menu-sidebar .cwp-primary-menu li::after,
#cwp-header-menu-sidebar .cwp-primary-menu li a::before,
#cwp-header-menu-sidebar .cwp-primary-menu li a::after {
    display: none !important;
    background: transparent !important;
}

/* Close Button */
#cwp-header-menu-sidebar .cwp-close-btn,
#cwp-header-menu-sidebar .cwp-close-btn i {
    color: #000 !important;
    background: transparent !important;
}

#cwp-header-menu-sidebar .cwp-close-btn:hover,
#cwp-header-menu-sidebar .cwp-close-btn:hover i {
    color: #0d6efd !important;
}


/* Header Main */
#cwp-header-wrap .cwp-main-header .grid-container{
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Header Bottom */
#cwp-header-wrap .cwp-bottom-header .grid-container{
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}
 .cwp-main-header {
        height: auto;
        padding: 10px 0 10px 0 !important;
    }
.grid-container{
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* shop page style */
#cwp-banner-wrap{
    display: none !important;
}
.cwp-page.cwp-content-wrapper {
        padding: 40px 0 60px 0;
        background: #f6f6f6;
    }

.cwp-sidebar .widget .widget-title {
    padding: 0 ; 
    border-style: none;
}

/* single product page */
.product_meta .posted_in a {
    color: #3756b1 !important;
}
.yith-wcwl-add-to-wishlist-button__label{
    color: #3756b1 !important;
}
.cwp-woocommerce-active span.onsale, .cwp-woocommerce-active span.onsale:after, .cwp-woocommerce-active span.wc-block-grid__product-onsale, .cwp-woocommerce-active span.wc-block-grid__product-onsale:after {
    background-color: #3756b1;
		color:#fff;
}

/* Cart Page Product Title */
.woocommerce-cart .product-name a{
    color: #000 !important;
		font-size:16px;
}

/* Hover */
.woocommerce-cart .product-name a:hover{
    color: #0d6efd !important;
}
.woocommerce-cart table.cart td.actions .coupon .input-text{
	width:58%;
}
.cwp-woocommerce-active .widget_price_filter .ui-slider-horizontal .ui-slider-range, .cwp-woocommerce-active .widget_price_filter .ui-slider .ui-slider-handle, .cwp-woocommerce-active .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #3756b1 !important;
}


.product-category img {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
		border-radius:12px;
}



.cwp-woocommerce-active .cwp-woo-archive-toolbar {
justify-content:flex-end;
margin-bottom:0px;
}



/* Full shop page background */
body.woocommerce-shop,
body.tax-product_cat,
#cwp-woo-main-content-wrapper {
    background: #f5f5f5 !important;
}

/* Main shop container spacing */
#cwp-woo-main-content-wrapper .grid-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top category section outer */
.custom-fullwidth-category-wrap {
    width: 100%;
    background: #f5f5f5 !important;
    padding: 25px 0 20px;
    clear: both;
}

/* Category white box */
.custom-fullwidth-category-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 30px;
    background: #ffffff;
    border-radius: 12px;
}

/* Elementor/Woo category grid */
.custom-fullwidth-category-inner ul.products,
.custom-fullwidth-category-inner .products,
.custom-fullwidth-category-inner .elementor-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Category item */
.custom-fullwidth-category-inner .product-category,
.custom-fullwidth-category-inner li.product-category,
.custom-fullwidth-category-inner .elementor-grid-item {
    list-style: none !important;
    text-align: center;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Category link */
.custom-fullwidth-category-inner .product-category a,
.custom-fullwidth-category-inner li.product-category a {
    display: block;
    text-decoration: none !important;
    color: #333333;
}

/* Category thumbnail */
.custom-fullwidth-category-inner .product-category img,
.custom-fullwidth-category-inner li.product-category img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 12px !important;
    display: block;
}

/* Category title */
.custom-fullwidth-category-inner .woocommerce-loop-category__title,
.custom-fullwidth-category-inner h2,
.custom-fullwidth-category-inner h3 {
    font-size: 16px !important;
    line-height: 22px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Product count */
.custom-fullwidth-category-inner mark.count,
.custom-fullwidth-category-inner .count {
    display: block;
    background: transparent !important;
    color: #777777 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-top: 4px;
}

/* Product grid gap fix */
#cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row > .grid-row {
    gap: 12px 24px;
}


/* Grid wrapper */
#cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row > .grid-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

/* GRID VIEW only: 4 columns */
#cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row.cwp-grid .product {
    width: calc(25% - 18px) !important;
    max-width: calc(25% - 18px) !important;
    flex: 0 0 calc(25% - 18px) !important;
    margin: 0 !important;
}

/* LIST VIEW: one product per row */
#cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row.cwp-list .product {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* List view image */
#cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row.cwp-list .product .cwp-image-box {
    width: 220px !important;
    min-width: 220px !important;
}

/* List view content */
#cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row.cwp-list .product .cwp-product-content {
    flex: 1 !important;
    text-align: left !important;
}

/* Mobile */
@media (max-width: 575px) {
    #cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row.cwp-grid .product {
        width: calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
        flex: 0 0 calc(50% - 12px) !important;
    }

    #cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row.cwp-list .product {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    #cwp-woo-main-content-wrapper .cosmoswp-woo-archive-grid-row.cwp-list .product .cwp-image-box {
        width: 100% !important;
        min-width: 100% !important;
    }
}



/* Toolbar area */
#cwp-woo-main-content-wrapper .cwp-woo-archive-toolbar {
    background: #f5f5f5;
    padding: 0 0 18px;
}

/* Shop title */
#cwp-woo-main-content-wrapper h1,
#cwp-woo-main-content-wrapper .page-title {
    font-size: 28px;
    font-weight: 700;
    color: #111111;
}
.breadcrumbs {
    margin-bottom: 0px;
}




/* Strong full-width breadcrumb background */
body.woocommerce-shop .breadcrumbs,
body.tax-product_cat .breadcrumbs {
    position: relative;
    z-index: 1;
    background: transparent !important;
    padding: 20px 0;
}



body.woocommerce-shop .breadcrumbs,
body.tax-product_cat .breadcrumbs,
body.single-product .breadcrumbs,
body.single-post .breadcrumbs {
    position: relative;
    z-index: 1;
}

body.woocommerce-shop .breadcrumbs::before,
body.tax-product_cat .breadcrumbs::before,
body.single-product .breadcrumbs::before,
body.single-post .breadcrumbs::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f6f6f6;
    z-index: -1;
}

/* Shop/category title in product toolbar */
#cwp-woo-main-content-wrapper .cwp-woo-archive-toolbar {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    width: 100%;
}

#cwp-woo-main-content-wrapper .custom-shop-page-title {
    margin: 0 auto 0 0 !important;
    font-size: 28px !important;
    line-height: 36px !important;
    font-weight: 700 !important;
    color: #111111 !important;
}

/* Icons/result count right side par rahen */
#cwp-woo-main-content-wrapper .cwp-woo-view-switcher {
    margin-left: auto;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    font-size: 16px;
    color: #000 !important;
    font-weight: 500;
	padding-left: 27px;
}
a, .woocommerce .woocommerce-breadcrumb a{
color: #767676;
}


/* signle product page styling */
body.single-product .cwp-page.cwp-content-wrapper {
    padding: 40px 0 60px 0;
    background: #fff !important;
}
body.single-product .breadcrumbs::before {
    background: #ffff;  
}

.cwp-woocommerce-active .cosmoswp-woo-single-grid-row .cwp-single-summary-wrapper .cwp-single-summary-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cwp-woocommerce-active .cosmoswp-woo-single-grid-row .cwp-single-summary-wrapper .cwp-single-summary-content .product_title {
    margin-bottom: 0;
    font-size: 28px;
}
 .woocommerce div.product form.cart {
    margin-bottom: 0px !important;
}



body.single-product form.cart {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.single-product .single_buy_now_button {
    background: #6ba331 !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 4px !important;
    border: none !important;
}

body.single-product .single_buy_now_button:hover {
    background: #000000 !important;
    color: #ffffff !important;
}
.woocommerce div.product form.cart .button {
    width: 40%;
}
.yith-wcwl-add-to-wishlist-button__label {
    color: #000 !important;
}
body.single-product .woocommerce div.product {
   
    padding-left: 8px;
    padding-right: 8px;
}


/* stock manage style */
body.single-product p.price {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.single-product .custom-stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

body.single-product .custom-stock-badge.in-stock {
    background: #e8f8ee;
    color: #168a3a;
}

body.single-product .custom-stock-badge.out-stock {
    background: #fdeaea;
    color: #d93025;
}

/* share list style */
body.single-product .custom-wishlist-share-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 12px;
}

body.single-product .custom-product-share-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.single-product .custom-share-label {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-right: 2px;
}

body.single-product .custom-share-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #111;
    text-decoration: none;
    transition: all 0.25s ease;
}

body.single-product .custom-share-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

body.single-product .custom-share-icon:hover {
    background: #111;
    color: #fff;
}



/* Product card main */
body.woocommerce-shop .custom-clean-product-card,
body.tax-product_cat .custom-clean-product-card,
body.tax-product_tag .custom-clean-product-card {
    padding: 0 !important;
    margin-bottom: 22px !important;
    background: transparent !important;
}

body.woocommerce-shop .custom-product-card-inner,
body.tax-product_cat .custom-product-card-inner,
body.tax-product_tag .custom-product-card-inner {
    background: #ffffff;
    border-radius: 9px;
    overflow: hidden;
    padding: 0;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* Image area */
.custom-product-image-wrap {
    position: relative;
    height: 225px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;

}

.custom-product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.custom-product-image-link img {
    max-width: 100%;
    max-height: 205px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.custom-product-card-inner:hover .custom-product-image-link img {
    transform: scale(1.04);
}

/* Discount badge */
.custom-discount-badge {
    position: absolute;
    top: 18px;
    left: 22px;
    background: #2463e8;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 11px;
    border-radius: 20px;
    z-index: 3;
}

/* Right side icons */
.custom-product-action-icons {
    position: absolute;
    top: 26px;
    right: 25px;
    width: 44px;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.25s ease;
    z-index: 4;
}

.custom-product-card-inner:hover .custom-product-action-icons {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.custom-product-icon {
    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #ffffff;
    text-decoration: none !important;
    border-bottom: 1px solid #eeeeee;
}

.custom-product-icon:last-child {
    border-bottom: none;
}

.custom-product-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.custom-product-icon:hover {
    color: #2463e8;
}

/* YITH wishlist icon clean */
.custom-wishlist-icon .yith-add-to-wishlist-button-block,
.custom-wishlist-icon .yith-wcwl-add-to-wishlist-button,
.custom-wishlist-icon a {
    margin: 0 !important;
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 0 !important;
}

.custom-wishlist-icon svg {
    width: 21px !important;
    height: 21px !important;
}

/* Content */
.custom-product-content {
    padding: 18px 16px 20px;
}

.custom-product-title {
    margin: 0 0 7px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.custom-product-title a {
    color: #333333 !important;
    text-decoration: none !important;
}

.custom-product-title a:hover {
    color: #2463e8 !important;
}

/* Categories */
.custom-product-cats {
    color: #a3a3a3;
    font-size: 14px;
    line-height: 1.55;
    min-height: 24px;
    margin-bottom: 8px;
}

.custom-product-cats a {
    color: #a3a3a3 !important;
    text-decoration: none !important;
}

/* Rating */
.custom-product-stars {
    display: flex;
    gap: 1px;
    font-size: 17px;
    line-height: 1;
    margin-bottom: 8px;
}

.custom-product-stars .star-filled {
    color: #ffb400;
}

.custom-product-stars .star-empty {
    color: #cfcfcf;
}

/* Stock */
.custom-stock-status {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 600;
}

.custom-stock-status.in-stock {
    color: #333333;
}

.custom-stock-status.out-of-stock {
    color: #ff1d1d;
}

.custom-stock-check {
    color: #2463e8;
    font-weight: 800;
    margin-right: 5px;
}

/* Price */
.custom-product-price {
    margin-bottom: 12px;
}

.custom-product-price,
.custom-product-price span,
.custom-product-price bdi {
    color: #2463e8 !important;
    font-size: 16px;
    font-weight: 700;
}

.custom-product-price del,
.custom-product-price del span,
.custom-product-price del bdi {
    color: #999999 !important;
    font-weight: 400;
}

.custom-product-price ins {
    text-decoration: none;
}

/* Button */
.custom-product-button {
    margin-bottom: 10px;
}

.custom-product-button a.button,
.custom-product-button .button {
    width: 100%;
    min-height: 42px;
    border-radius: 5px !important;
    background: #2463e8 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 15px !important;
    text-decoration: none !important;
}

.custom-product-button a.button:hover,
.custom-product-button .button:hover {
    background: #174ed0 !important;
    color: #ffffff !important;
}

/* SKU */
.custom-product-sku {
    font-size: 14px;
    line-height: 1.4;
    color: #a3a3a3;
    margin-top: 4px;
}

.custom-product-sku strong {
    color: #333333;
}

/* Quantity */
.custom-product-quantity {
    border-top: 1px solid #e5e5e5;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #777777;
}

.custom-product-quantity strong {
    display: block;
    color: #333333;
    margin-bottom: 4px;
}
h2 a {
        font-size: 20px;
    }
.home .woocommerce div.product {
    margin-bottom: 0px;
}



/* Mobile */
@media (max-width: 767px) {
    .custom-product-image-wrap {
        height: 190px;
        padding: 20px 14px 8px;
    }

    .custom-product-image-link img {
        max-height: 150px;
    }

    .custom-product-content {
        padding: 15px 13px 18px;
    }

    .custom-product-title {
        font-size: 14px !important;
    }

    .custom-product-cats {
        font-size: 13px;
        min-height: auto;
    }

    .custom-product-action-icons {
        opacity: 1;
        visibility: visible;
        transform: none;
        right: 14px;
    }
}


/* ================================
   HOME PAGE PRODUCT CARD DESIGN ONLY
   Grid/columns Elementor se control honge
================================ */

/* Card spacing only */
body.home .elementor-widget-woocommerce-products .custom-clean-product-card {
    padding: 0 !important;
    background: transparent !important;
}

/* Card inner */
body.home .elementor-widget-woocommerce-products .custom-product-card-inner {
    background: #ffffff;
    border-radius: 9px;
    overflow: hidden;
    padding: 0;
    height: 100%;
		max-width:95%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* Image area */
body.home .elementor-widget-woocommerce-products .custom-product-image-wrap {
    position: relative;
    height: 225px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 18px 10px;
}

/* Image link */
body.home .elementor-widget-woocommerce-products .custom-product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Product image */
body.home .elementor-widget-woocommerce-products .custom-product-image-link img {
    max-width: 100%;
    max-height: 185px;
    object-fit: contain;
    transition: transform 0.3s ease;
}


body.single-product h2:not(.entry-title):not(.page-title) {
    margin-bottom: 18px !important;
}
body.woocommerce-shop h3:not(.entry-title),
body.tax-product_cat h3:not(.entry-title) {
    margin-bottom: 18px !important;
}
.cwp-woocommerce-active nav.woocommerce-pagination ul li span.current {
    background: #1c61e7;
    color: #fff;
}


.cwp-wc-icon.cart-icon {
    font-size: 18px;
    color: #fff;
    background: #385b8c;
    border-radius: 99px;
    padding: 8px;
}


/* ===============================
   SINGLE PRODUCT SUMMARY - EXISTING ITEMS ONLY
================================ */

body.single-product .cwp-single-summary-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

/* Title */
body.single-product .cwp-single-summary-content .product_title {
    order: 1;
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin: 0 !important;
}

/* Product meta SKU */
body.single-product .cwp-single-summary-content .product_meta {
    order: 2;
    margin: 0 !important;
    font-size: 15px !important;
    color: #777777 !important;
}

body.single-product .product_meta .sku_wrapper {
    display: block !important;
}

body.single-product .product_meta .sku_wrapper,
body.single-product .product_meta .sku {
    color: #777777 !important;
}

body.single-product .product_meta .sku_wrapper {
    font-weight: 700;
    color: #111111 !important;
}

body.single-product .product_meta .sku {
    font-weight: 400;
}

/* Category hide like reference */
body.single-product .product_meta .posted_in {
    display: none !important;
}

/* Price */
body.single-product .cwp-single-summary-content p.price {
    order: 3;
    margin: 8px 0 2px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

body.single-product .cwp-single-summary-content p.price,
body.single-product .cwp-single-summary-content p.price span,
body.single-product .cwp-single-summary-content p.price bdi,
body.single-product .cwp-single-summary-content p.price ins {
    color: #2463e8 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

body.single-product .cwp-single-summary-content p.price del span,
body.single-product .cwp-single-summary-content p.price del bdi {
    color: #999999 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

/* Stock badge beside price */
body.single-product .custom-stock-badge {
    font-size: 12px !important;
    padding: 5px 11px !important;
    border-radius: 20px !important;
}

/* Cart / variation form */
body.single-product .cwp-single-summary-content form.cart {
    order: 4;
    margin: 0 !important;
    display: block !important;
}

/* Variation table clean */
body.single-product form.variations_form table.variations,
body.single-product form.variations_form table.variations tbody,
body.single-product form.variations_form table.variations tr,
body.single-product form.variations_form table.variations th,
body.single-product form.variations_form table.variations td {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.single-product form.variations_form table.variations {
    margin: 8px 0 18px !important;
}

/* Variation label */
body.single-product form.variations_form table.variations .label {
    display: inline-block !important;
    width: auto !important;
    margin-right: 12px !important;
}

body.single-product form.variations_form table.variations .label label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 !important;
}

/* Variation select style */
body.single-product form.variations_form select {
    min-height: 36px !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 30px !important;
    padding: 6px 18px !important;
    background: #ffffff !important;
    color: #666666 !important;
    font-size: 15px !important;
    outline: none !important;
}

/* Reset variation */
body.single-product .reset_variations {
    display: block !important;
    width: fit-content;
    margin: 8px 0 0 0 !important;
    font-size: 13px !important;
    color: #777777 !important;
    text-decoration: none !important;
}

/* Add to cart button row */
body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 22px;
}

/* Quantity */
body.single-product form.cart .quantity {
    width: 80px !important;
    min-width: 80px !important;
    height: 42px !important;
    margin: 0 !important;
}

body.single-product form.cart .quantity input.qty {
    width: 100% !important;
    height: 42px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 14px !important;
    background: #ffffff !important;
    color: #333333 !important;
}

/* Add to cart */
body.single-product .single_add_to_cart_button {
    flex: 1 !important;
    width: auto !important;
    min-height: 42px !important;
    border-radius: 4px !important;
    background: #2463e8 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 10px 22px !important;
}

/* Buy Now */
body.single-product .single_buy_now_button {
    flex: 0 0 40% !important;
    width: 40% !important;
    min-height: 42px !important;
    border-radius: 4px !important;
    background: #66a52e !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 10px 22px !important;
}

body.single-product .single_buy_now_button:hover {
    background: #558c25 !important;
    color: #ffffff !important;
}

/* Wishlist + Share row */
body.single-product .custom-wishlist-share-row {
    order: 5;
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-top: 8px !important;
}

body.single-product .yith-add-to-wishlist-button-block--single {
    margin: 0 !important;
}

body.single-product .yith-wcwl-add-to-wishlist-button,
body.single-product .yith-wcwl-add-to-wishlist-button__label {
    font-size: 16px !important;
    color: #111111 !important;
}

/* Share icons */
body.single-product .custom-product-share-icons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.single-product .custom-product-share-icons::before {
    content: "Share:";
    font-size: 16px;
    font-weight: 600;
    color: #555555;
    margin-right: 2px;
}

body.single-product .custom-share-icon {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: #777777 !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

body.single-product .custom-share-icon svg {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor;
}

body.single-product .custom-share-icon:hover {
    color: #111111 !important;
    background: transparent !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.single-product .cwp-single-summary-content .product_title {
        font-size: 24px !important;
    }

    body.single-product .cwp-single-summary-content p.price,
    body.single-product .cwp-single-summary-content p.price span,
    body.single-product .cwp-single-summary-content p.price bdi,
    body.single-product .cwp-single-summary-content p.price ins {
        font-size: 24px !important;
    }

    body.single-product .woocommerce-variation-add-to-cart,
    body.single-product form.cart:not(.variations_form) {
        flex-wrap: wrap !important;
    }

    body.single-product form.cart .quantity {
        width: 100% !important;
        min-width: 100% !important;
    }

    body.single-product .single_add_to_cart_button,
    body.single-product .single_buy_now_button {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    body.single-product .custom-wishlist-share-row {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

body.single-product p.price span.custom-stock-badge.in-stock {
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    background: transparent !important;
		border:1px solid #85b951;
}



/* =====================================================
   FINAL CLEAN OFFCANVAS CATEGORY MENU
   - Opens only on All Categories click
   - Overlay shows only when sidebar is open
   - Start par sirf parent categories show hongi
   - Parent hover par child categories right side show hongi
   - Mouse sidebar se bahar jaye to JS sidebar + overlay close karega
===================================================== */

/* Sidebar hidden by default */
#cwp-header-menu-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    max-width: 95vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    border-radius: 0 8px 8px 0 !important;
    z-index: 999999 !important;
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        visibility 0.35s ease,
        width 0.25s ease !important;
}

/* Sidebar open on All Categories click */
body.custom-category-menu-open #cwp-header-menu-sidebar {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Parent hover par child panel ke liye sidebar wide ho */
body.custom-category-menu-open #cwp-header-menu-sidebar:has(ul.max-mega-menu > li.mega-menu-item-has-children:hover) {
    width: 460px !important;
}

/* Overlay default hidden */
.custom-category-menu-overlay {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 999998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease, visibility 0.35s ease !important;
}

/* Overlay visible only when sidebar open */
body.custom-category-menu-open .custom-category-menu-overlay {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Overlay inactive when sidebar closed */
body:not(.custom-category-menu-open) .custom-category-menu-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Menu wrapper */
#cwp-header-menu-sidebar .cwp-primary-menu-wrapper,
#cwp-header-menu-sidebar .mega-menu-wrap {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    background: #ffffff !important;
    overflow: visible !important;
}

/* Left parent category column */
#cwp-header-menu-sidebar ul.max-mega-menu {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    background: #ffffff !important;
    padding: 10px 8px !important;
    border-right: 1px solid #e5e5e5 !important;
    position: relative !important;
    display: block !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Blue All Categories title inside sidebar */
#cwp-header-menu-sidebar ul.max-mega-menu::before {
    content: "☰  All Categories";
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    background: #2463e8 !important;
    color: #ffffff !important;
    border-radius: 24px !important;
    padding: 0 16px !important;
    margin: 0 0 12px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
}

/* Parent item */
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-menu-item {
    width: 100% !important;
    display: block !important;
    position: static !important;
    margin: 0 0 4px !important;
    background: transparent !important;
}

/* Parent links default */
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-menu-item > a.mega-menu-link,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-current-menu-item > a.mega-menu-link,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-current-menu-ancestor > a.mega-menu-link,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-toggle-on > a.mega-menu-link,
#cwp-header-menu-sidebar ul.max-mega-menu > li.custom-active > a.mega-menu-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 235px !important;
    max-width: 235px !important;
    min-height: 44px !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
    border-radius: 24px !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 44px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* Parent hover style */
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-menu-item:hover > a.mega-menu-link {
    background: transparent !important;
    color: #2463e8 !important;
}

/* Arrow position */
#cwp-header-menu-sidebar .mega-indicator {
    margin-left: auto !important;
    padding-left: 10px !important;
}

#cwp-header-menu-sidebar .mega-indicator::after {
    content: "›" !important;
    font-size: 18px !important;
    color: inherit !important;
    font-weight: 400 !important;
}

/* Child submenu hidden by default */
#cwp-header-menu-sidebar ul.max-mega-menu > li > ul.mega-sub-menu,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-current-menu-item > ul.mega-sub-menu,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-current-menu-ancestor > ul.mega-sub-menu,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-toggle-on > ul.mega-sub-menu,
#cwp-header-menu-sidebar ul.max-mega-menu > li.custom-active > ul.mega-sub-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    top: 0 !important;
    left: 260px !important;
    width: 200px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    background: #ffffff !important;
    padding: 50px 28px 28px !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 999999 !important;
    box-sizing: border-box !important;
}

/* Child submenu only on parent hover */
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-menu-item-has-children:hover > ul.mega-sub-menu,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-current-menu-item:hover > ul.mega-sub-menu,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-current-menu-ancestor:hover > ul.mega-sub-menu,
#cwp-header-menu-sidebar ul.max-mega-menu > li.mega-toggle-on:hover > ul.mega-sub-menu,
#cwp-header-menu-sidebar ul.max-mega-menu > li.custom-active:hover > ul.mega-sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Child item */
#cwp-header-menu-sidebar ul.mega-sub-menu > li.mega-menu-item {
    display: block !important;
    width: 100% !important;
    margin: 0 0 26px !important;
    background: transparent !important;
}

/* Child links */
#cwp-header-menu-sidebar ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    color: #444444 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

#cwp-header-menu-sidebar ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover {
    color: #2463e8 !important;
}

/* Remove Mega Menu default styles */
#cwp-header-menu-sidebar .mega-menu-wrap,
#cwp-header-menu-sidebar .mega-menu,
#cwp-header-menu-sidebar .mega-sub-menu,
#cwp-header-menu-sidebar .mega-menu-item,
#cwp-header-menu-sidebar .mega-menu-link {
    box-shadow: none !important;
}

/* Close icon: desktop hide, mobile show */
@media (min-width: 768px) {
    #cwp-header-menu-sidebar .cwp-close-btn-box {
        display: none !important;
    }
}

#cwp-header-menu-sidebar .cwp-close-btn-box {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 9999999 !important;
}

#cwp-header-menu-sidebar .cwp-close-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #f5f5f5 !important;
    color: #111111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

#cwp-header-menu-sidebar .cwp-close-btn i {
    color: #111111 !important;
    font-size: 15px !important;
}

/* Mobile */
@media (max-width: 575px) {
    #cwp-header-menu-sidebar {
        width: 58vw !important;
        max-width: 100vw !important;
    }

    body.custom-category-menu-open #cwp-header-menu-sidebar:has(ul.max-mega-menu > li.mega-menu-item-has-children:hover) {
        width: 100vw !important;
    }

    #cwp-header-menu-sidebar ul.max-mega-menu {
        width: 58vw !important;
        min-width: 58vw !important;
        max-width: 58vw !important;
    }

    #cwp-header-menu-sidebar ul.max-mega-menu > li > ul.mega-sub-menu {
        left: 58vw !important;
        width: 42vw !important;
        padding: 50px 16px 24px !important;
    }

    #cwp-header-menu-sidebar ul.max-mega-menu > li.mega-menu-item > a.mega-menu-link {
        width: calc(58vw - 24px) !important;
        max-width: calc(58vw - 24px) !important;
        font-size: 14px !important;
        padding: 0 10px !important;
    }

    #cwp-header-menu-sidebar ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
        font-size: 12px !important;
    }

    #cwp-header-menu-sidebar .cwp-close-btn-box {
        display: block !important;
    }
}


/* shop page header category style */
.custom-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: start;
}

.single-current-category-card {
    text-align: center;
}

.single-current-category-card a {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.single-current-category-img {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f7f7;
}

.single-current-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-current-category-card h2 {
    font-size: 15px;
    line-height: 21px;
    margin: 0 0 4px !important;
    font-weight: 700;
    color: #333333;
}

.single-current-category-card span {
    font-size: 13px;
    color: #777777;
}

@media (max-width: 991px) {
    .custom-subcategory-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .custom-subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .single-current-category-img {
        width: 75px;
        height: 75px;
    }

    .single-current-category-card h2 {
        font-size: 14px;
        line-height: 19px;
    }
}

.custom-category-count {
    margin: 4px 0 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #777777 !important;
    line-height: 1.4 !important;
}
.custom-archive-intro{
	max-width:68%;
}
.custom-archive-description {
    margin-top: 14px;
}

/* Author box reference style */
.elementor-widget-author-box .elementor-author-box {
    display: flex !important;
    align-items: flex-start !important;
    gap: 24px !important;
    background: #ffffff !important;
    border: 1px solid #e2e6ee !important;
    border-radius: 8px !important;
    padding: 28px 30px !important;
    max-width: 100% !important;
}

/* Avatar blue circle */
.elementor-widget-author-box .elementor-author-box__avatar {
    width: 80px !important;
    min-width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: #2459f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Hide default gravatar image */
.elementor-widget-author-box .elementor-author-box__avatar img {
    display: none !important;
}

/* Letter inside avatar */
.elementor-widget-author-box .elementor-author-box__avatar::before {
    content: "D";
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

/* Text wrapper */
.elementor-widget-author-box .elementor-author-box__text {
    flex: 1 !important;
    padding: 0 !important;
}

/* Author name */
.elementor-widget-author-box .elementor-author-box__name {
    margin: 0 0 10px !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #06142e !important;
}

/* Bio */
.elementor-widget-author-box .elementor-author-box__bio {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    color: #1f2f46 !important;
}

/* Author posts link */
.elementor-widget-author-box .elementor-author-box__button,
.elementor-widget-author-box .elementor-author-box a {
    color: #2459f5 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.elementor-widget-author-box .elementor-author-box__button:hover,
.elementor-widget-author-box .elementor-author-box a:hover {
    color: #1748d8 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .elementor-widget-author-box .elementor-author-box {
        flex-direction: column !important;
        gap: 18px !important;
        padding: 24px 20px !important;
    }

    .elementor-widget-author-box .elementor-author-box__avatar {
        width: 70px !important;
        min-width: 70px !important;
        height: 70px !important;
    }

    .elementor-widget-author-box .elementor-author-box__name {
        font-size: 20px !important;
    }

    .elementor-widget-author-box .elementor-author-box__bio {
        font-size: 15px !important;
    }
}
/* Reference style text callout */
.elementor-element-862be01 {
    background: #eef6ff !important;
    border-left: 4px solid #2463e8 !important;
    border-radius: 6px !important;
    padding: 24px 28px !important;
}

.elementor-element-862be01 p {
    margin: 0 !important;
    color: #12284a !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    font-style: italic !important;
}
.elementor-widget-author-box .elementor-author-box__button, .elementor-widget-author-box .elementor-author-box a {
    border: none;
    padding: 0px;
    margin-top: 20px;
}