<?php
header("Content-type: text/css; charset: UTF-8");
$options = kaveh_get_options();
$color = $options['opt-color-5'];
$hovercolor = $options['opt-color-5-hover'];
$pricecolor = $options['pricecolor'];
$navresbg = $options['kaveh_header_mobile_bg_type'];
?>
.add-to-compare{
    background-color: <?= $color; ?>!important;
}
.insingle_pr .add-to-compare{
    background-color: transparent !important;
}
.product .detail .price span {
    color: <?= $pricecolor; ?>!important;
}

.product-six .price {
    background-color: <?= $color; ?>!important;
}
.product-travel-equipment-item .discount {
    background-color: <?= $color; ?>!important;
}
.product-travel-equipment-item .discount::before {
    background-color: <?= $color; ?>20 !important;
}
.product-travel-equipment-item .btn-add-to-cart:hover {
    background-color: <?= $color; ?>!important;
    color: #fff!important;
}
.product-book .btn-add-to-cart {
    background-color: <?= $color; ?>10 !important;
    color: <?= $color; ?>!important;
}
.product-book .btn-add-to-cart:hover {
    background-color: <?= $color; ?>!important;
    color: rgb(255, 255, 255)!important;
}
.btn-success-3 {
    background-color: <?= $color; ?>!important;
    color: #fff!important;
}
.product-ten .add-to-cart span:first-child {
    border: 5px solid <?= $color; ?>!important;
}
.product-ten.gradient:hover .add-to-cart span:first-child {
    background-color: <?= $color; ?>!important;
}
.product-new-two .price span {
    color: <?= $pricecolor; ?>!important;
}
.product-new-four .price {
    color: <?= $pricecolor; ?>!important;
}
.product-new-three .price {
    color: <?= $pricecolor; ?>!important;
}
.product-new-three .price::before {
    background-color: <?= $pricecolor; ?>!important;
}
.box-product-one .btn-add-to-cart {
    background-color: <?= $color .'15'; ?>!important;
    color: <?= $color; ?>!important;
}
.box-product-one .btn-add-to-cart:hover {
    background-color: <?= $color; ?>!important;
    color:#fff!important;
}
.product-tech .btn-add-to-cart {
    background-color: <?= $color.'10'; ?> !important;
    color: <?= $color; ?>!important;
}
.product-ten:hover .add-to-cart span:first-child {
    background-color: <?= $color; ?>!important;
    color: rgb(255, 255, 255)!important;
}
.product-tech:hover .btn-add-to-cart {
    background-color: <?= $color; ?>!important;
    color: rgb(255, 255, 255)!important;
    box-shadow: <?= $color.'40'; ?> 0px 3px 50px !important;
}
.product-fifteen .image-price .price > div span {
    color: <?= $pricecolor; ?>!important;
}
.kav__socials-suport__btn {
    background-color: <?= $options['back_main_icon'];?>;
}
.kav__socials-suport__drop__heading {
    background-color: <?= $options['main_top_icon_social'];?>;
}
  .nav-header-cart-dropdown-two-products {
	scrollbar-width: 4px;
	scrollbar-color: <?= $color; ?> rgba(0, 0, 0, 0.1)!important;
	overflow-y: auto;
	max-height: 356px;
	margin: 0 -8px;
	padding: 0 8px;
  }
  .nav-header-cart-dropdown-two-products::-webkit-scrollbar-thumb {
	background-color: <?= $color; ?>!important;
  }
  
.cart-sliding-content {
    border-top: 6px solid <?= $color; ?> !important;
}
.product-new-one .add-to-cart {
    background-color: <?= $color; ?> !important;
}
.product-new-one .offer i {
    background-color: <?= $color; ?> !important;
}
.product-new-one .offer-price .price span {
    color: <?= $color; ?> !important;
}
.nav-header-cart-dropdown-two .total-price>div, .cart-sliding-content .total-price>div {
    color: <?= $color; ?> !important;
}
.btn-success-2 {
    background-color:<?= $color; ?> !important;
}
.nav-header-cart-dropdown-two .total-price::before, .cart-sliding-content .total-price::before {
    background-color: <?= $color; ?>15 !important;
}
.sendcodea{
	font-weight: 900 !important;
    color:<?= $color; ?> !important;
    cursor: pointer;
}
.pace .pace-progress {
    background:  <?= $color; ?> !important;
}
.pace .pace-progress-inner {
    box-shadow: 0 0 0.625rem  <?= $color; ?>, 0 0 0.3125rem  <?= $color; ?> !important;
}
.pace .pace-activity {
    border-top-color:  <?= $color; ?> !important;
    border-left-color:  <?= $color; ?> !important;
}
<?php if ($navresbg == 'option-1'): ?>
    .nav-responsive-content .discounts-contact::before {
    background: url("<?= $options['kaveh_mobile_header_bg_image']; ?>") 0 0 no-repeat;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    }
<?php elseif ($navresbg == 'option-2'): ?>
    .nav-responsive-content .discounts-contact::before {
    background-color: <?= $color; ?> !important;
    background-image:unset !important;
    }
<?php endif; ?>
.buttonforprtamas {
background-color: <?= $color; ?> ;
padding: 5px 12px;
margin: 10px 0;
display: inline-block;
border-radius: 10px;
}
.nav-header-cart>.btn{
    background-color:<?= $color; ?> ;
}
.nav-header-cart-dropdown-two {
    border-top: 6px solid <?= $color; ?> ;
}
.detail-blog-name {
    color: <?= $color; ?> ;
}
.nav-mobile-five-cart {
    background-color: <?= $color; ?> ;
}
.nav-mobile-five-down form button,.nav-mobile-five-auth{
    color: <?= $color; ?> ;
}
.nav-mobile-three-cart{
    background-color: <?= $color; ?> ;
}
.nav-mobile-three form button{
    color: <?= $color; ?> ;
}
.product-twelve .detail .price b{
    color: <?= $pricecolor; ?> ;
}
.product-seven .price {
    border: 1px solid <?= $pricecolor; ?> ;
    color: <?= $pricecolor; ?> ;
}

