/*
Theme Name: Aplates
Theme URI: https://example.com
Description: A child theme for Hello Elementor
Author: SunTech
Author URI: https://www.suntecindia.com/
Template: hello-elementor
Version: 1.0
Text Domain: aplates
*/

/* Import the parent theme's stylesheet */
@import url("../hello-elementor/style.css");

.footerlinks ul .menu-item {
    display: flex;
    align-items: center; /* Aligns items vertically if needed */
}

.footerlinks ul .menu-item::before {
    content: "-";
    margin-right: 8px; /* Adds space between the dash and the text */
    color: #fff; /* Optional: Customize the color of the dash */
}
.footerlinks ul .menu-item .elementor-item {
    white-space: nowrap; /* Prevents wrapping of text */
}
.homenews .elementor-post .elementor-post__card .elementor-post__read-more {
    position: relative;
    width: 100%; /* Ensure it spans the required width */
    height: 50px; /* Set an appropriate height */
    background: url('images/news-arrow.svg') no-repeat center center;
    background-size: contain; /* Adjust the image to fit the element */
    text-indent: -9999px; /* Hide the text */
    overflow: hidden;
    flex: 0 0 20%; /* Fix the width to 30% */
    margin-bottom: 0px;}
.homenews .elementor-post .elementor-post__text h3.elementor-post__title a {font-size:24px;}	
  
.homenews .elementor-post .elementor-post__text {
    display: flex;
    align-items: center; /* Align items vertically in the center */
    gap: 10px;
    flex-direction: row;
    justify-content: space-between;}
	
.homenews .elementor-post__thumbnail__link {padding:10px;}
 .homenews.elementor-posts__hover-gradient .elementor-post__card .elementor-post__thumbnail__link:after {
    background-image:none;
  }
  .homenews .elementor-post__title {
    flex: 1;
    flex: 0 0 80%;
  }


body.has-child-categories .productsdisplay {
    display: none;
}

body.no-child-categories .productsdisplay {
    display: block;
}

body.no-child-categories .categorydisplay{
  display: none;
}
body.has-child-categories .categorydisplay {
  display: block;
}

.apsw-select-box-wrap{
  display: none;
}
.post-type-archive-product .apsw-search-wrap .apsw-search-form input[type=search], .tax-product_cat .apsw-search-wrap .apsw-search-form input[type=search]{
  max-width: 100%;
  margin: 0px 0px 0px 0px !important;
  padding: 0px 45px 0 15px;}
.post-type-archive-product .apsw-search-wrap .apsw-search-btn svg, .tax-product_cat .apsw-search-wrap .apsw-search-btn svg {fill:#767676;}

.child-categories-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Add space between items */
  justify-content: flex-start;
  margin-bottom:50px;}

.child-category {
  flex: 1 1 calc(33.33% - 20px); /* 3 columns, adjust the width of each item */
  max-width: calc(33.33% - 20px);
  box-sizing: border-box;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;}
.category-left-content {
  flex: 1; /* Left content takes most space */
  display: flex;
  flex-direction: column; /* Stack content vertically */
  justify-content: center;
}
.category-post__read-more {
  position: relative;
  width: 36px; /* Fixed width for the icon */
  height: 36px; /* Fixed height for the icon */
  background: url('images/news-arrow.svg') no-repeat center center; /* Update the URL */
  background-size: contain;
  text-indent: -9999px; /* Hide text */
  overflow: hidden;
  flex: 0 0 auto; /* Prevent shrinking or growing */
  margin-left: 20px; /* Space between left content and button */
  border: none; /* Remove border */
  cursor: pointer; /* Indicate clickable button */
  transition: transform 0.3s ease;
  margin-top:35px;}

.child-category img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  width: 100%;
  border: 1px solid #A0A0A0;
    border-radius: 5px;}

.child-category h2 {
  margin-bottom: 10px;
    color: #000000;
    font-family: "Barlow Condensed", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    line-height:42px;}

