/*==================================================
Archive Layout
==================================================*/

.classes-archive{
    max-width:1400px;
    margin:60px auto;
    padding:0 20px;
}

.archive-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
    gap:20px;
}

.archive-title h1 {
    font-size:48px;
    font-weight:500;
    margin:0 0 10px;
    color:#008D9F;
    font-family: 'Alan sans';
}

.archive-title p{
   color: #3D4947;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-family: 'Be Vietnam Pro lite';
}

.archive-wrapper{
    display:grid;
    grid-template-columns:325px 1fr;
    gap:50px;
}


/* Sidebar */

.archive-sidebar{
    background:#fff;
    border-radius:16px;
    padding:25px;
    height:max-content;
    position:sticky;
    top:30px;
    width:100%;
    max-width:400px;
    padding:0px;
    background:#fff;
}

.archive-sidebar #class-search {
    border: none;
    padding: 12px 24px 12px 45px;
    border-radius: 50px;
}

.filter-title h3{
    font-size: 18px;
    font-family: 'Be Vietnam Pro Semibold';
    color: #282A2A;
}

.filter-box{
    margin-bottom:35px;
}

.filter-box:last-child{
    margin-bottom:0;
}

.filter-box h4{
    margin:0 0 15px;
    font-size:18px;
    font-weight:700;
}

.filter-box label{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
    cursor:pointer;
    color:#555;
    font-size:15px;
}
.price-values span {
    font-size: 14px;
    font-weight: 700;
    color: #6C7A77;
}

.filter-box input[type="checkbox"]{
    width:18px;
    height:18px;
    cursor:pointer;
}

.filter-box input[type="text"],
.filter-box input[type="number"]{
    width:100%;
    border:1px solid #ddd;
    border-radius:10px;
    padding:12px 15px;
    font-size:15px;
}

.price-filter{
    display:flex;
    gap:10px;
}


/* Product Grid */

.products-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
	position: relative;
}
.products-grid.loading {
	 min-height: 300px;
}

.products-grid.loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 10;
}

.products-grid.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 38px;
    margin-left: -19px;
    margin-top: -19px;
    border: 4px solid #e5e5e5;
    border-top-color: #009eb2;
    border-radius: 50%;
    animation: classLoader 0.7s linear infinite;
    z-index: 11;
}

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

/*= Card =*/

.class-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transition:.3s;
}

.class-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.class-image{
    position:relative;
}

.class-image img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
}

.class-content{
    padding:24px;
}

.class-content .class-type {
    display: none;
}


/*= Age Badge =*/

.product-badge {
    position: absolute;
    top: 15px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    height: 25px;
    margin-left: 10px;
}

.class-badge{
    font-family: 'Be Vietnam Pro bold';
    text-transform: uppercase;
    background:#ff6d3f;
    color:#fff;
    padding:3px 14px;
    border-radius:30px;
    font-size:10px;
    font-weight:600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-badge{
    font-family: 'Be Vietnam Pro bold';
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:3px 14px;
    background:#FFFFFFE5;
    color:#1A1C1C;
    border-radius:30px;
    font-size:10px;
    font-weight:600;
}


/*= Title =*/

.class-title {
    margin:0 0 5px;
    font-size:22px;
    line-height:22px !important;
}

.class-title a{
    color:#282A2A;
    text-decoration:none;
    font-family: 'Alan sans';
    font-size: 24px;
    font-weight: 500;
    line-height: 25px;
}

.class-title a:hover{
    color:#ff6d3f;
}


/*= Rating =*/

.class-rating span{
    font-size:14px;
    color:#777;
}

.class-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    margin: 8px 0;
}

.class-rating .rating-star {
    color: #FDBA12;
    font-size: 20px;
}

.class-rating .rating-value {
    font-family: 'Be Vietnam Pro bold';
    font-size: 14px;
    font-weight: 600;
    color: #282A2A;
    line-height: 20px;
}

.class-rating .rating-count {
    font-family: 'Be Vietnam Pro lite';
    font-size: 14px;
    font-weight: 400;
    color: #6C7A77;
    line-height: 20px;
}


/* Location */

.class-location{
    margin-bottom:12px;
    color:#666;
    font-size:15px;
	    font-family: 'Be Vietnam Pro lite';
}


/*= Class Type =*/

.class-type{
    display:inline-block;
    margin-bottom:18px;
    background:#F6F6F6;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
}


/*== Price ==*/

.class-price{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:20px 0 0;
}

.starting-text{
    color: #6C7A77;
    font-size: 10px;
    letter-spacing: 0.5px;
	font-weight: 700;
}

.class-price .price{
    font-weight: 600;
    color: #008D9F !important;
        line-height: 32px;

}


/*= Button =*/

.book-now-btn {
    display:block;
    width:100%;
    text-align:center;
    background: #008D9F;
    color:#fff;
    text-decoration:none;
    padding:16px;
    border-radius:50px;
    transition:.3s;
    font-weight:600;
   
}