.product-eight .price span {
    color: <?= $pricecolor; ?> ;
}
.product-seven .btn-success-2, .product-eight .btn-success-2 {
    border: 2px solid <?= $pricecolor; ?> ;
    background-color: <?= $pricecolor; ?> ;
}
.product-three .detail .price-offer {
    background-color: <?= $pricecolor; ?> ;
}
.product-two-detail .offer-price span {
    color: <?= $pricecolor; ?> ;
}
.product-five .content .price span {
    color: <?= $pricecolor; ?> ;
}
.nav-mobile-cart{
    background-color: <?= $color; ?> ;
}
.nav-header-cart-dropdown-two .btn{
    background-color: <?= $color; ?> ;
}
.nav-header-cart-dropdown-two .total-price::before{
    background-color: <?= $color; ?>15;
}
.nav-header-cart-dropdown-two .total-price>div{
    color: <?= $color; ?> ;
}
.checkout-two-header-steps li.visited::after,.checkout-two-header-steps
li.active:not(:last-child):after,.checkout-two-header-steps li.visited > div span{
background-color: <?= $color; ?> ;
}
.checkout-two-header-steps li.active > div span, .checkout-two-header-steps li.visited > div span {
border: 1px solid <?= $color; ?>;
}
.checkout-two-header-steps li.visited::before {
background: <?= $color; ?>30;
border-bottom: 2px solid <?= $color; ?> ;
}
.checkout-two-header-steps li.active::before {
border-bottom: 2px solid <?= $color; ?> ;
}
.checkout-two-header-steps li.active::before, .checkout-two-header-steps li.active:last-child::after {
background: linear-gradient(90deg, rgba(255, 255, 255, 0) 38.89%, <?= $color; ?>30 100%);
}
.nav-mobile-eight-down form button {
background-color: <?= $color; ?> ;
}
.nav-mobile-eight-down .icons .cart span {
background-color: <?= $color; ?> ;
}
.nav-mobile-six-bottom .btn-center {
background-color:<?= $color; ?> ;
}
.nav-responsive-content .discounts-contact .discount {
color: <?= $color; ?> ;
}
.nav-responsive-content-menu li.has-child > .children .heading {
color: <?= $color; ?> ;
}
.modaladdto {
background-color: <?= $color; ?> !important;
}
.article-two h2 a:hover {
color: <?= $color; ?> !important;
}
.count button:hover {
background-color: <?= $color; ?> !important;
}
.pagination .page-item .page-next:hover, .pagination .page-item .page-prev:hover {
border-color: <?= $color; ?> !important;
}
span.now.active {
background: <?= $color; ?> !important;
color: #fff !important;
}

.pagination .page-item .page-next, .pagination .page-item .page-prev {
border: 1px solid <?= $color; ?> ;
}
.blog .swiper-pagination-bullet-active {
background-color: <?= $color; ?> !important;
}
.wpcvs-term.wpcvs-selected {
border-color: <?= $color; ?>;
}


span.page-numbers.current {
background-color: <?= $color; ?> !important;
}
.nav-responsive-close, .nav-responsive-back {
background-color: <?= $color; ?> ;
-webkit-box-shadow: 0 15px 25px <?= $color; ?>25;
-moz-box-shadow: 0 15px 25px <?= $color; ?>25;
box-shadow: 0 15px 25px <?= $color; ?>25;

}
.detail-product-four-modal-gallery .modal-content::after {
background-color:<?= $color; ?> ;
}
.icons-detail-product>button {

background-color: <?= $color; ?> ;
}
.detail-product-four-tabs .detail-product-review .btn {
border: 1px solid <?= $color; ?> ;
color: <?= $color; ?> ;
}
.detail-product-four-tabs .detail-product-review .btn i{
color: <?= $color; ?> ;
}
.detail-product-four-tabs .nav li.active {
background-color: <?= $color; ?> ;
}
span.woocommerce-Price-amount.amount {
color: <?= $pricecolor; ?> ;
}
.amazing-offer .product .detail .price {
color: <?= $pricecolor; ?> ;
}
.product .detail .price{
color: <?= $pricecolor; ?> ;
}
.star-comments .comments-text{
color: <?= $color; ?> ;
}
a.btn.btn-purple-2.d-flex.align-items-center.justify-content-center.text-nowrap.ms-auto {
background: <?= $color; ?> ;
}
.gall4 .swiper-pagination-bullet-active {
background: <?= $color; ?> ;
}
.detail-product-four-sidebar .options-send li i ,.detail-product-four .volume i,.detail-product-four-send-title i{
color: <?= $color; ?> ;
}
.nav-header-cart-dropdown {
border: 1px solid <?= $color; ?> ;
}
.nav-pills .nav-link.active {
-webkit-box-shadow: 0 10px 35px <?= $color; ?>25 !important;
-moz-box-shadow: 0 10px 35px <?= $color; ?>25 !important;
box-shadow: 0 10px 35px <?= $color; ?>25 !important;
}
.nav-bottom-four > a:hover, .nav-bottom-four > a.active {
color:<?= $hovercolor; ?>;
}
.nav-bottom > a:hover, .nav-bottom > a.active {
color: <?= $hovercolor; ?>;
}
.cart-sliding-content-heading .btn {
-webkit-box-shadow: 0 15px 25px <?= $color; ?>25;
-moz-box-shadow: 0 15px 25px <?= $color; ?>25;
box-shadow: 0 15px 25px <?= $color; ?>25;
}
.nav-bottom {
border-bottom-color: <?= $color; ?>;
}
.nav-bottom::after {
background-color: <?= $color; ?>;
}
.nav-bottom > a:nth-child(3) {
background-color: <?= $color; ?>;
}
.nav-bottom-two::before {
background-color: <?= $color; ?>;
}
.panel1kaveh table.my_account_orders::after {
background-color: <?= $color; ?>;
}
.btn-outline-dark:hover{
border-color:<?= $color; ?>;

}
<?php if ($options['boxprsinglecustomcolor'] !== '1'): ?>
    .options-box{
    background-color: <?= $color; ?>25;
    }
    .options-box li i, .options-box li span {
    color: <?= $color; ?>;
    }
    .options-box li i::after {
    background-color: <?= $color; ?>29;
    }
