/*
Theme Name: Rustic Fits
Theme URI: https://d3logics.com/
Author: D3Logics
Author URI: https://d3logics.com/
Description: A custom WooCommerce child theme for Rustic Fits clothing store.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v2+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rustic
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: rustfits

*/




/* ======dl css start===== */
.campaign-bar, .campaign-bar__close, span.header-counter.header-cart__counter.empty-counter
{
	background-color:#bc5b38 !important;
}

.main-navigation ul li a {
    color: #bc5b38 !important;
    text-transform: uppercase;
    font-weight: 600 !important;
}


.griditemone .ecomus-image-box-grid__inner.em-flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.griditemone .ecomus-image-box-grid__inner.em-flex .ecomus-image-box-grid__item {
    width: 100% !important;
    max-width: 100%;
}


.griditemtwo  .ecomus-image-box-grid__inner.em-flex .ecomus-image-box-grid__item {
    width: 100% !important;
    max-width: 100%;
}

.griditemtwo .ecomus-image-box-grid__image .ecomus-image-box-grid__link
{
	    font-size: 10px;
    font-size: 0.625rem;
    max-width: 100% !important;
    border-radius: 16px !important;
    margin: 0 auto;
    overflow: hidden;
	height:300px;
}


.griditemtwo .ecomus-image-box-grid__inner.em-flex {
    display: flex;
    justify-content: center;
}
.griditemtwo {
    border-top: none !important;
}


.griditemone .ecomus-image-box-grid__image .ecomus-image-box-grid__link {
    font-size: 10px;
    font-size: 0.625rem;
    max-width: 100% !important;
    border-radius: 16px !important;
    margin: 0 auto;
    overflow: hidden;
}

.imagecls
	{
		position:relative;
	}
	.textbtn {
    position: absolute ;
    top: 50% ;
    left: 50%;
    transform: translate(-50%, -50%) ;
    text-align: center;
}

.imagecls img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.container1:hover .imagecls {
    transform: scale(1.1);
    transition: all 0.7s 
ease-in-out;
}
.container1 {
    position: relative;
    overflow: hidden;
    transition: all 1s 
ease-in-out;
}



/* ===search form==== */

	

@media only screen and (max-width: 768px){

	
  .container1 {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
  }

  .container1 .imagecls {
    flex: 1;
    height: 100%;
  }

  .container1 .imagecls img {
    height: 100%;
    width: 100%;
    object-fit: cover; 
    display: block;
  }

  .container1 .textbtn {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
  }

  .container1 {
    position: relative;
    overflow: hidden;
  }
	
	
	div#popupModal h1 {
    font-weight: 900;
    font-size: 24px !important;
    margin: 0;
    text-transform: uppercase;
		color:#89834c;
}
	.popup-content
	{
		width:90% !important;
		margin-left:auto !important;
		margin-right:auto !important;
	}
	
	div#popupModal h2 {
    font-size: 16px !important;
    font-weight: 600;
    text-transform: uppercase;
}
	div#popupModal img {
    width: 150px !important;
    height: auto;
}
	
}
/* ====woocommerce-badge==== */
.woocommerce-badge {
    background: #bc5b38 !important;
}

/* ===price ==== */
ul.products li.product .price ins {
    color: #c06544 !important;
}
.product-inner a:hover, .account-panel__links a:hover
{
	 color: #c06544 !important;
}

/* =====contact us===== */

.page-id-206 div#page-header {
    display: none;
}

