/* =========================================
   ARMAN WELLNESS - HOME PAGE DESIGN
   ========================================= */

/* نوار اطلاعات بالای سایت */
.arman-topbar {
    background: #173D35;
    color: #fff;
    font-size: 13px;
    padding: 10px 0;
}

.arman-topbar-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.arman-topbar a {
    color: #fff;
    text-decoration: none;
}

.arman-topbar a:hover {
    color: #E2C98F;
}

.arman-topbar-info,
.arman-topbar-account {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}


/* هدر و معرفی مرکز */
.site-header {
    background: #F5F0E5;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.arman-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.arman-brand-row .brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #173D35;
}

.arman-brand-row .custom-logo {
    max-width: 100px;
    height: auto;
}

.arman-brand-text h1 {
    color: #173D35;
    font-size: 23px;
    margin: 0 0 8px;
}

.arman-brand-text p {
    color: #777;
    margin: 0;
    font-size: 14px;
}


/* تصویر و متن خوشامدگویی */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    min-height: 350px;
    background: #315B48;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 55px 45px;
    color: #fff;
}

.hero-content h2 {
    font-size: 32px;
    line-height: 1.8;
    color: #fff;
}

.hero-content p {
    font-size: 16px;
    line-height: 2.2;
}

.hero-label {
    color: #E2C98F;
    font-weight: bold;
}

.btn {
    display: inline-block;
    background: #D97732;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: .25s;
}

.btn:hover {
    background: #B85D24;
    color: #fff;
}


/* منوی شش‌گانه */
.arman-section-nav {
    background: #173D35;
    border-radius: 10px;
    margin-top: 18px;
    padding: 12px;
}

.arman-section-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
}

.arman-section-nav li {
    flex: 1;
    text-align: center;
}

.arman-section-nav a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 12px 8px;
    font-size: 14px;
    transition: .2s;
}

.arman-section-nav a:hover {
    color: #E2C98F;
    background: rgba(255,255,255,.08);
    border-radius: 7px;
}


/* سه پنل اصلی صفحه */
.arman-home-panels {
    padding: 35px 20px;
    background: #F5F0E5;
}

.arman-home-panels-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.arman-panel {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(23,61,53,.09);
    min-width: 0;
}

.arman-panel-heading {
    padding: 17px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eee;
}

.arman-panel-heading h2 {
    color: #173D35;
    font-size: 17px;
    margin: 0;
}

.arman-panel-heading a {
    color: #B49A62;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.arman-panel-heading a:hover {
    color: #D97732;
}


/* پنل متخصصان */
.arman-experts-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    padding: 22px 12px;
    min-height: 190px;
}

.arman-expert-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.arman-expert-item a {
    text-decoration: none;
    color: #173D35;
}

.arman-expert-photo {
    width: 76px;
    height: 76px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #E2C98F;
    background: #E7EEE8;
}

.arman-expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arman-no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #173D35;
    font-size: 13px;
}

.arman-expert-item h3 {
    font-size: 13px;
    margin: 5px 0;
    color: #173D35;
}

.arman-expert-item p {
    color: #777;
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}

.arman-expert-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 0 15px;
}

.arman-expert-controls button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #173D35;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.arman-expert-controls button:hover {
    background: #B49A62;
}


/* پنل خدمات */
.arman-service-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #173D35;
}

.arman-service-panel-image {
    min-height: 250px;
    overflow: hidden;
}

.arman-service-panel-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}

.arman-service-image-placeholder {
    min-height: 250px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: #fff;
    background: #315B48;
}

.arman-service-panel-content {
    padding: 25px 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.arman-service-panel-content h2 {
    font-size: 19px;
    line-height: 1.8;
    color: #E2C98F;
    margin: 0 0 12px;
}

.arman-service-panel-text {
    font-size: 13px;
    line-height: 2.2;
    color: #fff;
}

.arman-service-panel-text p {
    margin: 0 0 10px;
}

.arman-service-panel-button {
    align-self: flex-start;
    margin-top: 12px;
}


/* پنل اخبار */
.arman-news-list {
    padding: 10px 15px;
}

.arman-news-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.arman-news-item:last-child {
    border-bottom: 0;
}

.arman-news-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #173D35;
    text-decoration: none;
}