<?php else: ?>
    .options-box{
    background-color: <?= $options['boxsingleprbg']; ?>;
    }
    .options-box li i, .options-box li span {
    color: <?= $options['boxsinglepriconcolor']; ?>;
    }
    .options-box li i::after {
    background-color: <?= $options['boxsingleprbgicon']; ?>;
    }
<?php endif; ?>
.amazing-offer .product-image .discount {
background-color: <?= $color; ?>;
}
.top-products-tabs .nav-item .nav-link.active, .top-products-tabs .nav-item .nav-link:hover {
background-color: <?= $color; ?>;
}
input[type="submit"],input[type="button"] {
background-color: <?= $color; ?>;
color:<?= $hovercolor; ?>;
}
.article figure .category-time {
background-color: <?= $color; ?>;
}
.footer-three-titr::before {
background-color: <?= $color; ?>;
}
.modaladdto:hover {
background:#fff !important;
border: 2px solid <?= $color; ?>;
color: <?= $color; ?>;
}
.megamenu-two-tabs-item.active i {
background-color: <?= $color; ?>;
}
.switch_footer_kaveh {
color : <?= $color; ?> !important;
}
<?php if ($options['catlimitinsingle'] === '1'): ?>
    .detail-product .detail .full-info li a:not(:first-of-type){
        display: none;
    }
    .product_meta span.posted_in a:not(:first-of-type){
        display:none;
    }
<?php endif; ?>

.megamenu-two-content-item ul li a::before {
background-color: <?= $color; ?>80;
}
.megamenu-two-content-item .title .name-fa::before {
background-color: <?= $color; ?>80;
}
.footer-scroll-header {
background-color: <?= $color; ?>;
}
.megamenu-tab-contents-item .categories .btn {
background-color: <?= $color; ?>;
}
.btn-danger {
background-color: <?= $color; ?>;
}
.product-eleven .product-image .discount {
background-color: <?= $color; ?>;
}
.nav-pills .nav-link.active {
background-color: <?= $color; ?>;
}
#comments::before {
background-color: <?= $color; ?>;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
background-color: <?= $color; ?> !important;
}
.article-seven .content {
background-color: <?= $color; ?>;
}
.amazing-offer-three-wrapper::after {
background-color: <?= $color; ?>;
}
.amazing-offer-three-item .detail .offer {
background-color: <?= $color; ?>;
}
.top-products-three-tabs .nav-item .nav-link.active, .top-products-three-tabs .nav-item .nav-link:hover {
background-color: <?= $color; ?>;
}

.top-header-auth-dropdown li a::before {
background-color: <?= $color; ?>;
}
.products-category .swiper-button-next, .products-category .swiper-button-prev {
background-color: <?= $color; ?>;
}
.products-category-title::after, .products-category-title::before {
background-color: <?= $color; ?>;
}
.article-four {
background-color: <?= $color; ?>;
}
.btn-danger-2 {
background-color: <?= $color; ?>;
}
.product-thirteen .discount {
background-color: <?= $color; ?>;
}
.article-five figure ul li:last-child {
background-color: <?= $color; ?>;
}
.product-thirteen-three .btns li a {
background-color: <?= $color; ?>;
}
.landing-fiveteen .swiper-pagination-bullet {
background-color: <?= $color; ?>;
}
.elementor-2866 .elementor-element.elementor-element-b049d44 .amazing-offer-fiveteen-item .detail .content .btn {
background-color: <?= $color; ?>;
}
.landing-fourteen .swiper-pagination-bullet {
background-color: <?= $color; ?>;
}
.amazing-offer-seven-wrapper::before {
background-color: <?= $color; ?>72;
}
.category-slider-banner .category {
background-color: <?= $color; ?>;
}
.top-seller-products-two-tabs li.active, .top-seller-products-two-tabs li:hover {
background-color: <?= $color; ?>;
}
.products-category-two .section-heading::before {
background-color: <?= $color; ?>;
}
.about-us-home-seven .content .socials {
background-color: <?= $color; ?>;
}
.about-us-home-seven::before {
background-color: <?= $color; ?>;
}
.category-products-two-item h2, .category-products-two-item h3, .category-products-two-item h4,
.category-products-two-item h5, .category-products-two-item h6, .category-products-two-item span,
.category-products-two-item div, .category-products-two-item p {
background-color: <?= $color; ?>;
}
.amazing-offer-eight-wrapper .left .swiper::after {
background-color: <?= $color; ?>;
}
.top-products-two-tabs .nav-item .nav-link.active, .top-products-two-tabs .nav-item .nav-link:hover {
background-color: <?= $color; ?>;
}
.article-two .date-view {
background-color: <?= $color; ?>;
}
.landing-seven .swiper-slide .container .content .link a {
background-color: <?= $color; ?>;
}
.buy-vip-left .timear::after, .buy-vip-left .timear::before {
background-color: <?= $color; ?>;
}
.top-seller-products-tabs li.active, .top-seller-products-tabs li:hover {
background-color: <?= $color; ?>;
}
.detail-product-two-review .title::after {
background-color: <?= $color; ?>;
}
.product-two-detail .offer {
background-color: <?= $color; ?>;
}
.detail-product-two .nav-link.active {
background-color: <?= $color; ?>;
}
.detail-blog-info .date {
background-color: <?= $color; ?>;
}
.detail-product-three .offer-product {
background-color: <?= $color; ?>;
}
.detail-product-two-review .title::after {
background-color: <?= $color; ?>;
}
.detail-product-three #specifications ul li span:first-child {
background-color: <?= $color; ?>;
}
.detail-product-three #comments .box-send-comment .btn {
background-color: <?= $color; ?>;
}
.detail-product-three #comments .comments li .content .info .detail .position {
background-color: <?= $color; ?>;
}
.btn-dark {
background-color: <?= $color; ?>;
}
#comments .rate-comment .btn {
background-color: <?= $color; ?>;
}
.top-sellers-two .swiper::before {
background-color: <?= $color; ?>;
}
.footer-nav li a::before {
background-color: <?= $color; ?>;
}
.btn-warning {
background-color: <?= $color; ?>;
}
.nav-header-five .menu::before {
background-color: <?= $color; ?>;
}
.product-not .detail .icons-offer > span {
background-color: <?= $color; ?>;
}
.product-eight .image .offer {
background-color: <?= $color; ?>;
}
.top-header-nine .top-header-auth > a {
background-color: <?= $color; ?>;
}
.footer.primary .footer-contact i {
background-color: <?= $color; ?>;
}
.amazing-offer-eight-wrapper .right .timear li span {
background-color: <?= $color; ?>;
}
.footer-thirteen .footer-socials li a {
background-color: <?= $color; ?>;
}
.product-twelve .offer {
background-color: <?= $color; ?>;
}
.vercode {
background-color: <?= $color; ?>;
}
.footer-four .footer-namad::after, .footer-four-news-letter::after {
background-color: <?= $color; ?>;
}
.btn-success-4 {
background-color: <?= $color; ?>;
}
.cart-two-title {
background-color: <?= $color; ?>;
}
.btn-success {
background-color: <?= $color; ?>;
}
.top-header-auth-dropdown::after {
-webkit-box-shadow: 0 4px 1px <?= $color; ?>;
-moz-box-shadow: 0 4px 1px <?= $color; ?>;
box-shadow: 0 4px 1px <?= $color; ?>;
}
.landing-thirteen-item .detail .btn {
-webkit-box-shadow: 0 3px 35px <?= $color; ?>35;
-moz-box-shadow: 0 3px 35px <?= $color; ?>35;
box-shadow: 0 3px 35px <?= $color; ?>35;
}
.best-seller-products .section-heading .detail::before, .category-products-four .section-heading .detail::before {
background-image: -webkit-linear-gradient(225deg, <?= $color; ?> -20%, rgba(0, 255, 147, 0) 64%);
background-image: -moz-linear-gradient(225deg, <?= $color; ?> -20%, rgba(0, 255, 147, 0) 64%);
background-image: -o-linear-gradient(225deg, <?= $color; ?> -20%, rgba(0, 255, 147, 0) 64%);
background-image: linear-gradient(-135deg, <?= $color; ?> -20%, rgba(0, 255, 147, 0) 64%);
}
.brands-four .brands-wrapper::before {
background-color: <?= $color; ?>;
}
.product-four .product-image .discount {
background: <?= $color; ?>;
}
.section-heading-title b {
color: <?= $color; ?>;
}