.mainaccordian 
.elementor-accordion .elementor-accordion-item {
  border: 1px solid #e2e2e2;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

/* Accordion Header (title) */
.mainaccordian .elementor-accordion .elementor-accordion-item .elementor-tab-title {
  background-color: #1e2e47; /* Dark background */
  color: white;  /* White text */
  font-size: 18px;
  font-weight: bold;
  padding: 15px 25px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

/* Accordion Header hover effect */
/* .mainaccordian  .elementor-accordion .elementor-accordion-item .elementor-tab-title:hover {
  background-color: #ff6f61;
  color: #fff; 
} */

/* Accordion content area */
.mainaccordian  .elementor-accordion .elementor-accordion-item .elementor-tab-content {
  background-color: #f4f4f4;  /* Light gray background for content */
  padding: 20px;
  color: #333;  /* Text color */
  font-size: 16px;
  display: none;
  transition: max-height 0.3s ease-in-out;
}

/* When accordion item is active, show content */
.mainaccordian  .elementor-accordion .elementor-accordion-item .elementor-tab-title.elementor-active + .elementor-tab-content {
  display: block;
  max-height: 300px;
}

/* Accordion icon styling (for expanded state) */
.mainaccordian  .elementor-accordion .elementor-accordion-item .elementor-tab-title .elementor-accordion-icon {
  color: white;
  transition: transform 0.3s ease-in-out;
}

/* Rotate icon on open */
.mainaccordian  .elementor-accordion .elementor-accordion-item .elementor-tab-title.elementor-active .elementor-accordion-icon {
  transform: rotate(180deg);
}

/* Add smooth transition to expand/collapse content */
.mainaccordian  .elementor-accordion .elementor-accordion-item .elementor-tab-content {
  max-height: 0;
  overflow: hidden;
}


.mainaccordian .e-n-accordion-item {
    margin-bottom: 10px !important;
}


/* ====whatsapp btn====== */
 .whatsapp-button {
        position: fixed;
        bottom: 40px;
        right: 20px;
        background-color: #25d366;  /* WhatsApp green */
        border-radius: 50%;
        padding: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        cursor: pointer;
/* 	 right:auto !important; */
	 z-index:999;
    }

    .whatsapp-button img {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button:hover {
        background-color: #128C7E;  /* Darker green for hover */
    }




/* =====popup ==== */


 .popup-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 9999;
    }

    .popup-content {
        position: absolute;
        top: 50% !important;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        background-color: white;
        padding: 30px;
        border-radius: 10px;
        text-align: center;
        max-width: 500px;
        width: 100%;
    }

    .popup-close {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 30px;
        cursor: pointer;
    }


 #rewardIcon {
    position: fixed;
    right: 19px;
    bottom: 70px;
    transform: translateY(-50%);
    /*     background: #ff5722;  */
    /*     padding: 10px; */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    z-index: 1002;
  }

 #rewardIcon img {
    width: 72px;
    height: 72px;
}

div#popupModal .terms a {    color: #bd5b38;}

div#popupModal .terms input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email { width: 100%;}
  
div#popupModal input.wpcf7-submit {
    width: 100%;
	background:#89834c;
	border-color:#89834c;
}

div#popupModal input.wpcf7-submit:hover {
    width: 100%;
	background:#bc5b38;
	border-color:#bc5b38;
}

div#popupModal .col-sm-12.submit {  height: 45px !important;}
div#popupModal .cta button {
    padding: 12px 20px;
    background-color: #87854b;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 2px;
    margin: 15px 0px 0px;
    width: 100%;
}
   div#popupModal .cta button:hover {
        background-color: #bc5b38;
    }

   div#popupModal #noBtn {background-color: #f44336;   }
        
 div#popupModal   #noBtn:hover {   background-color: #d32f2f; }

div#popupModal h2 {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

div#popupModal h1 {
    font-weight: 900;
    font-size: 40px;
    margin: 0;
    text-transform: uppercase;
	color:#89834c;
}

div#popupModal img {
    width: 180px;
    height: auto;
}

div#popupModal p {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 0px;
}

.header-counter
{
	background:#bc5b38 !important;
}

/* div#popupModal .terms label {
    font-size: 12px;
    font-weight: 600;
}

div#popupModal input#email
 {
    width: 100%;
} */

div#popupModal .terms {
    padding-top: 10px;
    text-align: left;
}

#popupModal input[type="checkbox"]::before {
  display: none;
}

.terms span.wpcf7-list-item {
    width: 100%;
    display: flex;
    text-align: left;
    margin-left: 0;
}

footer#site-footer .mc4wp-form-fields button:hover
 {
    background: #bd5b38;
    border-color: #bd5b38;
}

footer#site-footer .mc4wp-form-fields button  {
    background: #88844b;
    border-color: #88844b;
}

