/*
Theme Name: Astra Child
Template: astra
*/





/* Top bar */
.crx-top-bar{
     background: #8A9083;
     height: 52px;
}

.crx-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 0px 0;
}

.crx-top-row a {
    color: #fff;
    margin-right: 15px;
    text-decoration: none;
}


/* Main header */
.crx-main-row {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.crx-col {
    padding: 0;
}

.crx-logo {
    flex: 0 0 auto;
    padding-left: 0;
    margin-left: 0;
}

.crx-search {
    display: none;
}

.crx-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search */
.crx-search-bar {
    display: flex;
}

.crx-search-input{
    height: 48px!important;
    border-radius: 0px!important;
}

.crx-search-form {
    position: relative;
    width: 100%;
}

.crx-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.crx-search-input {
    padding-left: 38px!important; /* space for icon */
}

.crx-browse {
    width: 200px;
    margin-right: 8px;
    border-radius: 0px;
    height: 48px;
}

.crx-search-input {
    flex: 1;
}

.crx-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 0;
}

.crx-icon i{
    font-size: 22px;
}

.crx-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #A67F68;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    text-align: center;
}

.btn-primary{
    background-color: #A67F68;
    border-color: #A67F68;
    text-decoration: none; 
}

.btn-secondary{
    background-color: #8a9083;
    border-color: #8a9083;
    text-decoration: none;
}
.btn-secondary:hover
{
    background-color: #818d74;
    border-color: #818d74;
}


/* Top header menu */
.crx-top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
    height: 52px;
}

.crx-top-nav li {
    margin: 0;
    padding: 13px 0px;
}

.crx-top-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Active menu item � top border */
.crx-top-nav .current-menu-item > a {
    padding-top: 0px;
    font-weight: inherit;
}


.crx-top-nav a {
    padding-top: 0px;
    display: block;
    text-align: center;
    width: 100%;
}

.crx-top-nav a:hover {
    opacity: 0.8;
}

.crx-top-right span{
    margin-right: 10px;
    color:#fff;
}

.ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"] {
    background-image: linear-gradient(to right, rgba(13, 6, 20, 0.6), rgba(13, 6, 20, 0.6)), url(https://dealcraftacademy.in/wp-content/uploads/2026/01/pexels-tatiana-fet-420381-1105766.jpg);
}


@media (max-width: 520px) {
.crx-search{
    display: none!important;
}

.crx-top-right{
    display: none!important;
}
}

@media (max-width:768px){

	header .custom-logo-link img {
		max-width: 120px;
	}
    .crx-top-bar{
        display:none;
    }

	.crx-main-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		background: #fff;
		padding: 15px 0;
		border-bottom: 1px solid #eee;
	}

    .crx-logo{
        flex:0 0 auto;
    }

	.crx-logo img{
		width:90px;
		max-width:90px;
		height:auto;
	}

    .crx-actions{
        display:flex;
        align-items:center;
        gap:15px;
        margin-left:auto;
    }

    .crx-cart{
        margin-right:0;
        top:0;
    }

    .btn-primary{
        white-space:nowrap;
        padding:8px 14px;
        font-size:11px !important;
    }

    body{
        overflow-x:hidden;
    }
}
.crx-search{
    display:none;
}

.course-header{
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Mobile Menu */
.crx-mobile-toggle,
.crx-mobile-menu{
    display:none;
}

@media (max-width:768px){

    /* Hide desktop menu */
    .crx-top-bar{
        display:none;
    }

    /* Header layout */
    .crx-main-row{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
    }

    /* Hamburger */
    .crx-mobile-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        font-size:24px;
        cursor:pointer;
        color:#000;
        line-height:1;
        margin-right:10px;
    }

    /* Logo */
    .crx-logo img{
        width:90px;
        max-width:90px;
        height:auto;
    }

    /* Right side */
    .crx-actions{
        display:flex;
        align-items:center;
        gap:12px;
        margin-left:auto;
    }

    .btn-primary{
        white-space:nowrap;
        padding:8px 12px;
        font-size:11px !important;
    }

    /* Mobile menu */
    .crx-mobile-menu{
		display:none;
		position:absolute;
		top:100%;
		left:0;
		width:100%;
		background:#8A9083;
		z-index:9999;
		box-shadow:0 4px 12px rgba(0,0,0,.15);
	}

    .crx-mobile-menu.active{
        display:block;
    }

    .crx-mobile-nav{
        list-style:none;
        margin:0;
        padding:0;
    }

    .crx-mobile-nav li{
        border-bottom:1px solid rgba(255,255,255,.2);
    }

    .crx-mobile-nav a{
        display:block;
        padding:15px;
        color:#fff;
        text-decoration:none;
        font-size:14px;
    }

    body{
        overflow-x:hidden;
    }
}