.top-seller-home .section-heading-sub-title {
color: <?= $color; ?>;
}
.about-us-home-heading .sup-title {
color: <?= $color; ?>;
}
.article h2 a {
color: <?= $color; ?>;
}
.footer-two-phone div {
color: <?= $color; ?>;
}
.products-category-wrapper::after {
border: 1px solid <?= $color; ?>;
}
.article-four figure h2::before {
border: 3px solid <?= $color; ?>;
}
.landing-fiveteen .swiper-pagination {
border: 2px solid <?= $color; ?>20;
}
.landing-fourteen .swiper-pagination {
border: 2px solid <?= $color; ?>11;
}
.best-seller-products .section-heading-link::after, .category-products-four .section-heading-link::after {
border: 2px solid <?= $color; ?>;
}
.article-eight .content::before {
border: 3px solid <?= $color; ?>;
}
.megamenu-two-tabs-item::after {
color: <?= $color; ?>;
}
.megamenu-tabs span:hover, .megamenu-tabs span:hover::after, .megamenu-tabs span.active, .megamenu-tabs
span.active::after {
color: <?= $color; ?>;
}
.megamenu-tab-contents-item .right ul li.offer {
color: <?= $color; ?>;
}
#comments .rate-comment .rate-box-count i {
color: <?= $color; ?>;
}
.best-selling-fiveteen .section-heading-sub-title, .best-selling-fiveteen .section-heading-title {
color: <?= $color; ?>;
}
.new-products-fourteen .section-heading-title {
color: <?= $color; ?>;
}
.products-category-two .section-heading-title {
color: <?= $color; ?>;
}
.best-seller-products .section-heading-link, .category-products-four .section-heading-link {
color: <?= $color; ?>;
}
.footer-four .titr b {
color: <?= $color; ?>;
}
.footer-name-shop {
color: <?= $color; ?>;
}
.about-us-home-five .content h2 {
color: <?= $color; ?>;
}
.top-products-tabs .nav-item .nav-link.active, .top-products-tabs .nav-item .nav-link:hover {
-webkit-box-shadow: 0 10px 25px <?= $color; ?>25;
-moz-box-shadow: 0 10px 25px <?= $color; ?>25;
box-shadow: 0 10px 25px <?= $color; ?>25;
}
.auth__page__btn__success {
background-color: <?= $color; ?>;
}
.auth__page__btn__success:hover {
background-color: <?= $hovercolor; ?>;
}
.article-seven .content .info::before {
border: 3px solid <?= $color; ?>;
}
.best-selling-products::before {
background-color: <?= $color; ?>;
}
.landing-sixteen .swiper-pagination {
background-color: <?= $color; ?>;
}
.amazing-offer-fiveteen-item .detail .content .offer {
background-color: <?= $color; ?>;
}
.category-products-fiveteen-item .cat2st6 {
background-color: <?= $color; ?>10;
}
.amazing-offer-fourteen-item .detail .price .offer {
background-color: <?= $color; ?>;
}
.btn-danger-3 {
background-color: <?= $color; ?>;
}
.landing-eight-item .btn {
-webkit-box-shadow: 0 3px 35px <?= $color; ?>10;
-moz-box-shadow: 0 3px 35px <?= $color; ?>10;
box-shadow: 0 3px 35px <?= $color; ?>10;
}
.amazing-offer-seven-item .btns .btn-danger-3 {
-webkit-box-shadow: 0 3px 35px <?= $color; ?>50;
-moz-box-shadow: 0 3px 35px <?= $color; ?>50;
box-shadow: 0 3px 35px <?= $color; ?>50;
}
.btn-danger-3 {
background-color: <?= $color; ?>;
}
.ready-cases-item.active::before {
background-image: -webkit-gradient(linear, left top, left bottom, from(<?= $color; ?>), color-stop(rgba(29, 30,
57, 0.22)), to(rgba(33, 35, 65, 0)));
background-image: -webkit-linear-gradient(top, <?= $color; ?>, rgba(29, 30, 57, 0.22), rgba(33, 35, 65, 0));
background-image: -moz-linear-gradient(top, <?= $color; ?>, rgba(29, 30, 57, 0.22), rgba(33, 35, 65, 0));
background-image: -o-linear-gradient(top, <?= $color; ?>, rgba(29, 30, 57, 0.22), rgba(33, 35, 65, 0));
background-image: linear-gradient(to bottom, <?= $color; ?>, rgba(29, 30, 57, 0.22), rgba(33, 35, 65, 0));
}
.btn-purple {
background-color: <?= $color; ?>;
-webkit-box-shadow: 0 10px 25px <?= $color; ?>25;
-moz-box-shadow: 0 10px 25px <?= $color; ?>25;
box-shadow: 0 10px 25px <?= $color; ?>25;
}
.category-slider-banner .category ul li a::before {
background-color: <?= $color; ?>;
}
.amazing-offer-six-item .detail .offer {
background-color: <?= $color; ?>;
}
.product-five:hover, .product-five:hover .content .product-hover {
background-color: <?= $color; ?>;
}
.amazing-offer-nine .amazing-offer-seven-item {
background: -webkit-linear-gradient(225deg, <?= $color; ?>, rgba(7, 7, 13, 0) 66%);
background: -moz-linear-gradient(225deg, <?= $color; ?>, rgba(7, 7, 13, 0) 66%);
background: -o-linear-gradient(225deg, <?= $color; ?>, rgba(7, 7, 13, 0) 66%);
background: linear-gradient(-135deg, <?= $color; ?>, rgba(7, 7, 13, 0) 66%);
}
.amazing-offer-nine .amazing-offer-seven-item::after {
background-image: -webkit-linear-gradient(315deg, <?= $color; ?>, rgba(18, 19, 32, 0) 65%);
background-image: -moz-linear-gradient(315deg, <?= $color; ?>, rgba(18, 19, 32, 0) 65%);
background-image: -o-linear-gradient(315deg, <?= $color; ?>, rgba(18, 19, 32, 0) 65%);
background-image: linear-gradient(135deg, <?= $color; ?>, rgba(18, 19, 32, 0) 65%);
}
.amazing-offer-nine .amazing-offer-seven-item .content ul li::before {
background-color: <?= $color; ?>;
}
.row .sale-ready-cases-item:hover::before {
background-image: -webkit-gradient(linear, left top, left bottom, from(<?= $color; ?>),
color-stop(<?= $color; ?>), color-stop(90%, rgba(33, 35, 65, 0)));
background-image: -webkit-linear-gradient(top, <?= $color; ?>, <?= $color; ?>, rgba(33, 35, 65, 0) 90%);
background-image: -moz-linear-gradient(top, <?= $color; ?>, <?= $color; ?>, rgba(33, 35, 65, 0) 90%);
background-image: -o-linear-gradient(top, <?= $color; ?>, <?= $color; ?>, rgba(33, 35, 65, 0) 90%);
background-image: linear-gradient(to bottom, <?= $color; ?>, <?= $color; ?>, rgba(33, 35, 65, 0) 90%);
}
.amazing-offer-two-item .detail .offer span {
background-color: <?= $color; ?>;
}
.article-two h2::before {
border: 3px solid <?= $color; ?>;
}
.elementor-element-61c9045 .section-heading-two::after {
background-image: -webkit-linear-gradient(right, <?= $color; ?>20, #fff) !important;
background-image: -moz-linear-gradient(right, <?= $color; ?>20, #fff) !important;
background-image: -o-linear-gradient(right, <?= $color; ?>20, #fff) !important;
background-image: linear-gradient(to left, <?= $color; ?>20, #fff) !important;
}
.about-us-home-five .content {
padding: 0 65px 49px 0;
background-image: -webkit-linear-gradient(315deg, #fff 55%, <?= $color; ?>20);
background-image: -moz-linear-gradient(315deg, #fff 55%, <?= $color; ?>20);
background-image: -o-linear-gradient(315deg, #fff 55%, <?= $color; ?>20);
background-image: linear-gradient(135deg, #fff 55%, <?= $color; ?>20);
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
}
.about-us-landing .title span {
color: <?= $color; ?>;
}
.about-us-description-content .heading::before {
background-color: <?= $color; ?>;
}
.about-us-statistics-item .count {
color: <?= $color; ?>;
}
.contact-us-image::before {
content: "";
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(238, 39, 58, 0)),
to(<?= $color; ?>));
background-image: linear-gradient(to bottom, rgba(238, 39, 58, 0), <?= $color; ?>);
}
.contact-us .info-contact-item .image {
background-color: <?= $color; ?>10;
}
.about-us-home-three-wrapper .content::after {
background-image: -webkit-linear-gradient(right, #fff, <?= $color; ?>);
background-image: -moz-linear-gradient(right, #fff, <?= $color; ?>);
background-image: -o-linear-gradient(right, #fff, <?= $color; ?>);
background-image: linear-gradient(to left, #fff, <?= $color; ?>);
}
.about-us-home-three-wrapper .content h3 {
color: <?= $color; ?>;
}
.new-article .heading .title mark {
background-color: <?= $color; ?>40;
}
.amazing-offer-sixteen-item .detail .offer > div del {
background-color: <?= $color; ?>;
}
.nav-header-cart > .btn {
-webkit-box-shadow: 0 10px 15px <?= $color; ?>25;
-moz-box-shadow: 0 10px 15px <?= $color; ?>25;
box-shadow: 0 10px 15px <?= $color; ?>25;
}
.btn-danger-3:hover, .btn-danger-3:focus, .btn-danger-3:active{
background-color: <?= $color; ?>;
}
.row .ready-cases-item:hover::before {
background-image: -webkit-gradient(linear, left top, left bottom, from(<?= $color; ?>), color-stop(rgba(29, 30,
57, 0.22)), to(rgba(33, 35, 65, 0)));
background-image: -webkit-linear-gradient(top, <?= $color; ?>, rgba(29, 30, 57, 0.22), rgba(33, 35, 65, 0));
background-image: -moz-linear-gradient(top, <?= $color; ?>, rgba(29, 30, 57, 0.22), rgba(33, 35, 65, 0));
background-image: -o-linear-gradient(top, <?= $color; ?>, rgba(29, 30, 57, 0.22), rgba(33, 35, 65, 0));
background-image: linear-gradient(to bottom, <?= $color; ?>, rgba(29, 30, 57, 0.22), rgba(33, 35, 65, 0));
}
.new-articles-blog .right .title::before {
background-color: <?= $color; ?>;
}
.sale-ready-cases-item.active::before {
background-image: -webkit-gradient(linear, left top, left bottom, from(<?= $color; ?>),
color-stop(<?= $color; ?>), color-stop(90%, rgba(33, 35, 65, 0)));
background-image: -webkit-linear-gradient(top, <?= $color; ?>, <?= $color; ?>, rgba(33, 35, 65, 0) 90%);
background-image: -moz-linear-gradient(top, <?= $color; ?>, <?= $color; ?>, rgba(33, 35, 65, 0) 90%);
background-image: -o-linear-gradient(top, <?= $color; ?>, <?= $color; ?>, rgba(33, 35, 65, 0) 90%);
background-image: linear-gradient(to bottom, <?= $color; ?>, <?= $color; ?>, rgba(33, 35, 65, 0) 90%);
}
.product-image .discount::after {
background-color: <?= $color; ?>;
}
.megamenu-tab-contents-item .right ul li.offer span {
background-color: <?= $color; ?>;
}
.megamenu-product .offer {
background-color: <?= $color; ?>;
}
.footer-contact i {
background-color: <?= $color; ?>;
}
.footer-newsletter .btn {
background-color: <?= $color; ?>;
}
.megamenu-product .btn {
-webkit-box-shadow: 0 6px 30px <?= $color; ?>25;
-moz-box-shadow: 0 6px 30px <?= $color; ?>25;
box-shadow: 0 6px 30px <?= $color; ?>25;
}
.article-three:hover .date span {
background-color: <?= $color; ?>;
}

/* hover ha */
.product .detail h2 a:hover {
color: <?= $hovercolor; ?>;
}
.product h2 a:hover, .product-two h2 a:hover, .product-three h2 a:hover, .product-four h2 a:hover, .product-fiv h2
a:hover, .product-six h2 a:hover, .product-name a:hover {
color: <?= $hovercolor; ?>;
}
.top-category-item:hover i {
background-color: <?= $hovercolor; ?>;
border-color: <?= $hovercolor; ?>;
}
.megamenu-two-content-item ul li a:hover {
color: <?= $hovercolor; ?>;
}
.new-article .heading a:hover {
color: <?= $hovercolor; ?>;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
background-color: <?= $hovercolor; ?>;
}
.product-three:hover {
border-color: <?= $hovercolor; ?>;
}

.proccedk {
position: fixed !important;
bottom: 0;
width: 100%!important;
background: <?= $color; ?>;
z-index: 99!important;
color: #fff;
padding: 14px 0;
border-radius: 0;
}
.top-header-auth-dropdown li a:hover {
color: <?= $hovercolor; ?>;
}
.product-not .detail .icons-offer ul li a:hover {
background-color: <?= $hovercolor; ?>;
border-color: <?= $hovercolor; ?>;
}
.article-four figure h2 a:hover {
color: <?= $hovercolor; ?>;
}
.article-five h2 a:hover {
color: <?= $hovercolor; ?>;
}
.about-us-home-six .content .socials li a:hover {
color: <?= $hovercolor; ?>;
}
.article-six h2 a:hover {
color: <?= $hovercolor; ?>;
}
.category-slider-banner .category ul li a:hover {
color: <?= $hovercolor; ?>;
}
.article-eight .content h2 a:hover {
color: <?= $hovercolor; ?>;
}
.about-us-home-six .content .socials li a:hover {
color: <?= $hovercolor; ?>;
}
.about-us-home-five .content .socials li a:hover {
color: <?= $hovercolor; ?>;
}
#comments .rate-comment .text-login:hover {
color: <?= $hovercolor; ?>;
}
.about-us-home-six .content .socials li a:hover {
color: <?= $hovercolor; ?>;
}
.top-header-auth > a:hover {
background-color: <?= $hovercolor; ?>;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
background-color: <?= $hovercolor; ?>;
}
.btn-outline-dark:hover, .btn-outline-dark:focus, .btn-outline-dark:active {
background-color: <?= $hovercolor; ?>;
}
.article h2 a:hover {
color: <?= $hovercolor; ?>;
}
.footer-four-nav li a:hover {
color: <?= $hovercolor; ?>;
}
.article-three h2 a:hover {
color: <?= $hovercolor; ?>;
}
.product-not .detail .icons-offer ul li a:hover {
background-color: <?= $hovercolor; ?>;
border-color: <?= $hovercolor; ?>;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
background-color: <?= $hovercolor; ?>;
}
.landing-seven .swiper-slide .container .content .link a:hover {
background-color: <?= $hovercolor; ?>;
}
.btn-danger-2:hover, .btn-danger-2:focus, .btn-danger-2:active {
background-color: <?= $hovercolor; ?>;
}
<?php
if ($options['kaveh_login_type'] === 'option-1' || $options['kaveh_login_type'] === 'option-2') {
    ?>
    .auth__page__twelve__tabs{
    display:none !important;
    }
    <?php
}
?>
<?php if ($options['kaveh_footer_mobile_texten'] === '1'): ?>
    .nav-bottom {
    padding: 35px 30px 2px !important;
    }

<?php endif; ?>
<?php if ($options['kaveh_footer_mobile_texten'] === '1' && $options['kaveh_footer_mobile'] === 'value-4'): ?>
    .nav-bottom {
    padding: 12px 30px 12px !important;
    }
    .nav-bottom>a:nth-child(3) {
    display:block!important;
    font-size:13px !important;
    }
<?php endif; ?>
<?php if ($options['kaveh_typoselect'] === 'value-1' || $options['kaveh_typoselect'] === 'value-2' || $options['kaveh_typoselect'] === 'value-4'): ?>
    * * span.woocommerce-Price-currencySymbol {
    font-weight: 700 !important;
    }
    .product-two-detail .offer-price span i {
    font-weight: 700 !important;
    }
    <?php
endif;
if (!isset($options['kloginfields']) || !is_array($options['kloginfields'])) {
    ?>
    .auth__page__form__group #first_name{
    display: none!important;
    }
    .auth__page__form__group #last_name{
    display: none!important;
    }
    .auth__page__form__group #password{
    display: none!important;
    }
    <?php
} else {
    if (!isset($options['kloginfields']['enabled']) || !is_array($options['kloginfields']['enabled'])) {
        ?>
        .auth__page__form__group #first_name{
        display: none!important;
        }
        .auth__page__form__group #last_name{
        display: none!important;
        }
        .auth__page__form__group #password{
        display: none!important;
        }
        <?php
    } else {
        if (!array_key_exists("first_name", $options['kloginfields']['enabled'])) {
            ?>
            .auth__page__form__group #first_name{
            display: none!important;
            }
            <?php
        }
        if (!array_key_exists("last_name", $options['kloginfields']['enabled'])) {
            ?>
            .auth__page__form__group #last_name{
            display: none!important;
            }
            <?php
        }
        if (!array_key_exists("password", $options['kloginfields']['enabled'])) {
            ?>
            .auth__page__form__group #password{
            display: none!important;
            }
            <?php
        }
    }
}