.book-now-btn:hover{
    background:#ff6d3f;
    color:#fff;
}


/*= Load More =*/

.load-more-wrapper{
    text-align:center;
    margin-top:60px;
}

#load-more{
    border:none;
    background:#111;
    color:#fff;
    padding:16px 45px;
    border-radius:50px;
    cursor:pointer;
    transition:.3s;
    font-size:16px;
}

#load-more:hover{
    background:#ff6d3f;
}


/*==================================================
WooCommerce Rating
==================================================*/

.star-rating{
    margin:0 !important;
}


/*== Tablet ==*/

@media(max-width:1024px){
	.archive-wrapper{
	  grid-template-columns:260px 1fr;
	}

	.products-grid{
	 grid-template-columns:repeat(2,1fr);
	}
}

/*  sidebar css */

.search-box{
    position:relative;
    margin-bottom:30px;
}

.search-box input{
    width:100%;
    height:58px;
    border-radius:40px;
    border:1px solid #eee;
    padding-left:55px;
    font-size:17px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.filter-option{
    position:relative;
}
.filter-option input[type="radio"] {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
}
.filter-option.active::after{
	content: "L";
    position: absolute;
    right: 19px;
    top: 50%;
    width: 20px;
    height: 20px;
	transform: translateY(-50%) rotate(50deg) scaleX(-1);
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 16px;
    font-weight:700;
}

.filter-option {
	display: flex !important;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 1px 1px 2px 0px #00000033;
	    align-items: center;
}

.location-f.active {
	background: #FF6E801F;
	border: 2px solid #FF6E80;
}
.location-f.active::after {
    color: #FF6E80;
    border: 2px solid #FF6E80;
    padding: 11px;
}

.class-type-f.active {
	background: #56D4C51F;
	border: 2px solid #56D4C5;
}

.class-type-f.active::after {
    color: #56D4C5;
    border: 2px solid #56D4C5;
    padding: 11px;
}

.search-icon{
    position:absolute;
    left:22px;
    top:18px;
    color:#888;
}

.filter-section{
    margin-bottom:0px;
    padding-bottom:15px;
}

.filter-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
}

.toggle-icon{
    width:0;
    height:0;
    border-left:7px solid transparent;
    border-right:7px solid transparent;
    border-top:9px solid #66d8d0;
    transition:.3s;
}

.toggle-icon.red{
   border-top-color:#ff6b7c;
}

.toggle-icon.orange{
   border-top-color:#f7b347;
}

.toggle-icon.blue{
   border-top-color:#0099aa;
}

.toggle-icon.green{
   border-top-color:#66d8d0;
}

.filter-section.active .toggle-icon{
     transform:rotate(180deg);
}

.filter-content{
	display:none;
	padding-top:20px;
}

.filter-section.active .filter-content{
  padding-right: 20px;
  display:block;
}

.category-pills{
	display:flex !important;
	flex-wrap:wrap;
	gap:12px !important;

}

.age-filter-inner-sec label {
    width: 48%;
    border: 1px solid #EEEEEE !important;
    border-radius: 50px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    height: 40px;
    padding: 10px;
	margin:0px !important;
	    font-weight: 600 !important;
}
.fa-location-dot svg{
	width: 10px;
	fill: #3D4947;
	margin-right:8px;
	margin-left:2px;
}

.age-fil-upper {
	display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


.category-pill {
padding: 10px 10px;
    border-radius: 30px !important;
    border: 1px solid #EEEEEE !important;
   background-color: #fff !important;
    cursor:pointer;
    font-size:14px !important;
    font-family: 'Be Vietnam Pro bold';
    color: #3D4947 !important;
    transition:.3s;
}

.category-pill.active{
	background:#dff8f5 !important;
	border-color:#69d7d2 !important;
	color:#0f6d67 !important;
}

.filter-content label{
	display:block;
	margin:12px 0;
	border:2px solid #fff;
	font-size:14px;
	font-family: 'Be Vietnam Pro lite';
}

.filter-content input{
    width: 22px;
    height: 22px;
}

.price-values{
	margin-top:20px;
	font-size:17px;
	font-weight:600;
}

input[type="checkbox"].filter-age {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

input[type="checkbox"].filter-age:checked {
    background: #fff;
    border:2px solid #f7b347;
}

.age-filter-inner-sec label:has(input[type="checkbox"]:checked) {
    border-color: #f7b347;
    background: #fff8ed;
}

input[type="checkbox"].filter-age:checked::after {
    content: "L";
	right: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) rotate(50deg) scaleX(-1);
    color: #f7b347;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

/*== Mobile ==*/

@media(max-width:767px){

	.archive-top{
		flex-direction:column;
		align-items:flex-start;
	}

	.archive-wrapper{
		grid-template-columns:1fr;
	}

	.archive-sidebar{
		position:relative;
		top:auto;
	}

	.products-grid{
		grid-template-columns:1fr;
	}

	.class-image img{
		height:220px;
	}

	.archive-title h1{
		font-size:32px;
	}

}