/*
 Theme Name:   Domain Seller Child
 Template:     twentytwentyfive
 Version:      1.1.0
*/

@font-face {
    font-family: 'Shabnam';
    src: url('fonts/Shabnam.woff2') format('woff2'), url('fonts/Shabnam.woff') format('woff');
    font-weight: normal; font-style: normal;
}

/* Base Setup */
html, body {
    height: 100%;
    margin: 0;
}

body { 
    font-family: 'Shabnam', tahoma, sans-serif !important; 
    direction: rtl;
    display: flex;
    flex-direction: column;
    background: #fdfdfd;
}

h1, h2, h3, p, a, input, button, textarea { 
    font-family: 'Shabnam', tahoma, sans-serif !important; 
	font-weight: bold;
}

/* Layout */
.main-content { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 40px 20px; 
    flex: 1 0 auto; /* Push footer to bottom */
    width: 100%;
    box-sizing: border-box;
}

.site-header { padding: 20px 0; border-bottom: 1px solid #eee; text-align: center; background: #fff; }
.site-logo img { max-width: 150px; margin: 0 auto 10px; display: block; }
.site-title-link { text-decoration: none; color: #333; font-weight: bold; font-size: 20px; }

/* Grid System - Fixed for Homepage */
.domain-grid { 
    display: grid !important; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; 
    gap: 25px; 
    margin-top: 30px; 
}

/* Card Style - Used in Home & Single */
.domain-card { 
    background: #fff; 
    border: 1px solid #eaeaea; 
    border-radius: 12px; 
    padding: 30px; 
    text-align: center; 
    transition: 0.2s; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.02); 
    position: relative; 
}

.domain-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

/* Card specific for Single Page */
.single-card {
    max-width: 800px;
    margin: 0 auto;
}

.single-card h1 {
    margin-top: 0;
    padding-bottom: 5px;
    margin-bottom: 20px;
}
.single-card h4 {
    margin-top: 0;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Elements */
.domain-da { font-size: 13px; color: #666; background: #f9f9f9; padding: 5px 12px; border-radius: 20px; border: 1px dashed #ddd; margin: 15px 0; display: inline-block; }
.price-tag { font-weight: bold; color: #27ae60; font-size: 20px; margin-bottom: 20px; }
.details-link { display: inline-block; background: #007cba; color: #fff; padding: 10px 25px; border-radius: 6px; text-decoration: none; font-size: 14px; }

/* Stats & Form */
.stats-row { display: flex; justify-content: center; gap: 40px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f5f5f5; }
.styled-form input, .styled-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 6px; }
.form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.submit-btn { width: 100%; background: #007cba; color: #fff; padding: 15px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }

/* Footer - Black & Sticky */
.site-footer {
    flex-shrink: 0;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 25px 0;
    text-align: center;
    width: 100%;
    font-size: 13px;
}

.site-footer p {
    margin: 0;
    color: #ffffff !important;
}

/* Admin Bar Fix */
#wpadminbar { direction: ltr !important; }

.domain-category-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 10px;
}
.domain-category-label a {
    text-decoration: none;
    color: #ffffff;
	background-color: rgb(179, 179, 179);
	padding: 3px;
}
/* حذف کادرهای اضافی در بخش توضیحات صفحه تکی */
.domain-description {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 20px 0 !important;
    box-shadow: none !important;
}

/* اگر داخل متن از بلاک‌های وردپرس استفاده شده باشد */
.domain-description div, 
.domain-description section,
.domain-description .wp-block-group {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* استایل دهی به متن برای خوانایی بهتر */
.domain-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: center;
}

/* استایل فوتر جدید - نسخه 1.2 */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    width: 100%;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 15px;
}

.footer-contact a {
    color: #007cba; /* رنگ آبی لینک‌ها */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #00a0d2;
}

.footer-copyright {
    font-size: 13px;
    color: #888;
    border-top: 1px solid #222;
    padding-top: 15px;
    display: inline-block;
}