/*
Theme Name: Astra Child
Theme URI:  https://example.com/astra-child
Description: قالب فرزند Astra برای شخصی‌سازی سایت
Author:     Your Name
Author URI: https://example.com
Template:   astra
Version:    1.0.0
Text Domain: astra-child
*/

/* اینجا CSS های دلخواه خودت رو اضافه میکنی */
/* ==================================================
   Astra Child - Vazirmatn Luxury Typography
   Author: Donya
   Compatible: Astra + WooCommerce + Elementor
================================================== */

/* ---------- Load Local Fonts ---------- */
@font-face {
    font-family: 'Vazirmatn';
   src: url('http://localhost/kapitan/wp-content/uploads/2025/12/Vazirmatn-Regular.woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
   src: url('http://localhost/kapitan/wp-content/uploads/2025/12/Vazirmatn-Bold.woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* ==================================================
   GLOBAL TYPOGRAPHY
================================================== */
html, body {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.3px;
    color: #333;
}

body *, .elementor *, .woocommerce *, .ast-theme-transparent-header * {
    font-family: inherit;
}

/* ==================================================
   HEADINGS
================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 1em;
    color: #222;
}

/* WooCommerce Product Titles */
.woocommerce-loop-product__title,
.woocommerce div.product .product_title {
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.3;
    text-transform: capitalize;
}

/* WooCommerce Product Short Description */
.woocommerce-product-details__short-description,
.woocommerce-Tabs-panel p {
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* ==================================================
   BUTTONS
================================================== */
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.ast-button,
.button {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==================================================
   MENU & HEADER
================================================== */
.main-navigation a,
.main-header-menu a,
.site-title,
.ast-site-identity {
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
}

/* ==================================================
   LINKS & SMALL TEXT
================================================== */
a,
small {
    letter-spacing: 0.5px;
    line-height: 1.5;
}

/* ==================================================
   FOOTER
================================================== */
.site-footer {
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* ==================================================
   MOBILE OPTIMIZATION
================================================== */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: 0.2px;
    }

    h1 { font-size: 22px; letter-spacing: 0.5px; line-height: 1.3; }
    h2 { font-size: 20px; letter-spacing: 0.5px; line-height: 1.3; }
    h3 { font-size: 18px; letter-spacing: 0.4px; line-height: 1.3; }

    button,
    input[type="submit"],
    .woocommerce a.button {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
}

/* ====== Hero Slider - Typography ====== */

.home-hero {
    text-align: center;
}

.home-hero .elementor-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* تیتر اسلاید */
.home-hero .elementor-slide-heading {
    font-family: "Vazirmatn", sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
    text-decoration: none !important;
}

/* متن توضیح اسلاید */
.home-hero .elementor-slide-description {
    font-family: "Vazirmatn", sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: #ffffff;
    text-align: center;
    text-decoration: none !important;
}
.home-hero .elementor-button {
    background: #ffffff !important;
    color: #480909 !important;
    border: 1px solid #480909 !important;
    border-style: solid !important;
    border-radius: 12px;
}
.home-hero .elementor-button:hover {
    background: #480909 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
/* ====== Tablet ====== */
@media (max-width: 1024px) {

    .home-hero .elementor-slide-heading {
        font-size: 30px;
    }

    .home-hero .elementor-slide-description {
        font-size: 15px;
    }

    .home-hero .elementor-button {
        font-size: 14px;
        padding: 10px 24px;
    }
}

/* ====== Mobile ====== */
@media (max-width: 767px) {

    .home-hero {
        padding: 20px;
    }

    .home-hero .elementor-slide-heading {
        font-size: 16px;
        line-height: 1.3;
    }

    .home-hero .elementor-slide-description {
        font-size: 12px;
        line-height: 1.5;
    }

    .home-hero .elementor-button {
        font-size: 12px;
        padding: 8px 18px;
    }
}
/* کارت محصول */
.product-card {
    padding: 12px;
    border-radius: 10px;
    background: #2E2D36;
}

/* تصویر مربعی */
.product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* فونت عنوان برگه ها */

/* =====================================
   Titles (Pages + WooCommerce Categories)
===================================== */

.entry-title,
.woocommerce-products-header__title,
.ast-archive-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .entry-title,
    .woocommerce-products-header__title,
    .ast-archive-title {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}
/* کوچک کردن عنوان صفحات در موبایل */
@media (max-width: 767px) {

    .entry-title,
    .woocommerce-products-header__title.page-title {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
	}
	/* ======================================
   Loventa - WordPress Menu Font
====================================== */
header .elementor-item.menu-link {
    font-family: 'Vazirmatn', sans-serif !important;
}
/* =========================================
   Loventa - Category Buttons
========================================= */

.category-buttons .elementor-button-text {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #FFFFFF !important;
}
.elementor-widget-button {
    width: 25%;
}

.elementor-widget-button .elementor-button {
    width: 100%;
}

@media (max-width: 1024px) {
    .elementor-widget-button .elementor-button {
        width: 220px;
    }
}