if ($options['search_kaveh_tasavir'] !== '1'): ?>
    #seeebox .container {
    max-width: 800px;
    }

    input.form-control.position-absolute {
    padding-right: 65px;
    }

    @media (max-width: 480px) {
    .container.position-fixed.top-50.start-50.translate-middle {
    z-index: 99999 !important;
    top: 350px !important;
    width: 95% !important;
    }

    .srows {
    height: 360px;
    }
    }

<?php endif; ?>
<?php if(wp_is_mobile(  ) && $options['kaveh_pr_single_select']=='value-4'): ?>
	.buttonforprtamas {
		position: fixed;
		bottom: 30px;
		right: 4.5%;
		z-index: 15;
		font-size: 10px;
		margin-bottom: 0 !important
	}
<?php endif; ?>
<?php if($options['kaveh_advanced_typo'] === '1'): ?>
    
<?php
/**
 * Typography Output
 * This file handles outputting the CSS for typography settings
 */

// Get typography options
$typography_options = [
    $options['opt-typography-h1']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-h2']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-h3']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-h4']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-h5']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-h6']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-p']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-a']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-li']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-ul']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-button']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-input']['font-family'] ?? 'YekanBakh',
    $options['opt-typography-label']['font-family'] ?? 'YekanBakh',
];