.arman-news-thumb {
    width: 68px;
    height: 60px;
    flex: 0 0 68px;
    border-radius: 7px;
    overflow: hidden;
    background: #E7EEE8;
}

.arman-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arman-news-placeholder {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #173D35;
}

.arman-news-info h3 {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 5px;
}

.arman-news-info time {
    color: #999;
    font-size: 11px;
}

.arman-empty-message {
    padding: 15px;
    color: #777;
    font-size: 13px;
    line-height: 1.9;
}


/* کارت‌های معرفی */
.arman-promo-section {
    padding: 45px 20px;
    background: #fff;
}

.arman-promo-section .container {
    max-width: 1200px;
    margin: auto;
}

.arman-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.arman-promo-card {
    background: #F5F0E5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,.06);
}

.arman-promo-image {
    height: 170px;
    overflow: hidden;
}

.arman-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arman-promo-content {
    padding: 18px;
}

.arman-promo-content h3 {
    color: #173D35;
    font-size: 17px;
}

.arman-promo-content p {
    color: #666;
    font-size: 13px;
    line-height: 2;
}

.arman-promo-content a {
    color: #B49A62;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
}


/* تیتر بخش‌ها */
.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading span {
    color: #B49A62;
    font-size: 13px;
}

.section-heading h2 {
    color: #173D35;
    font-size: 26px;
    margin: 8px 0;
}

.section-heading p {
    color: #777;
    line-height: 2;
}


/* بخش‌های محتوایی */
.section-padding {
    padding: 55px 20px;
}

.section-padding .container {
    max-width: 1200px;
    margin: auto;
}

.about-section,
.assessment-section,
.news-section {
    background: #F5F0E5;
}

.services-section,
.team-section,
.branches-section,
.exercise-section,
.guide-section,
.contact-section {
    background: #fff;
}

.about-content,
.guide-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
    color: #555;
    line-height: 2.2;
}


/* فرم درخواست نوبت */
.booking-section {
    background: #E7EEE8;
}

