/*
Theme Name: Astra Child
Theme URI: https://kimiyaweb.ir/
Description: Child theme for Astra
Author: Mohammad Barghamadi
Author URI: https://kimiyaweb.ir/
Template: astra
Version: 1.0.0
*/

/* Custom CSS starts here */

@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	font-weight: 700; /* Use numerical weight for 'bold' */
    font-display: swap; /* Moved to correct position */
    
    /* WOFF2 first for best compression/speed, WOFF second for wider compatibility */
	src: url('./fonts/IRANYekanWebBold.woff2') format('woff2');
}

/* IRANYekan Thin (Weight 100) */
@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
    
	src: url('./fonts/IRANYekanWebThin.woff2') format('woff2');
}

/* IRANYekan Light (Weight 300) */
@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
    
	src: url('./fonts/IRANYekanWebLight.woff2') format('woff2');
}

/* IRANYekan Regular/Normal (Weight 400) */
@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	font-weight: 400; /* Use 400 for 'normal' */
	font-display: swap;
    
	src: url('./fonts/IRANYekanWebRegular.woff2') format('woff2');
}

/* IRANYekan Medium (Weight 500) */
@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
    
	src: url('./fonts/IRANYekanWebMedium.woff2') format('woff2');
}

/* IRANYekan ExtraBold (Weight 800) */
@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
    
	src: url('./fonts/IRANYekanWebExtraBold.woff2') format('woff2');
}

/* IRANYekan Black (Weight 850) */
@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	font-weight: 850;
	font-display: swap;
    
	src: url('./fonts/IRANYekanWebBlack.woff2') format('woff2');
}

/* IRANYekan ExtraBlack (Weight 900) */
@font-face {
	font-family: 'iranyekan';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
    
	src: url('./fonts/IRANYekanWebExtraBlack.woff2') format('woff2');
}


body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
pre,
li,
a,
div,
blockquote,
input,
textarea {
	font-family: iranyekan, Arial, sans-serif;
}

.ast-site-header-cart a.cart-container path {
    color: #fff;
}

a.ast-header-account-link.ast-account-action-link.ast-header-account-type-text {
    background: #8dc73f;
    color: #fff;
    padding: 6px 18px;
    border-radius: 4px;
}
a.ast-header-account-link.ast-account-action-link.ast-header-account-type-text:hover {
 background: #005202;
}

.ast-header-account-link.ast-account-action-link.ast-header-account-type-text:hover {
	background: #005202;
}
.main-header-bar .main-header-bar-navigation .sub-menu {
	font-size:15px;
    line-height: 0.80;
    width: 220px;
    padding: 10px 6px;
}

.ast-site-identity {
    padding: 0.5em 0!important;
}

header .custom-logo-link img {
	max-width:70px;
}

.main-header-bar .main-header-bar-navigation a.menu-link {
    font-size: 15px;
}

.main-header-bar .main-header-bar-navigation .sub-menu li {
    font-size: 15px;
}

.ast-desktop:not(:has(.ast-header-sticked)) .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height:40px;
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link {
    color: #DA6226;
    border: 1px solid;
    padding: 0 6px;
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link:hover {
	border: 1px solid #DA6226;
	color: #DA6226;
	border-radius: 4px;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    background: #393939;
}

.ast-footer-copyright p a:hover {
    color: #cf5d24;
}
.ast-footer-copyright p a {
    color: #fff;
    border-bottom: 1px dashed;
	font-size:14px;
}

.ast-footer-copyright p {
    margin-bottom: 0;
    color: #fff;
}