// Get font fallback setting
$font_fallback = $options['typography_fallback'] ?? 'system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif';

// Load built-in fonts first
if (in_array("YekanBakh", $typography_options)) {
    ?>
    @font-face {
    font-family: 'YekanBakh';
    src: url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/yekanbakh/woff/YekanBakhFaNum-VF.woff')
    format('woff-variations'),
    url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/yekanbakh/woff2/YekanBakhFaNum-VF.woff2') format('woff2');
    font-display: swap;
    }
    <?php
}

if (in_array("IRANSansX", $typography_options)) {
    ?>
    @font-face {
    font-family: 'IRANSansX';
    src: url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/iransans/IRANSansXV.woff') format('woff-variations'),
    url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/iransans/IRANSansXV.woff2') format('woff2');
    font-display: swap;
    }
    body, h1, h2, h3, h4, h5, h6, input, textarea, a, ul, li, button, form, p, label, .quantity .input-text.qty.text {
    -moz-font-feature-settings: "ss04";
    -webkit-font-feature-settings: "ss04";
    font-feature-settings: "ss04";
    }
    body {
    font-variation-settings: "DOTS" 1;
    }
    h1, h2, h3, h4, h5, h6 {
    font-variation-settings: "DOTS" 3 !important;
    }
    <?php
}

