/*
Theme Name: Biamoz Ultra Light
Theme URI: https://biamoz.org
Author: Mahdamoz
Description: قالب فوق سبک، سریع و مستقل بیاموز - بدون صفحه ساز
Version: 1.0
Text Domain: biamoz-ultra-light
*/

@font-face {
    font-family: 'IRANYekanX';
    src: url('IRANYekanXVF.woff2') format('woff2');
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

html,
body,
button,
input,
select,
textarea {
    font-family: 'IRANYekanX', sans-serif;
}

body {
    margin: 0;
    line-height: 1.6;
	font-variant-numeric: proportional-nums;
    /* این فیچر در فونت‌های استاندارد وب فارسی، همه اعداد انگلیسی را در ظاهر به فارسی تبدیل می‌کند */
    font-feature-settings: "ss03", "locl";
}

.biamoz-main-content {
    max-width: 1280px;
    margin: 10px auto;
    padding: 0 15px;
}
body *,
body *:before,
body *:after {
    font-family: inherit;
}

/* ========================================================
   توضیحات محصول - Biamoz Neo-Brutalism
======================================================== */

.product-description {
    max-width: 1100px;
    margin: 35px auto 50px;
    padding: 30px 35px;
    background: #ffffff;
    border: 3px solid #111827;
    border-radius: 20px;
    box-shadow: 6px 6px 0 #111827;
    direction: rtl;
    text-align: right;
    color: #111827;
    font-size: 15px;
    line-height: 2;
}

/* تیترهای داخل توضیحات */
.product-description h2,
.product-description h3,
.product-description h4 {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 20px;
    padding: 8px 18px;
    background: #fde047;
    border: 3px solid #111827;
    border-radius: 12px;
    box-shadow: 3px 3px 0 #111827;
    color: #111827;
    font-weight: 900;
    line-height: 1.7;
}

/* فاصله پاراگراف‌ها */
.product-description p {
    margin: 0 0 18px;
}

.product-description p:last-child {
    margin-bottom: 0;
}

/* لیست‌ها */
.product-description ul,
.product-description ol {
    margin: 15px 0 20px;
    padding-right: 25px;
}

.product-description li {
    margin-bottom: 8px;
}

/* لینک‌ها */
.product-description a {
    color: #0284c7;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.product-description a:hover {
    color: #16a34a;
}

/* متن پررنگ */
.product-description strong,
.product-description b {
    font-weight: 900;
}

/* تصاویر داخل توضیحات */
.product-description img {
    max-width: 100%;
    height: auto;
    border: 3px solid #111827;
    border-radius: 14px;
    margin: 10px 0;
}

/* جدول‌ها */
.product-description table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    border: 3px solid #111827;
    border-radius: 12px;
    overflow: hidden;
}

.product-description th,
.product-description td {
    padding: 10px 12px;
    border-left: 2px solid #111827;
    border-bottom: 2px solid #111827;
}

.product-description th {
    background: #4ade80;
    font-weight: 900;
}

.product-description tr:last-child td {
    border-bottom: 0;
}

.product-description th:last-child,
.product-description td:last-child {
    border-left: 0;
}

/* نقل قول */
.product-description blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: #e0e7ff;
    border: 3px solid #111827;
    border-right: 8px solid #38bdf8;
    border-radius: 12px;
    font-weight: 700;
}

/* خط جداکننده */
.product-description hr {
    border: 0;
    border-top: 3px dashed #111827;
    margin: 25px 0;
}

/* موبایل */
@media (max-width: 768px) {

    .product-description {
        margin: 25px 10px 40px;
        padding: 20px 16px;
        border-width: 2px;
        border-radius: 16px;
        box-shadow: 4px 4px 0 #111827;
        font-size: 14px;
        line-height: 1.9;
    }

    .product-description h2,
    .product-description h3,
    .product-description h4 {
        padding: 7px 13px;
        margin-bottom: 16px;
        border-width: 2px;
        box-shadow: 2px 2px 0 #111827;
        font-size: 16px;
    }

    .product-description ul,
    .product-description ol {
        padding-right: 20px;
    }

    .product-description table {
        font-size: 13px;
    }

    .product-description th,
    .product-description td {
        padding: 8px;
    }
}