a.elementor-button{background: #88844b !important; }
a.elementor-button:hover { background: #bd5b38 !important; }

.page-id-206 form input.wpcf7-form-control.wpcf7-submit.has-spinner
 {
    background: #88874B;
    border-color: #88854B;
}

.page-id-206 form input.wpcf7-form-control.wpcf7-submit.has-spinner:hover
{
	background-color:#bd5b38;
	 border-color:#bd5b38;
}

.header-right-items.header-items svg:hover { color: #bd5b38; }
footer#site-footer ul li a:hover { color: #bd5b38 !important; }
.woocommerce h1.page-header__title.em-font-h4 { color: #89834c !important; }
/* div#search-modal {
    display: block !important;
} */

/* ==search bar==== */
@media only screen and (min-width: 991px){

a.em-button.em-button-text.em-button-icon.header-search__icon {
    display: none !important;
}
}

/* .header-right-items.header-items .search-form-wrapper {
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
} */

.header-right-items.header-items .search-form-wrapper button svg { color: #000 !important; }
.header-right-items.header-items .search-form-wrapper button {
    padding: 0;
    background: transparent;
    border: transparent;
    position: absolute;
  right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.header-right-items form input[type="search"] {
    border-color: #000;
    border-radius: 7px;
	width: 250px;
} 

.header-right-items input[type="search"]::-webkit-search-decoration,
.header-right-items input[type="search"]::-webkit-search-cancel-button,
.header-right-items input[type="search"]::-webkit-search-results-button,
.header-right-items input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.header-right-items input[type="search"]::-moz-search-clear {
    display: none;
}


/* =====single page===== */
.single-product div.product .ecomus-product-price .price .sale-off
{
	background-color:#bb5b38 !important;
}

.single-product div.product .ecomus-product-price .price ins { color: #bc5b38 !important; }
.single-product div.product .woocommerce-badges.woocommerce-badges--single .stock {
    padding: 10px 14px 9px;
    font-weight: 700;
    color: #fff;
    background: #bc5b38 !important;
    border-color: #bc5b38 !important;
}

.single-product div.product .meta-cat a { color: #bc5b38 !important; font-weight: 500; }
.single-product button.single_add_to_cart_button.button.alt {
    background: #87844d !important;
    border-color: #87844d !important;
}

.single-product button.single_add_to_cart_button.button.alt:hover { background: #ba5d38 !important; border-color: #ba5d38 !important; }
.single-product div.product .woocommerce-badges.woocommerce-badges--single .stock {
    padding: 10px 14px 9px;
    font-weight: 700;
    color: #fff !important;
}

.ecomus-sticky-add-to-cart .single_add_to_cart_button {
    font-weight: 600;
    height: 46px;
    min-width: 190px;
    background: #88864f !important;
    border-color: #88864f !important;
}


.ecomus-sticky-add-to-cart .single_add_to_cart_button:hover {
    font-weight: 600;
    height: 46px;
    min-width: 190px;
    background: #bd5b38 !important;
    border-color: #bd5b38 !important;
}


.single-product div.product table.variations .wcboost-variation-swatches--round .wcboost-variation-swatches__item.selected {
    border-color: #bc5b38 !important;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    background: #bc5b38 !important;
}

.widget_shopping_cart_footer a.button.checkout.wc-forward {
    background: #87844d;
    border-color: #87844d;
}


.widget_shopping_cart_footer a.button.checkout.wc-forward:hover { background: #bd5b38; border-color: #bd5b38; }
button#place_order {
     background: #87844d;
    border-color: #87844d;
}

button#place_order:hover {
    background: #bd5b38;
    border-color: #bd5b38;
}

.coupon button.button, .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward {
   background: #87844d;
    border-color: #87844d;
}

.coupon button.button:hover, .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward:hover { background: #bd5b38; border-color: #bd5b38; }
/* ====16-09-2025===== */
ul#menu-simple-header-menu li a { font-size: 14px !important; }


#rewardIcon img {
    width: 50px !important;
    height: 50px !important;
}
.whatsapp-button {
    position: fixed;
    bottom: 40px;
    right: 18px !important;
	padding: 6px !important;
}
.whatsapp-button img {
    width: 36px;
    height: 36px;
}
.whatsapp-button:hover {
    background-color: #25d366;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select, span.select2 .select2-selection--single {
    color: var(--em-input-color);
    border-width: var(--em-input-border-width);
    border-style: solid;
    border-color: #3f3d3d !important;
}
.offscreen-panel--open .panel__backdrop{
	    cursor: default;
}
body.modal-opened .modal__backdrop{
	   cursor: default;
}