if (in_array("IRANYekanX", $typography_options)) {
    ?>
    @font-face {
    font-family: 'IRANYekanX';
    src: url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/iranyekan/IRANYekanXVF.woff') format('woff-variations'),
    url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/iranyekan/IRANYekanXVF.woff2') format('woff2');
    font-display: swap;
    }
    body, h1, h2, h3, h4, h5, h6, input, textarea, a, ul, li, button, form, p, label {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
    }
    h1, h2, h3, h4, h5, h6 {
    font-variation-settings: "dots" 2 !important;
    }
    <?php
}

if (in_array("Morabba", $typography_options)) {
    ?>
    @font-face {
    font-family: 'Morabba';
    src: url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/moraba/MorabbaVF.woff') format('woff-variations'),
    url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/moraba/MorabbaVF.woff2') format('woff2');
    font-display: swap;
    }
    body, h1, h2, h3, h4, h5, h6, input, textarea, a, ul, li, button, form, p, label, .quantity .input-text.qty.text {
    -moz-font-feature-settings: "ss01";
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
    }
    body {
    font-variation-settings: "DOTS" 1;
    font-size: 15px;
    }
    h1, h2, h3, h4, h5, h6 {
    font-variation-settings: "DOTS" 3 !important;
    }
    <?php
}