.arman-booking-form {
    max-width: 800px;
    margin: auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(23,61,53,.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #173D35;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B49A62;
}

.booking-note {
    color: #777;
    font-size: 12px;
    line-height: 1.9;
    margin-top: 15px;
}

.arman-booking-success {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 15px;
    border-radius: 8px;
    background: #E7EEE8;
    color: #173D35;
    text-align: center;
}


/* اطلاعات تماس */
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.contact-item {
    background: #F5F0E5;
    padding: 18px 22px;
    border-radius: 8px;
    color: #173D35;
}

.contact-item a {
    color: #173D35;
    text-decoration: none;
}


/* نمایش موبایل و تبلت */
@media (max-width: 1000px) {

    .arman-home-panels-inner {
        grid-template-columns: 1fr 1fr;
    }

    .arman-service-panel {
        grid-column: 1 / -1;
        order: -1;
    }

    .arman-promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .arman-topbar-inner,
    .arman-brand-row {
        flex-direction: column;
        text-align: center;
    }

    .arman-topbar-info,
    .arman-topbar-account {
        justify-content: center;
    }

    .hero-content {
        padding: 35px 22px;
    }

    .hero-content h2 {
        font-size: 23px;
    }

    .arman-section-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .arman-home-panels-inner {
        grid-template-columns: 1fr;
    }

    .arman-service-panel {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .arman-service-panel-image,
    .arman-service-panel-image img {
        min-height: 190px;
    }

    .arman-promo-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .arman-booking-form {
        padding: 20px;
    }

    .section-heading h2 {
        font-size: 21px;
    }

}
/* =====================================
   HEADER AND NAVIGATION FIX
   ===================================== */

/* عرض استاندارد محتوای سایت */
.container,
.arman-nav-inner,
.arman-brand-inner {
    width: min(1200px, calc(100% - 36px));
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

/* نوار اطلاعات */
.arman-topbar {
    width: 100%;
    background: #173D35;
    color: #fff;
}

.arman-topbar-inner {
    min-height: 42px;
}

.arman-topbar-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.arman-topbar-contact span,
.arman-topbar-contact a {
    color: #fff;
    text-decoration: none;
}

/* ردیف لوگو */
.arman-brand-row {
    background: #F5F0E5;
    padding: 15px 0;
}

.arman-brand-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.arman-brand-row .brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #173D35;
    text-decoration: none;
}

.arman-brand-row .brand small {
    display: block;
    color: #B49A62;
    font-size: 13px;
}

/* تصویر خوشامدگویی */
.arman-hero {
    width: min(1200px, calc(100% - 36px));
    margin: 15px auto;
    min-height: 350px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 12px;
    overflow: hidden;
}

.arman-hero .hero-content {
    width: 100%;
    max-width: 650px;
    margin-right: auto;
    margin-left: 0;
    box-sizing: border-box;
    text-align: right;
}

/* منوی واقعی شش‌گانه */
.arman-section-nav {
    width: min(1200px, calc(100% - 36px));
    margin: 15px auto 25px;
    padding: 8px;
    background: #173D35;
    border-radius: 10px;
    box-sizing: border-box;
}

.arman-nav-inner {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 5px;
}

.arman-nav-item {
    min-height: 75px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.7;
    border-radius: 7px;
    transition: background .2s, color .2s;
}

.arman-nav-icon {
    font-size: 23px;
    line-height: 1;
    color: #E2C98F;
}

.arman-nav-item:hover {
    color: #E2C98F;
    background: rgba(255,255,255,.1);
}

/* اصلاح فاصله بخش‌های صفحه */
main {
    display: block;
    width: 100%;
}

main > section {
    width: 100%;
    box-sizing: border-box;
}

main .section-padding {
    padding: 45px 18px;
}

main .section-padding .container {
    width: min(1200px, 100%);
}

/* کارت‌های محتوایی وردپرس */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    align-items: stretch;
}

.cards .card {
    width: 100%;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.cards .card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.cards .card-body {
    padding: 18px;
}

/* موبایل و تبلت */
@media (max-width: 850px) {
    .arman-nav-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .arman-home-panels-inner {
        grid-template-columns: 1fr 1fr;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .arman-nav-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arman-home-panels-inner,
    .cards {
        grid-template-columns: 1fr;
    }

    .arman-hero {
        min-height: 300px;
    }

    .arman-hero .hero-content {
        padding: 30px 20px;
    }

    .arman-brand-row .brand {
        flex-wrap: wrap;
    }
}/* =====================================
   ARMAN HOME PAGE - LAYOUT REPAIR
   ===================================== */

/* تنظیم کلی راست‌چین */
.site-header,
main {
    direction: rtl;
    text-align: right;
}

main section {
    box-sizing: border-box;
}

/* سه پنل اصلی صفحه */
.arman-home-panels-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: stretch;
    gap: 18px;
}

.arman-panel {
    min-width: 0;
    height: 100%;
}

.arman-panel-heading {
    min-height: 60px;
    box-sizing: border-box;
}

/* پنل متخصصان */
.arman-experts-list {
    align-items: flex-start;
}

.arman-expert-item {
    overflow: hidden;
}

/* پنل خدمات */
.arman-service-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
}

.arman-service-panel-image,
.arman-service-panel-content {
    min-width: 0;
}

/* فرم درخواست نوبت */
.arman-booking-wrapper {
    width: 100%;
}

.arman-booking-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.arman-form-group {
    width: 100%;
    margin: 0;
}

.arman-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #173D35;
    font-size: 14px;
}

.arman-form-group input,
.arman-form-group select,
.arman-form-group textarea {
    display: block;
    width: 100%;
    min-height: 45px;
    padding: 11px 13px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 14px;
}

.arman-form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.arman-booking-form button {
    align-self: flex-start;
    font-family: inherit;
}

/* راهنمای مراجعین */
.arman-guide-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
}

.arman-guide-card {
    padding: 22px;
    background: #F5F0E5;
    border-radius: 10px;
    border: 1px solid #eee5d5;
    box-sizing: border-box;
}

.arman-guide-card h3 {
    color: #173D35;
    font-size: 17px;
}

.arman-guide-card p {
    color: #666;
    line-height: 2;
    font-size: 14px;
}

/* اطلاعات تماس */
.arman-contact-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.arman-contact-item {
    padding: 22px;
    background: #F5F0E5;
    border-radius: 10px;
    overflow-wrap: anywhere;
}

.arman-contact-item h3 {
    color: #173D35;
    font-size: 17px;
}

