/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Deepak Nayal
Template: astra
Version: 1.0
*/

h1.category-title {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 40px;
}

.top-header .elementor-icon-box-wrapper {
    display: flex;
    align-items: center;
}

.top-header span.elementor-icon {
    padding-top: 0;
    padding-bottom: 0;
}



.top-header .elementor-icon-box-icon {
    display: flex;
}
section.category-header-full {
    text-align: center;
    padding: 20px 0px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background:#4d5a3f;
    padding: 90px 20px;
    color: #fff;
    margin-bottom: 60px;
}
.category-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.category-description p {
    margin: 0;
}

.site-content .ast-container {
	flex-direction:column;
}
.product-details p strong {
    color: #1E3F20;
    display: block;
	width:32%;
}
h1.product-title {
    font-size: 30px;
    font-weight: 600;
}
.product-application h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    color: #be5733;
}
.cnt-frm-7 textarea {
    height:120px !important;
    font-size: 14px;
    border: 1px solid #c5c5c5;
}
.cnt-frm-7 .wpcf7-submit {
    border-radius: .25rem;
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
    background-color: #1E3F20;
    color: #ffffff;
}
.cnt-frm-7 .wpcf7-submit:hover {
	background:#1E3F20;
}

.cnt-frm-7 .col-6>p {
    display: flex;
    gap: 8px;
}

.cnt-frm-7 input.wpcf7-text, .cnt-frm-7 input.wpcf7-mail {
    height:50px;
    font-size: 14px;
    border: 1px solid #c5c5c5;
}

/*===product slider arrow css===*/
.all-products-slider .swiper-button-prev:after, .all-products-slider .swiper-button-next:after {
    font-size: 25px;
    color: #ffffff;
}

.all-products-slider .swiper-button-prev {
    left: 0;
}

.all-products-slider .swiper-button-next {
    right: 0;
}

.all-products-slider .swiper-button-prev, .all-products-slider .swiper-button-next {
    background: #1e3f20;
}


/*---===pagination js===---*/
.my-pagination {
    margin-top: 40px;
    text-align: center;
	margin-bottom:40px;
}

.my-pagination a,
.my-pagination span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 5px;
    border-radius: 6px;
    background: #f3f3f3;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.my-pagination a:hover {
    background: #000;
    color: #fff;
}

.my-pagination .current {
    background: #000;
    color: #fff;
}




/*===product pages css===*/
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 15px;
   	background: #f9fff9;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.product-card:hover {
	transform: translateY(-5px);
}
.product-title {
    margin-top: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1;
}
.my-product-card img {
    height:259px;
    object-fit: cover;
}
.view-details {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #2c7be5;
    color: #fff;
    text-decoration: none;
}
.view-details:hover {
    background: #1a5dc9;
}

.my-product-grid .my-product-card {
    background: #f9fff9;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.my-product-grid .my-product-card:hover {
	transform: translateY(-5px);
}
.my-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.my-product-grid img {
    width: 100%;
}
.my-product-title a {
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

a.my-view-details-btn {
    color: #ffffff;
    background: #236c32;
    padding: 8px 22px;
    margin-top: 21px;
    display: block;
}
a.my-view-details-btn:hover {
    background: #5e730f;
}
.my-products-wrapper {
    width: 100%;
    order: 10px;
}


.product-single-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
	padding-top:50px;
}

.product-header {
    width: 40%;
    background: #f1f1f1;
    border: 1px solid #dddddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-details {
    width: 60%;
}
.product-image img {
    width: 100%;
}
.product-details p {
    margin-bottom: 11px;
    display: flex;
    border: 1px solid #c9c2c2;
    border-left: 0;
    border-right: 0;
    padding: 11px 0px;
}
.product-application p {
    margin-bottom: 0;
}
.application p {
    border: none;
    width: 32%;
	padding-top:0;
}

.application {
    display: flex;
}

.application ul {
    margin-left: 19px;
    padding: 0;
}

.application ul>li {
    padding: 0px 0px 16px;
}
.product-title a {
    color: #1e3f20;
}

a.product-btn {
    color: #ffffff;
    background: #1e3f20;
    padding: 8px 10px;
    display: block;
    border-radius: 0px;
    margin-top: 10px;
}
h2.my-product-title {
    line-height: 0.2;
}
/*---=== product archive grid sytle===---*/
.two-column-layout{
    display: flex;
    gap: 30px;
	margin-bottom:40px;
}

/* Sidebar */
.sidebar-top-product-slider .swiper-pagination-bullet-active {
    background: #236c32;
}
.top-product-card h4.top-product-title>a {
    font-size: 18px;
    color: #060606 !important;
}
.top-product-card a.top-product-btn {
    margin-bottom: 35px;
    display: block;
    color: #236c32;
}
.top-product-card .top-product-title {
    margin-top: 11px;
}
.top-product-card a.top-product-btn, .top-product-card .top-product-title {
    text-align: center;
}
.sidebar-top-product-slider .swiper-pagination-bullets {
    bottom: 0;
}



.my-sidebar {
    width: 25%;
    background: #f4faf4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 40px;
    height: 100%;
}

.sidebar-title{
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 8px;
    color: #2e5f2e;
}

.my-category-list,
.my-sub-category-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.my-category-list li{
    margin-bottom: 10px;
}

.my-category-list li a{
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s;
    font-weight: 500;
	text-transform:uppercase;
}

.my-category-list li a:hover,
.my-category-list li.active > a{
    background: #236c32;
    color: #fff;
}


.my-sub-category-list{
    padding-left: 15px;
    margin-top: 8px;
}

.my-sub-category-list li a{
    background: #e9f5e9;
    font-size: 14px;
}


.my-products-content{
    width: 75%;
}

.my-product-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/*---=== relative product css===---*/
.related-products{
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
}

.related-title{
    text-align: center;
    font-size: 28px;
    color: #2f5f2f;
    margin-bottom: 30px;
    position: relative;
}

.related-title::after{
    content: '';
    width: 60px;
    height: 3px;
    background: #4CAF50;
    display: block;
    margin: 10px auto 0;
    border-radius: 3px;
}

.related-products-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.related-product-card{
    background: #f9fff9;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.related-product-card:hover{
    transform: translateY(-5px);
}

.related-product-image{
    border-radius: 10px;
    width: 100%;
    height: auto;
}

.related-product-title{
    font-size: 16px;
    margin: 15px 0 10px;
    color: #2e5f2e;
}

.related-product-title a{
    text-decoration: none;
    color: inherit;
}

.related-btn{
    display: inline-block;
    padding: 8px 18px;
    background: #1E3F20;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.related-btn:hover{
    background: #2e7d32;
	color:#ffffff;
}

/*===live search box===*/
.product-live-search-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
}

#product-live-search {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #1F261D;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 0;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #084b91;
}



.product-live-search-wrap {
  max-width: 100%;
  position: relative;
}

#product-live-search {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#product-search-results {
  position: absolute;
  width: 100%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  margin-top: 5px;
  border-radius: 6px;
  display: none;
  z-index: 999;
}

.product-live-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-live-search-results li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
  color: #000;
}

.product-live-search-results li a:hover {
  background: #f5f5f5;
}

.product-live-search-results img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width:767px) {
	.swiper-slide.product-card {
    width: 100% !important;
}
	
}