if (in_array("Dana", $typography_options)) {
    ?>
    @font-face {
    font-family: 'Dana';
    src: url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/dana/DanaVF.woff') format('woff-variations'),
    url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/dana/DanaVF.woff2') format('woff2');
    font-display: swap;
    }
    body, h1, h2, h3, h4, h5, h6, .quantity .input-text.qty.text {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
    }
    <?php
}

if (in_array("Abr", $typography_options)) {
    ?>
    @font-face {
    font-family: 'Abr';
    src: url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/abr/AbarFaNum-VF.woff') format('woff-variations'),
    url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/abr/AbarFaNum-VF.woff2') format('woff2');
    font-display: swap;
    }
    <?php
}

if (in_array("Doran", $typography_options)) {
    ?>
    @font-face {
    font-family: 'Doran';
    src: url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/doran/Doran-VF.woff') format('woff-variations'),
    url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/doran/Doran-VF.woff2') format('woff2');
    font-display: swap;
    }
    body, h1, h2, h3, h4, h5, h6, .quantity .input-text.qty.text {
    -moz-font-feature-settings: "ss01";
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
    }
    <?php
}

if (in_array("Anjoman", $typography_options)) {
    ?>
    @font-face {
    font-family: 'Anjoman';
    src: url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/anjoman/AnjomanMaxVF.woff') format('woff-variations'),
    url('<?= KAVEH_TEMPLATE_URI; ?>/assets/fonts/anjoman/AnjomanMaxVF.woff2') format('woff2');
    font-display: swap;
    }
    body, h1, h2, h3, h4, h5, h6, .quantity .input-text.qty.text {
    -moz-font-feature-settings: "ss05", "ss04", "ss01", "ss03";
    -webkit-font-feature-settings: "ss05", "ss04", "ss01", "ss03";
    font-feature-settings: "ss05", "ss04", "ss01", "ss03";
    }
    body, h1, h2, h3, h4, h5, h6 {
    font-variation-settings: "wdth" 100, "slnt" 0;
    }
    <?php
}

// Add custom fonts
if (isset($options['custom_font_families']) && is_array($options['custom_font_families'])) {
    foreach ($options['custom_font_families'] as $font_family) {
        // Check if font family has a name and weights
        if (
            !empty($font_family['font_family_name']) &&
            isset($font_family['font_weights']) &&
            is_array($font_family['font_weights'])
        ) {
            $font_family_name = esc_attr($font_family['font_family_name']);
            $font_display = !empty($font_family['font_display']) ? esc_attr($font_family['font_display']) : 'swap';

            // Only output the font family if it's actually used
            if (in_array($font_family_name, $typography_options)) {
                // Loop through each weight in this font family
                foreach ($font_family['font_weights'] as $weight_data) {
                    // Verify that weight has font files
                    if (
                        !empty($weight_data['weight']) &&
                        (!empty($weight_data['woff']) || !empty($weight_data['woff2']))
                    ) {
                        $font_weight = esc_attr($weight_data['weight']);
                        $font_style = !empty($weight_data['style']) ? esc_attr($weight_data['style']) : 'normal';

                        ?>
                        @font-face {
                        font-family: '<?= $font_family_name; ?>';
                        <?php if (!empty($weight_data['woff2'])): ?>
                            src: url('<?= esc_url($weight_data['woff2']); ?>') format('woff2')
                            <?php if (!empty($weight_data['woff'])): ?>
                                , url('<?= esc_url($weight_data['woff']); ?>') format('woff')
                            <?php endif; ?>;
                        <?php elseif (!empty($weight_data['woff'])): ?>
                            src: url('<?= esc_url($weight_data['woff']); ?>') format('woff');
                        <?php endif; ?>
                        font-weight: <?= $font_weight; ?>;
                        font-style: <?= $font_style; ?>;
                        font-display: <?= $font_display; ?>;
                        }
                        <?php
                    }
                }
            }
        }
    }
}

// CSS Output for typography settings with fallbacks
?>
h1{
<?php
foreach (($options['opt-typography-h1'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h1 a{
<?php
foreach (($options['opt-typography-h1'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h2{
<?php
foreach (($options['opt-typography-h2'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h2 a{
<?php
foreach (($options['opt-typography-h2'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h3{
<?php
foreach (($options['opt-typography-h3'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h3 a{
<?php
foreach (($options['opt-typography-h3'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h4{
<?php
foreach (($options['opt-typography-h4'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h4 a{
<?php
foreach (($options['opt-typography-h4'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h5{
<?php
foreach (($options['opt-typography-h5'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h5 a{
<?php
foreach (($options['opt-typography-h5'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h6{
<?php
foreach (($options['opt-typography-h6'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
h6 a{
<?php
foreach (($options['opt-typography-h6'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
p{
<?php
foreach (($options['opt-typography-p'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}

/* Form elements styles */
button, input[type="submit"], input[type="button"], .button {
<?php
foreach (($options['opt-typography-button'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}

label {
<?php
foreach (($options['opt-typography-label'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}

input, textarea, select, form {
<?php
foreach (($options['opt-typography-input'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}

/* Legacy support - will apply if specific settings aren't available */
div, .price span {
    font-family: <?php 
        if (!empty($options['opt-typography-p']['font-family'])) {
            echo esc_attr($options['opt-typography-p']['font-family']) . ", " . $font_fallback;
        } else {
            echo "YekanBakh, " . $font_fallback;
        }
    ?>;
}

a,btn{
<?php
foreach (($options['opt-typography-a'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
li{
<?php
foreach (($options['opt-typography-li'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
ul{
<?php
foreach (($options['opt-typography-ul'] ?? []) as $attr => $value) {
    if ($attr !== 'type' && $attr !== 'unit') {
        if (!empty($value)) {
            echo $attr . ":" . $value;
            if ($attr === 'font-size' || $attr === 'line-height' || $attr === 'letter-spacing') {
                echo "px";
            } elseif ($attr === 'font-family') {
                // Add fallback
                echo ", " . $font_fallback;
            }
            echo ";\n    ";
        }
    }
}
?>
}
<?php endif; ?>