.arman-contact-item p,
.arman-contact-item a {
    color: #555;
    line-height: 2;
    text-decoration: none;
}

/* تیتر بخش‌ها */
.section-heading h2 {
    line-height: 1.8;
}

.section-heading p {
    max-width: 750px;
    margin: 10px auto 0;
}

/* واکنش‌گرایی */
@media (max-width: 850px) {
    .arman-home-panels-inner {
        grid-template-columns: 1fr 1fr;
    }

    .arman-service-panel {
        grid-column: 1 / -1;
    }

    .arman-guide-content,
    .arman-contact-details {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .arman-home-panels-inner,
    .arman-guide-content,
    .arman-contact-details {
        grid-template-columns: 1fr;
    }

    .arman-service-panel {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .arman-booking-form {
        padding: 20px;
    }

    .arman-nav-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}/* =====================================
   ARMAN FOOTER DESIGN
   ===================================== */

.site-footer {
    display: block;
    width: 100%;
    background: #173D35;
    color: #fff;
    padding: 45px 20px 18px;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    clear: both;
}

.site-footer .container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 35px;
    align-items: start;
    padding-bottom: 30px;
}

.footer-grid > div {
    min-width: 0;
}

.footer-grid h3 {
    color: #E2C98F;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 16px;
}

.footer-grid p {
    color: #F5F0E5;
    font-size: 14px;
    line-height: 2;
    margin: 7px 0;
    overflow-wrap: anywhere;
}

.footer-grid a {
    color: #F5F0E5;
    text-decoration: none;
    transition: color .2s;
}

.footer-grid a:hover {
    color: #E2C98F;
}

.site-footer .copyright {
    border-top: 1px solid rgba(255,255,255,.18);
    padding-top: 18px;
    text-align: center;
    color: #E2C98F;
    font-size: 12px;
    line-height: 2;
}

/* نمایش فوتر در موبایل */
@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .site-footer {
        padding: 32px 18px 15px;
    }

    .footer-grid h3 {
        margin-bottom: 10px;
    }
}/* =====================================
   BOOKING FORM - FINAL VISUAL FIX
   ===================================== */

#booking {
    background: #E7EEE8;
    padding: 65px 20px;
}

#booking .arman-booking-wrapper {
    display: block;
    width: 100%;
    max-width: 850px;
    margin: 30px auto 0;
}

#booking form.arman-booking-form {
    display: block;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 35px;
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(23, 61, 53, 0.10);
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
}

#booking .arman-form-group {
    display: block;
    width: 100%;
    margin: 0 0 22px;
}

#booking .arman-form-group label {
    display: block;
    margin-bottom: 9px;
    color: #173D35;
    font-size: 14px;
    font-weight: 600;
}

#booking .arman-form-group input,
#booking .arman-form-group select,
#booking .arman-form-group textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    background: #FAFAF8 !important;
    border: 1px solid #D8DED9 !important;
    border-radius: 8px;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

#booking .arman-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

#booking .arman-form-group input:focus,
#booking .arman-form-group select:focus,
#booking .arman-form-group textarea:focus {
    border-color: #B49A62 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(180,154,98,.12);
}

#booking .arman-booking-form button {
    display: inline-block;
    min-width: 190px;
    padding: 13px 25px;
    background: #D97732;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
}

#booking .arman-booking-form button:hover {
    background: #B85D24;
}

@media (max-width: 600px) {
    #booking {
        padding: 40px 15px;
    }

    #booking form.arman-booking-form {
        padding: 22px 16px;
    }
}
/* =====================================
   اصلاح نهایی هدر و منوی اصلی آرمان
===================================== */

.site-header {
    display: block !important;
    width: 100%;
    direction: rtl;
    position: relative;
}

/* نوار اطلاعات بالای سایت */
.site-header .arman-topbar {
    display: block !important;
    width: 100%;
    min-height: 43px;
    background: #173D35 !important;
    color: #fff !important;
    padding: 9px 15px;
}

.arman-topbar-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.arman-topbar-contact,
.arman-topbar-account {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.arman-topbar-contact span,
.arman-topbar-contact a,
.arman-topbar-account a {
    color: #fff !important;
    font-size: 12px;
    line-height: 1.8;
    text-decoration: none !important;
}

.arman-topbar-contact a:hover,
.arman-topbar-account a:hover {
    color: #E2C98F !important;
}

/* ردیف برند */
.arman-brand-row {
    display: block !important;
    width: 100%;
    background: #F5F0E5;
}

.arman-brand-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    min-height: 85px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 15px;
}