.child-category-content{
  padding: 0 20px;
  display: flex;
    justify-content: space-between; /* Space between left and right columns */
    align-items: center; /* Vertically align content */
    box-sizing: border-box;}

.child-category p.countproduct{
  color:#293C84;
  font-family: "Inter", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;}

.child-category p {
  font-size: 1em;
  color: #333;}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .child-category {
      flex: 1 1 calc(50% - 20px); /* 2 columns on medium screens */
  }
  .category-post__read-more {
    margin-left: 0;
    margin-top: 10px; /* Add space above for vertical layout */
  }
}

@media (max-width: 480px) {
  .child-category {
      flex: 1 1 100%; /* 1 column on small screens */
  }
}


.headersearch {
  position: relative;
}

.headersearch input[type="search"] {
  width: 0;
  padding: 0;
  border: none;
  transition: width 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

/* Style for the search icon */
.headersearch .search-icon {
  cursor: pointer;
  font-size: 20px;
  color: #333;
}

/* Show the search input when active */
.headersearch.active input[type="search"] {
  width: 200px; /* Adjust width as needed */
  padding: 5px 10px;
  border: 1px solid #ccc;
  opacity: 1;
  visibility: visible;
}

.homecharecters ul li strong{
  font-weight: 700;
  color:#293C84;
}
.homecharecters ul li{
  margin-bottom: 20px;
}
.homecharecters ul li::marker {
  color: #293C84; /* Change the color of the marker */
  font-size: 22px; /* Optional: Adjust the size of the marker */
}
.homecharecters ul{
  padding-left: 20px;
}
.bestseller-home-container p{margin-bottom:0;}

.elementor-location-header .elementor-element .elementor-nav-menu--main .elementor-item.elementor-item-active:before {
    content: '';
    display: inline-block;
    height: 6px;
    width: 6px;
    position: absolute;
    right: -2px;
    bottom: -2px;
    left: inherit;
    background: #fff;
    text-align: center;
    transform: rotate(45deg);}
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item:hover:before {
	content:'';
    display:inline-block;
    height:6px;
    width:6px;
    position:absolute;
    right:-2px;
    bottom:-2px;
    left:inherit;
    background:#fff;
    text-align:center;
    transform:rotate(45deg);}

.icon-arrow .elementor-icon-wrapper .elementor-icon	{position:relative;}	
.icon-arrow .elementor-icon-wrapper .elementor-icon:before {content:'';
    display:inline-block;
    height:36px;
    width:18px;
    position:relative;
    right:inherit;
    bottom:0;
    left:inherit;
    background:url('images/arrow-blue.svg') no-repeat 0 0;
    text-align:center;
    transform:none;}
.icon-arrow .elementor-icon-wrapper .elementor-icon svg {display:none;}

.icon-arrow-white .elementor-icon-wrapper .elementor-icon {position:relative;}
.icon-arrow-white .elementor-icon-wrapper .elementor-icon svg {display:none;}
.icon-arrow-white .elementor-icon-wrapper .elementor-icon:before {content:'';
    display:inline-block;
    height:36px;
    width:18px;
    position:relative;
    right:inherit;
    bottom:0;
    left:inherit;
    background:url('images/arrow-white.svg') no-repeat 0 0;
    text-align:center;
    transform:none;}
.elementor-menu-cart__toggle .elementor-button:hover svg {fill:#FBCD2F !important;}	
.button-icon svg {max-width:26px; margin-top:2px;}
.button-icon button:hover svg {filter:invert(1);}
.button-icon .elementor-button .elementor-button-icon svg {max-width:1.6rem;
    height:auto;
    width:1.6rem;}
.button-icon .elementor-button:hover .elementor-button-icon svg {filter:invert(1);}	
.elementor-widget-search .e-search-form input.e-search-input {height:56px;}
.elementor-widget-search .e-search-form .e-search-submit {height:56px;} 

.custom-header {position:relative; overflow-x:hidden !important;}
.custom-header:after {content:'';
    width: 100%;
    height: 72px;
    background: #0072BB;
    position: absolute;
    right: -60%;
    bottom: 21px;
    left: inherit;}
body.home .elementor-widget-image-carousel .swiper-pagination-bullets {cursor:default;
    display:flex;
    align-items:center;
    justify-content:center;}	
.swiper-pagination-bullet-active {
    background: #fff !important;
    border: 6px solid #0080C0;
    width: 18px !important;
    height: 18px !important;}
.homeservices figure.elementor-image-box-img {
    height:60px;
    display:flex;
    align-items:center;
    justify-content: center;
    flex-direction: row;
    text-align: center;
    margin: 0 auto 20px !important;}		
.plate-title .elementor-icon-box-wrapper {justify-content:flex-start;
    align-items:center !important;
    gap:10px;
    flex-direction:row !important;}		
.plate-title .elementor-icon-box-wrapper .elementor-icon-box-content {flex-grow:inherit;}	
.plate-title .elementor-icon-box-wrapper .elementor-icon-box-content h3 {margin-top:0;}
.plate-title .elementor-icon-box-wrapper .elementor-icon-box-icon {order:2;}	

.footer-first .elementor-icon-box-description {
    font-size: 14px !important;
    line-height: 26px !important;}
.footer-first .elementor-icon-box-wrapper h3.elementor-icon-box-title {margin-top:0; font-size:16px !important;}	

.search-bar .e-con-inner {justify-content: flex-end !important;}
.apsw-search-wrap .apsw-search-btn svg {
    max-width: 80%;
    height: inherit;
    margin-top: -3px;
    margin-right: 6px;}
.apsw-search-wrap .apsw-search-btn:hover {background-color:transparent;}
.apsw-search-wrap .apsw-search-btn:hover svg {fill:#ccc;}	
.term-description {margin-top:10px;}
.productGridx:hover .product-title-link {opacity:1; visibility:visible; transition:all ease 0.3s;}
.product-title-link {
    width: 100%;
    height:170px;
    background: rgba(0, 0, 0, 0.5);
    position: absolute !important;
    left: 50%;
    top:0;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    transform: translate(-50%, 0%);
	opacity:0;
    visibility:hidden;}
.product-title-link .elementor-widget-container {
    display:flex;
    align-items:center;
    justify-content:center;}	
.btn-hover .elementor-button-link svg {width:1.6em;}	
.btn-hover .elementor-button-link:hover svg {filter:invert(1);}
.custom-close a.dialog-close-button svg {background:url('images/arrow-expand-black.svg') no-repeat 0 0; height:36px; width:36px; background-size:100%; fill:transparent; transition:all ease 0.2s;}
.custom-close a.dialog-close-button:hover svg {opacity:0.8;}

@media (max-width: 767px) {

  .homeservices .swiper-wrapper {flex-wrap: wrap; /* Ensure slides can wrap */}
  .homeservices .swiper-slide {flex:0 0 100%; /* Full width for each slide */}
  .custom-header .elementor-element-2f906d1::before {display:none;}
  .custom-header .elementor-element-2f906d1 {background:#0072BB;}
  .custom-header:after {display:none;}
.elementor-widget-search .e-search-input-wrapper {width:100%;} 
.elementor-widget-search .e-search-form button.e-search-submit {width:100%;}
.elementor-widget-search .e-search-form .e-search-submit {
    height: 56px;
    margin-left: 0 !important;
    margin-top: 10px;
    text-align: center;
    align-items: center !important;
    justify-content: center;}
.elementor-widget-search .e-search-form input.e-search-input {text-align:center;}
.elementor-widget-search .e-search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;}	
.child-categories-wrapper .child-category {
    flex: none;
    width: 100%;
    max-width: 100%;}
.child-category h2 {margin:0;}	
.child-category-content .category-post__read-more {margin-top:10px;}
.custom-close a.dialog-close-button {top:10px; inset-inline-end:10px;}
.custom-close a.dialog-close-button svg {height:20px; width:20px;}

.elementor-nav-menu--stretch .elementor-nav-menu__container.elementor-nav-menu--dropdown {
    position:relative !important;
    z-index:9999;}
.elementor-nav-menu--stretch .elementor-menu-toggle {
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 0 !important;}	
.elementor-nav-menu--stretch .elementor-menu-toggle:hover svg {fill:#fff !important;}	
.elementor-menu-cart__main {width:360px;}	
  
}

@media (min-width: 768px) and (max-width: 1024px) {
  .homeservices .swiper-wrapper {flex-wrap:wrap;}
  .homeservices .swiper-slide {flex: 0 0 calc(50% - 10px); /* 50% width minus gap */}
	
}


.woocommerce-cart-form__cart-item .product-quantity,
.woocommerce table.shop_table th.product-quantity {
    display: none !important;
}

.woocommerce button[name="update_cart"] {
    display: none !important;
}

.woocommerce-mini-cart .product-price{display:none;}


.homereview .brtpmj_businessheader{display:none !important;}

/********artwork form css**********/
 
.artwork-form-footer button[type="submit"] {
	display:inline-block;
    width:auto;
    margin: 0 auto;
    padding: 0 10px;
    margin-top: 0;
    border-radius: 5px;
    align-items: center;
    background-color: #0072BB;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    min-width: 120px;
    height: 42px;
    line-height: 42px;}
.artwork-form-footer button[type="submit"]:hover {background-color:#1F1D1B; color:#fff;}
.artwork-form-body input[type="text"], .artwork-form-body input[type="email"] {
    background-color: #eee;
    border: 1px solid #ccc;
    cursor: text;
    font-size: 14px;
    font-weight: normal;
    outline: none;
	color: #999;}
.artwork-form-body input[type="file"] {
    padding:5px 0;
    font-size:12px;}
.artwork-form-body input[type="text"]:focus, .artwork-form-body input[type="email"]:focus {border-color:#ccc;}
 
#OwnDesignModal {margin:0 auto;
    padding:0;
    height:100vh;
    align-items:center;
    background:rgba(0, 0, 0, 0.4);}
#OwnDesignModal .modal-content {left: 0;
    right: 0;
    top: 30%;
    bottom: 0;
    z-index: 9999;
    margin: 0 auto;
    min-height: 170px;
    max-height: max-content;
    height: auto;
    background-color: #fff;
    border: 2px solid #ffcd29;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
    color: #111;
    max-width: min(640px, calc(100% - 30px));
    padding: 30px;
    position: relative;
    width: 640px;}	
#OwnDesignModal .modal-content .close {
    font-size: 30px;
    color: #fff;
    opacity: 1;
    font-weight: 400;
    position: absolute;
    right: 6px;
    top: 6px;
    background: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: self-end;
    justify-content: center;
    line-height: 30px;}
#OwnDesignModal .modal-content .close:hover {background:#ffcd29; color:#111; transition:all linear .3s;}
#OwnDesignModal .modal-content p {font-size:18px; line-height:1.3;}					
#OwnDesignModal .modal-content p strong {font-weight:600;}
#OwnDesignModal .modal-content h2 {font-size:26px;
    font-weight: 500;
    margin: 0 0 15px;
    display: block;}
#OwnDesignModal .modal-footer button.close {
    position: relative;
    right: 0;
    top: 0;
    padding: 5px 20px;
    margin: 0;
    width: auto;
    height: auto;
    border-radius: 4px;
    background-color: #FBCD2F;
    color: #000;
    font-size: 20px;
    line-height: 1.4;}	
#OwnDesignModal .modal-footer button.close:hover {background-color:#0072BB; color:#fff;}	