.arman-brand-inner .brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #173D35;
    text-decoration: none;
    font-weight: 800;
}

.arman-brand-inner .brand small {
    display: block;
    color: #8A754A;
    font-size: 12px;
    font-weight: 400;
}

.arman-brand-inner .custom-logo {
    max-width: 85px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* منوی شش‌گانه */
.site-header .arman-section-nav {
    display: block !important;
    width: 100%;
    background: #fff !important;
    border-top: 1px solid #e9e2d3;
    border-bottom: 1px solid #e9e2d3;
    padding: 10px 12px;
    position: relative;
    z-index: 10;
}

.arman-section-nav .arman-nav-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.arman-section-nav .arman-nav-item {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 72px;
    padding: 9px 5px;
    border-radius: 11px;
    background: #F8F6F0;
    color: #173D35 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    text-decoration: none !important;
    transition: .2s ease;
}

.arman-section-nav .arman-nav-item:hover {
    background: #173D35;
    color: #fff !important;
}

.arman-nav-icon {
    display: block;
    color: #B49A62;
    font-size: 21px;
    line-height: 1;
}

/* =====================================
   اصلاح فوتر سه ستونه
===================================== */

.site-footer {
    display: block !important;
    width: 100% !important;
    clear: both;
    background: #173D35 !important;
    color: #F5F0E5 !important;
    direction: rtl;
    text-align: right;
    padding: 45px 20px 18px !important;
    margin-top: 35px;
    box-sizing: border-box;
}

.site-footer .container {
    width: min(1200px, 100%) !important;
    max-width: 1200px;
    margin: 0 auto !important;
}

.site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr 1.2fr !important;
    gap: 35px !important;
    align-items: start;
    padding-bottom: 28px;
}

.site-footer .footer-grid > div {
    display: block;
    min-width: 0;
    padding: 0 5px;
}

.site-footer .footer-grid h3 {
    color: #E2C98F !important;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.9;
    margin: 0 0 15px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(226,201,143,.35);
}

.site-footer .footer-grid p {
    color: #F5F0E5 !important;
    font-size: 13px;
    line-height: 2.2;
    margin: 7px 0;
    overflow-wrap: anywhere;
}

.site-footer .footer-grid a {
    color: #F5F0E5 !important;
    text-decoration: none !important;
    transition: color .2s ease;
}

.site-footer .footer-grid a:hover {
    color: #E2C98F !important;
}

.site-footer .copyright {
    display: block;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 17px;
    text-align: center;
    color: #E2C98F !important;
    font-size: 12px;
    line-height: 2;
}

/* نمایش مناسب در موبایل */
@media (max-width: 800px) {
    .arman-section-nav .arman-nav-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }
}

@media (max-width: 520px) {
    .arman-topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .arman-topbar-contact,
    .arman-topbar-account {
        justify-content: center;
    }

    .arman-section-nav .arman-nav-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .site-footer {
        padding: 30px 17px 15px !important;
    }
}

/* =========================================
   ARMAN WELLNESS - MOBILE & SCROLL HOTFIX
   ========================================= */

html {
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh !important;
    height: auto !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
}

#page,
.site,
.site-content,
.site-main,
main,
#content {
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    overflow: visible !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
}

@media (max-width: 600px) {

    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .container,
    .header-inner,
    .arman-brand-inner,
    .arman-topbar-inner,
    .arman-section-nav,
    .arman-home-panels-inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    .arman-section-nav {
        padding: 8px !important;
    }

    .arman-section-nav .arman-nav-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .arman-nav-item {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 12px !important;
    }

    .hero,
    .arman-hero {
        width: calc(100% - 20px) !important;
        min-height: 260px !important;
        margin: 10px auto !important;
    }

    .arman-home-panels-inner,
    .arman-promo-grid,
    .cards,
    .arman-guide-content,
    .arman-contact-details {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .arman-service-panel {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .section-padding {
        padding: 30px 14px !important;
    }

    .arman-booking-form {
        width: 100% !important;
        padding: 18px 14px !important;
    }
}
