/* ============================================
   تهران وان — صفحه تکی اقامتگاه
   ============================================ */

/* ==================== Hidden Fix ==================== */
[hidden] {
    display: none !important;
}

/* ==================== Layout ==================== */

.to-main--property-single {
    padding-bottom: 60px;
    background: var(--to-surface);
}

/* ==================== Gallery ==================== */

.to-psingle__gallery {
    background: var(--to-bg);
    padding: 12px;
}

.to-psingle__gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 8px;
    max-width: 1240px;
    margin: 0 auto;
    border-radius: var(--to-radius-md);
    overflow: hidden;
}

.to-psingle__gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: var(--to-primary-50);
}

.to-psingle__gallery-item:first-child {
    grid-row: span 2;
}

.to-psingle__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.to-psingle__gallery-item:hover img {
    transform: scale(1.05);
}

.to-psingle__gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    pointer-events: none;
}

.to-psingle__gallery-single img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--to-radius-md);
}

.to-psingle__gallery-empty {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--to-primary-100), var(--to-primary-light));
    border-radius: var(--to-radius-md);
    font-size: 80px;
    color: white;
    max-width: 1240px;
    margin: 0 auto;
}

/* ==================== Layout ==================== */

.to-psingle__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding-top: 32px;
    align-items: start;
}

/* ==================== Header ==================== */

.to-psingle__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--to-border);
}

.to-psingle__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--to-text);
    margin: 0 0 10px;
    line-height: 1.5;
}

.to-psingle__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--to-text-muted);
}

.to-psingle__edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--to-primary-50);
    color: var(--to-primary);
    border-radius: var(--to-radius-sm);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.to-psingle__edit-btn:hover {
    background: var(--to-primary);
    color: white;
}

/* ==================== Capacity ==================== */

.to-psingle__capacity {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--to-border);
}

.to-psingle__capacity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--to-text);
}

.to-psingle__capacity-item .icon {
    font-size: 20px;
}

/* ==================== Sections ==================== */

.to-psingle__section {
    margin-bottom: 32px;
}

.to-psingle__section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--to-text);
    margin: 0 0 16px;
}

.to-psingle__content {
    font-size: 16px;
    line-height: 2;
    color: var(--to-text);
}

.to-psingle__content p {
    margin-bottom: 1em;
}

/* ==================== Amenities ==================== */

.to-psingle__amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.to-psingle__amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #FBF9F6;
    border: 1px solid #EAE5DC;
    border-radius: var(--to-radius-sm);
    font-size: 15px;
    color: #111827;
}

.to-psingle__amenity .icon {
    font-size: 20px;
    line-height: 1;
}

/* ==================== Rules ==================== */

.to-psingle__rules {
    background: var(--to-bg);
    padding: 20px;
    border-radius: var(--to-radius-md);
    border-right: 4px solid var(--to-primary);
    font-size: 15px;
    color: var(--to-text);
    line-height: 2;
}

.to-psingle__rules {
    direction: rtl;
    text-align: right;
    white-space: normal;
}

.to-psingle__rules ul {
    display: block;
    margin: 0;
    padding-inline-start: 0;
    list-style: disc inside;
}

.to-psingle__rules li {
    display: block;
    margin-bottom: 6px;
    line-height: 1.9;
    text-align: right;
}

/* ==================== Times ==================== */

.to-psingle__times {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.to-psingle__time-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--to-bg);
    border-radius: var(--to-radius-md);
}

.to-psingle__time-item .icon {
    font-size: 30px;
    line-height: 1;
}

.to-psingle__time-item .label {
    font-size: 13px;
    color: var(--to-text-muted);
    margin-bottom: 4px;
}

.to-psingle__time-item .value {
    font-size: 15px;
    font-weight: 500;
    color: var(--to-text);
}

/* ==================== Map ==================== */

.to-psingle__address {
    font-size: 15px;
    color: var(--to-text-muted);
    margin-bottom: 12px;
    padding: 14px 18px;
    background: var(--to-bg);
    border-radius: var(--to-radius-sm);
    line-height: 1.9;
}

.to-psingle__map-frame {
    width: 100%;
    height: 320px;
    border: none;
    border-radius: var(--to-radius-md);
}
.to-psingle__map {
    position: relative;
}
.to-psingle__map-actions {
    position: absolute;
    inset-inline-end: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.to-psingle__map-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid #D5E0DE;
    color: #0E4D3C;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
    transition: background .15s, border-color .15s;
}
.to-psingle__map-btn:hover {
    background: #E8F2EE;
    border-color: #0E4D3C;
}

/* ============================================
   Booking Widget
   ============================================ */

.to-psingle__sidebar {
    position: sticky;
    top: 100px;
}

/* ==================== کارت میزبان ==================== */
.to-psingle__host {
    margin: 0 0 24px;
    padding: 16px 18px;
    background: #FBF9F6;
    border: 1px solid #EAE5DC;
    border-radius: 16px;
}
.to-psingle__host-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.to-psingle__host-link img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #FFF0F1;
}
.to-psingle__host-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.to-psingle__host-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.to-psingle__host-role {
    font-size: 12.5px;
    color: #6B7280;
}
.to-psingle__host-link:hover .to-psingle__host-name {
    color: #0F5446;
}

/* اسکرول عمودی برای ویجت چسبان در ارتفاع‌های کم */
.to-bwidget {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #C9DED6 transparent;
}
.to-bwidget::-webkit-scrollbar {
    width: 6px;
}
.to-bwidget::-webkit-scrollbar-thumb {
    background: #C9DED6;
    border-radius: 999px;
}

.to-bwidget {
    background: white !important;
    border: 1px solid var(--to-border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(14,77,60,0.08);
}

/* ==================== قیمت ==================== */
.to-bwidget__price {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--to-border);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.to-bwidget__price .amount {
    font-size: 30px;
    font-weight: 800;
    color: var(--to-primary);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.to-bwidget__price .unit {
    font-size: 15px;
    color: var(--to-text-muted);
    font-weight: 500;
}

/* ==================== فرم ==================== */
.to-bwidget__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ==================== تاریخ‌ها ==================== */
.to-bwidget__dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #EFE9E0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.to-bwidget__dates:focus-within {
    border-color: #E2DACD;
    box-shadow: none;
}

.to-bwidget__date-field {
    padding: 14px 18px;
    position: relative;
    transition: background 0.15s;
}

.to-bwidget__date-field:first-child {
    border-left: 1px solid #EFE9E0;
}

.to-bwidget__date-field:focus-within {
    background: transparent;
}

body.single-property .to-bwidget__date-field label {
    display: block;
    font-size: 15px;
    color: var(--to-text-muted);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
}

.to-bwidget__date-field input {
    width: 100%;
    border: none;
    font-family: inherit;
    font-size: 16px;
    color: var(--to-text);
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.to-bwidget__date-field input:focus {
    outline: none;
}

.to-bwidget__date-field input::placeholder {
    color: #948B7D;
    font-weight: 400;
    font-size: 14px;
}

/* ==================== Guest Counter ==================== */
.to-bwidget__guests {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.single-property .to-bwidget__guests > label {
    font-size: 13px;
    color: var(--to-text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.to-guest-counter {
    display: flex;
    align-items: stretch;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: background 0.2s;
    height: 56px;
    width: 100%;
    gap: 6px;
}

.to-guest-counter:focus-within {
    background: #FAFAF8;
    box-shadow: none;
}

.to-guest-counter__btn {
    width: 56px;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--to-primary);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    font-family: inherit;
    line-height: 1;
    padding: 0 0 3px 0;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.to-guest-counter__btn:hover:not(:disabled) {
    background: var(--to-primary-50);
}

.to-guest-counter__btn:active:not(:disabled) {
    background: var(--to-primary-100);
    transform: scale(0.94);
}

.to-guest-counter__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.to-guest-counter__input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    text-align: center;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    color: var(--to-text);
    background: transparent;
    padding: 0 8px;
    -moz-appearance: textfield;
    appearance: textfield;
    height: 100%;
}

.to-guest-counter__input::-webkit-outer-spin-button,
.to-guest-counter__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.to-guest-counter__input:focus {
    outline: none;
}

.to-guest-counter__hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 4px 0;
    font-size: 14px;
    color: #4B5563;
    font-weight: 500;
    line-height: 1.7;
    flex-wrap: wrap;
}

.to-guest-counter__hint-extra {
    color: #7A4A00;
    font-weight: 700;
    background: #FFF7E8;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 13px;
}

/* ==================== Events Badge ==================== */
.to-bwidget__events-badge {
    margin-top: 14px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #FFF7E8 0%, #FEF0D5 100%);
    border-radius: 12px;
    border-right: 3px solid #E8A93B;
    font-size: 13px;
    color: #8B5A00;
    line-height: 1.8;
    font-weight: 600;
    animation: to-fade-in 0.3s ease-out;
}

.to-bwidget__events-badge strong {
    color: #6B4400;
    font-weight: 700;
}

@keyframes to-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== اعلان نوع قیمت (عادی/آخر هفته/تعطیل) ==================== */
.to-bwidget__rate-notice {
    margin-top: 12px;
    padding: 10px 14px;
    background: #EFF6F3;
    border-radius: 10px;
    border-right: 3px solid var(--to-secondary);
    font-size: 12.5px;
    color: #111827;
    line-height: 1.7;
    font-weight: 600;
}

/* ==================== خلاصه قیمت ==================== */
.to-bwidget__summary {
    border-top: 1px dashed #E2DACD;
    padding-top: 18px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.to-bwidget__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #4B5563;
    font-weight: 500;
    gap: 12px;
}

.to-bwidget__summary-row > span:first-child {
    flex: 1;
    min-width: 0;
}

.to-bwidget__summary-row > span:last-child {
    color: #111827;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* مبلغ نظافت — خوانایی کامل */
#to-bwidget-cleaning-row > span:last-child {
    color: #111827;
    font-weight: 700;
}

/* ردیف نفرات اضافه */
#to-bwidget-extra-row > span:first-child {
    color: #8B5A00;
    font-weight: 600;
    font-size: 14px;
}

#to-bwidget-extra-row > span:last-child {
    color: #8B5A00;
    font-weight: 700;
}

/* ردیف مراسم */
#to-bwidget-events-row > span:first-child {
    color: #8B5A00;
    font-weight: 600;
    font-size: 14px;
}

#to-bwidget-events-row > span:last-child {
    color: #8B5A00;
    font-weight: 700;
}

/* جمع کل */
.to-bwidget__summary-total {
    color: var(--to-text);
    font-weight: 700;
    font-size: 18px;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid #E2DACD;
}

.to-bwidget__summary-total > span:first-child {
    font-size: 17px;
    color: var(--to-text);
}

.to-bwidget__summary-total > span:last-child {
    color: var(--to-primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

/* ==================== دکمه رزرو ==================== */
.to-bwidget__submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #0E4D3C 0%, #1A6B54 100%) !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(14,77,60,0.25);
    letter-spacing: 0.3px;
    margin-top: 8px;
    text-shadow: none !important;
}

.to-bwidget__submit * {
    color: #FFFFFF !important;
    text-shadow: none !important;
}

.to-bwidget__submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #1A6B54 0%, #0E4D3C 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14,77,60,0.35);
}

.to-bwidget__submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(14,77,60,0.3);
}

.to-bwidget__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    color: #FFFFFF !important;
}

/* ==================== پیام ==================== */
.to-bwidget__message {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    min-height: 22px;
    font-weight: 500;
}

/* وقتی پیامی وجود ندارد، جای خالی بعد از دکمه رزرو نباید دیده شود */
.to-bwidget__message:empty {
    display: none;
    margin-top: 0;
}

.to-bwidget__message.is-error {
    color: var(--to-danger);
    background: #FDEAEA;
    padding: 12px 16px;
    border-radius: 10px;
}

.to-bwidget__message.is-success {
    color: var(--to-success);
    background: #E8F5EE;
    padding: 12px 16px;
    border-radius: 10px;
}

/* ==================== یادداشت ==================== */
.to-bwidget__note {
    text-align: center;
    font-size: 15px;
    color: var(--to-text-muted);
    margin-top: 14px;
    line-height: 1.9;
    padding: 0 8px;
}

/* ==================== باکس نکته ==================== */
.to-bwidget__extra-info {
    margin-top: 18px;
    padding: 16px 18px;
    background: #FFF7E8;
    border-radius: 12px;
    font-size: 15px;
    color: #8B5A00;
    line-height: 1.9;
    border-right: 3px solid #E8A93B;
    font-weight: 500;
}

.to-bwidget__extra-info strong {
    color: #6B4400;
    font-weight: 700;
}

/* ==================== باکس محدودیت ==================== */
.to-bwidget__limit-info {
    margin-top: 18px;
    padding: 14px 18px;
    background: #F7F9F8;
    border-radius: 12px;
    font-size: 13px;
    color: #6B7671;
    line-height: 1.9;
    border-right: 3px solid #C9DED6;
    font-weight: 500;
}

.to-bwidget__limit-info strong {
    color: #1A1F1D;
    font-weight: 700;
}

/* ==================== Lightbox ==================== */

.to-psingle__lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.to-psingle__lightbox[hidden] {
    display: none;
}

.to-psingle__lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.to-psingle__lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.to-psingle__lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.to-psingle__lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 6px;
}

.to-psingle__lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.to-psingle__lightbox-nav--prev { right: 20px; }
.to-psingle__lightbox-nav--next { left: 20px; }

/* ==================== Responsive ==================== */

@media (max-width: 1024px) {
    .to-psingle__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .to-psingle__sidebar {
        position: static;
    }

    .to-bwidget {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .to-psingle__gallery {
        padding: 0;
    }

    .to-psingle__gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        border-radius: 0;
        gap: 4px;
    }

    .to-psingle__gallery-item {
        height: 240px;
    }

    .to-psingle__gallery-item:first-child {
        grid-row: auto;
        height: 280px;
    }

    .to-psingle__gallery-item:nth-child(n+4) {
        display: none;
    }

    .to-psingle__gallery-item:nth-child(3) {
        position: relative;
    }

    .to-psingle__gallery-item:nth-child(3)::after {
        content: '+ بیشتر';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 16px;
    }

    .to-psingle__title {
        font-size: 22px;
    }

    .to-psingle__header {
        flex-direction: column;
    }

    .to-psingle__capacity {
        gap: 12px;
    }

    .to-psingle__times {
        grid-template-columns: 1fr;
    }

    .to-bwidget {
        padding: 22px;
    }

    .to-psingle__lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .to-bwidget {
        padding: 20px;
        border-radius: 16px;
    }

    .to-bwidget__price .amount {
        font-size: 26px;
    }

    .to-bwidget__date-field {
        padding: 12px 14px;
    }

    .to-bwidget__date-field input {
        font-size: 15px;
    }

    body.single-property .to-bwidget__date-field label {
        font-size: 12px;
    }

    .to-bwidget__summary-total > span:last-child {
        font-size: 20px;
    }

    .to-bwidget__submit {
        padding: 16px;
        font-size: 16px;
    }

    .to-guest-counter {
        height: 52px;
    }

    .to-guest-counter__btn {
        width: 50px;
        font-size: 20px;
    }

    .to-guest-counter__input {
        font-size: 17px;
    }
}

/* ==================== Guest Input Fix ==================== */
.to-guest-counter__input {
    -moz-appearance: textfield;
    appearance: textfield;
}

.to-guest-counter__input:focus {
    outline: none;
}

/* ==================== Price Amount (فارسی) ==================== */
.to-bwidget__price .amount {
    direction: rtl;
    unicode-bidi: plaintext;
}

/* ============================================
   Guest Row (new)
   ============================================ */

.to-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.to-guest-row__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--to-text);
    flex: 1;
    min-width: 0;
}

.to-guest-row__free-badge {
    display: inline-block;
    background: #E8F5EE;
    color: #2E9E5B;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    letter-spacing: 0.2px;
    border: 1px solid #C9E9D5;
    white-space: nowrap;
}

.to-guest-row--infants {
    padding-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--to-border);
    margin-bottom: 12px;
}

/* ============================================
   Guest Counter — Small variant (for infants)
   ============================================ */

.to-guest-counter--sm {
    height: 44px;
    max-width: 160px;
}

.to-guest-counter--sm .to-guest-counter__btn {
    width: 44px;
    font-size: 18px;
}

.to-guest-counter--sm .to-guest-counter__input {
    font-size: 15px;
    min-width: 44px;
}

/* ============================================
   Existing classes — left as-is
   ============================================ */

.to-bwidget__guests {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.single-property .to-bwidget__guests > label {
    font-size: 13px;
    color: var(--to-text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.to-guest-counter {
    display: flex;
    align-items: stretch;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: background 0.2s;
    height: 56px;
    min-width: 160px;
    gap: 6px;
}

.to-guest-counter:focus-within {
    background: #FAFAF8;
    box-shadow: none;
}

.to-guest-counter__btn {
    width: 56px;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--to-primary);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    font-family: inherit;
    line-height: 1;
    padding: 0 0 3px 0;
    flex-shrink: 0;
    outline: none;
}

.to-guest-counter__btn:hover:not(:disabled) {
    background: var(--to-primary-50);
}

.to-guest-counter__btn:active:not(:disabled) {
    background: var(--to-primary-100);
    transform: scale(0.94);
}

.to-guest-counter__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.to-guest-counter__input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    text-align: center;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    color: var(--to-text);
    background: transparent;
    padding: 0 8px;
    appearance: textfield;
    height: 100%;
}

.to-guest-counter__input:focus {
    outline: none;
}

.to-guest-counter__hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 4px 0;
    font-size: 14px;
    color: #4B5563;
    font-weight: 500;
    line-height: 1.7;
    flex-wrap: wrap;
}

.to-guest-counter__hint-extra {
    color: #7A4A00;
    font-weight: 700;
    background: #FFF7E8;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 13px;
}

/* ============================================
   🎯 Widget Notice (اعلان راهنما)
   ============================================ */

.to-bwidget__notice {
    background: #FFF7E8;
    border: 1px solid #F5E6D3;
    border-right: 3px solid #E8A93B;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: #8B5A00;
    line-height: 1.8;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4px;
    animation: to-notice-in 0.3s ease-out;
}

@keyframes to-notice-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   🎯 Guests Grid — دو ستونه
   ============================================ */

.to-guests-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.to-guest-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

body.single-property .to-guest-field__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--to-text-muted);
    line-height: 1.6;
    flex-wrap: wrap;
    min-height: 34px;
    padding-bottom: 2px;
}

.to-guest-field__free-badge {
    display: inline-block;
    background: #E8F5EE;
    color: #2E9E5B;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 99px;
    border: 1px solid #C9E9D5;
    white-space: nowrap;
    line-height: 1.4;
}

/* فیلد کودک: فقط برچسب، بدون شمارنده */
.to-guest-field--infants {
    justify-content: center;
}

/* Counter داخل گرید — فشرده‌تر */
.to-guests-grid .to-guest-counter {
    height: 52px;
    min-width: 0;
    border-width: 1.5px;
    gap: 5px;
}

.to-guests-grid .to-guest-counter__btn {
    width: 44px;
    font-size: 20px;
}

.to-guests-grid .to-guest-counter__input {
    font-size: 16px;
    min-width: 0;
    padding: 0 4px;
}

/* Hint در زیر گرید */
.to-guest-counter__hint {
    padding-top: 10px;
}

/* ============================================
   🎯 دکمه رزرو — دو حالت رنگی
   ============================================ */

/* رزرو آنی: مینیمال/خنثی (بدون گرادیان و سایهٔ سنگین) */
.to-bwidget__submit--instant {
    background: #0E4D3C !important;
    box-shadow: none !important;
    border: 1px solid #0E4D3C !important;
}
.to-bwidget__submit--instant:hover:not(:disabled) {
    background: #1A6B54 !important;
    transform: translateY(-2px);
    box-shadow: none !important;
}

.to-bwidget__submit--request {
    background: linear-gradient(135deg, #F5A623 0%, #E8A93B 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3) !important;
}

.to-bwidget__submit--request:hover:not(:disabled) {
    background: linear-gradient(135deg, #E8A93B 0%, #F5A623 100%) !important;
    box-shadow: 0 12px 32px rgba(245, 166, 35, 0.4) !important;
}

/* ============================================
   🎯 Request Modal — مودال درخواست رزرو
   ============================================ */

.to-request-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: to-modal-in 0.25s ease-out;
}

.to-request-modal[hidden] {
    display: none !important;
}

@keyframes to-modal-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.to-request-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 53, 40, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.to-request-modal__dialog {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: to-modal-dialog-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes to-modal-dialog-in {
    from { transform: translateY(20px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Header */
.to-request-modal__header {
    text-align: center;
    padding: 32px 24px 20px;
    background: linear-gradient(135deg, #E8F5EE 0%, #D4EFE0 100%);
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid #C9E9D5;
}

.to-request-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #2E9E5B;
    color: white;
    border-radius: 50%;
    font-size: 32px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(46, 158, 91, 0.3);
    animation: to-pop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes to-pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.to-request-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: #0E4D3C;
    margin: 0 0 8px;
}

.to-request-modal__subtitle {
    font-size: 14px;
    color: #2E7A55;
    margin: 0;
    line-height: 1.8;
}

/* Body */
.to-request-modal__body {
    padding: 24px;
}

.to-request-modal__code {
    background: #F7F9F8;
    border: 1.5px dashed #C9DED6;
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
    margin-bottom: 20px;
}

.to-request-modal__code .label {
    display: block;
    font-size: 12px;
    color: #6B7671;
    margin-bottom: 6px;
    font-weight: 500;
}

.to-request-modal__code code {
    font-family: var(--to-font);
    font-size: 18px;
    font-weight: 700;
    color: #0E4D3C;
    letter-spacing: 1.5px;
    direction: ltr;
    display: inline-block;
}

/* Host */
.to-request-modal__host {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #F7F9F8;
    border-radius: 12px;
    margin-bottom: 20px;
    border-right: 3px solid #0E4D3C;
}

.to-request-modal__host-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0E4D3C, #1A6B54);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.to-request-modal__host-info {
    flex: 1;
    min-width: 0;
}

.to-request-modal__host-name {
    font-size: 15px;
    font-weight: 700;
    color: #1A1F1D;
    margin-bottom: 2px;
}

.to-request-modal__host-role {
    font-size: 12px;
    color: #6B7671;
}

/* Actions */
.to-request-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.to-request-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}

.to-request-modal__btn--call {
    background: #0E4D3C;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(14, 77, 60, 0.25);
}

.to-request-modal__btn--call:hover {
    background: #1A6B54;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14, 77, 60, 0.35);
}

.to-request-modal__btn--pay {
    background: #FFFFFF;
    color: #F5A623;
    border: 2px solid #F5A623;
}

.to-request-modal__btn--pay:hover {
    background: #FFF7E8;
    color: #E8A93B;
    border-color: #E8A93B;
    transform: translateY(-1px);
}

.to-request-modal__note {
    font-size: 12px;
    color: #6B7671;
    text-align: center;
    line-height: 1.8;
    padding: 12px;
    background: #F7F9F8;
    border-radius: 10px;
}

/* Footer */
.to-request-modal__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px 24px;
    border-top: 1px solid #F0F0F0;
}

.to-request-modal__close {
    padding: 12px;
    background: transparent;
    border: 1.5px solid #E4EAE7;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #6B7671;
    cursor: pointer;
    transition: all 0.2s;
}

.to-request-modal__close:hover {
    border-color: #0E4D3C;
    color: #0E4D3C;
}

.to-request-modal__link {
    text-align: center;
    font-size: 13px;
    color: #0E4D3C;
    text-decoration: none;
    font-weight: 500;
    padding: 8px;
    transition: color 0.2s;
}

.to-request-modal__link:hover {
    color: #1A6B54;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 640px) {
    .to-guests-grid {
        grid-template-columns: 1fr;
    }

    body.single-property .to-guest-field__label {
        min-height: auto;
    }

    .to-request-modal {
        padding: 12px;
    }

    .to-request-modal__dialog {
        border-radius: 16px;
    }

    .to-request-modal__header {
        padding: 24px 20px 16px;
    }

    .to-request-modal__icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .to-request-modal__title {
        font-size: 18px;
    }

    .to-request-modal__body {
        padding: 20px;
    }

    .to-request-modal__footer {
        padding: 14px 20px 20px;
    }
}
/* ============================================
   نوار رزرو چسبان (تبلت و موبایل)
   ============================================ */

.to-bwidget__bar { display: none; }

@media (max-width: 1024px) {

    /* فضای انتهای صفحه تا نوار روی محتوا نیفتد */
    body.single-property { padding-bottom: 150px; }

    .to-bwidget {
        position: fixed;
        inset-inline: 0;
        inset-block-end: 0;
        z-index: 2147483640;
        width: auto;
        max-width: none;
        margin: 0;
        max-height: 88vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 10px 10px calc(12px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px 20px 0 0;
        border-bottom-width: 0;
        box-shadow: 0 -10px 34px rgba(14, 77, 60, 0.16);
    }

    /* --- حالت بسته: یک نوار کوتاه --- */
    .to-bwidget:not(.is-open) {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .to-bwidget:not(.is-open) .to-bwidget__bar { flex: 1 1 0; min-width: 0; }

    .to-bwidget:not(.is-open) .to-bwidget__price {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        border: 0;
        gap: 4px;
        justify-content: flex-end;
    }

    .to-bwidget:not(.is-open) .to-bwidget__price .amount { font-size: 18px; }
    .to-bwidget:not(.is-open) .to-bwidget__price .unit { font-size: 11px; }

    .to-bwidget:not(.is-open) .to-bwidget__form { flex: 1 1 100%; gap: 0; }
    .to-bwidget:not(.is-open) .to-bwidget__submit { width: 100%; }
    .to-bwidget:not(.is-open) .to-bwidget__message:empty { display: none; }
    .to-bwidget:not(.is-open) .to-bwidget__message { flex: 1 1 100%; }

    .to-bwidget:not(.is-open) .to-bwidget__dates,
    .to-bwidget:not(.is-open) .to-guests-grid,
    .to-bwidget:not(.is-open) .to-guest-counter__hint,
    .to-bwidget:not(.is-open) .to-bwidget__events-badge,
    .to-bwidget:not(.is-open) .to-bwidget__summary,
    .to-bwidget:not(.is-open) .to-bwidget__extra-info,
    .to-bwidget:not(.is-open) .to-bwidget__note,
    .to-bwidget:not(.is-open) .to-bwidget__notice { display: none !important; }

    /* --- خود نوار --- */
    .to-bwidget__bar {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .to-bwidget .to-bwidget__bar-toggle {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 44px;
        padding: 8px 12px;
        border: 1px solid var(--to-border, #e5e7eb);
        border-radius: 12px;
        background: var(--to-border-soft, #f3f4f6);
        color: var(--to-text, #1f2937);
        font: inherit;
        font-size: 14px;
        text-align: start;
        cursor: pointer;
    }

    .to-bwidget__bar-summary { font-weight: 600; }

    .to-bwidget__bar-chevron {
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        padding: 2px;
        transform: rotate(-135deg);
        transition: transform .18s;
    }

    .to-bwidget.is-open .to-bwidget__bar-chevron { transform: rotate(45deg); }

    .to-bwidget .to-bwidget__bar-close {
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        border: 1px solid var(--to-border, #e5e7eb);
        border-radius: 50%;
        background: #fff;
        color: var(--to-text-muted, #6b7280);
        font-size: 15px;
        cursor: pointer;
    }

    /* --- حالت باز: شیت --- */
    .to-bwidget.is-open { display: flex; flex-direction: column; }
    .to-bwidget.is-open .to-bwidget__form { gap: 18px; }
}

/* ============================================
   نوار راهنمای داخل صفحه: اسکرول افقی بدون اسکرول‌بار
   ============================================ */
/* سلکتور با body تا بر استایل المنتور (که بعد از این فایل لود می‌شود) غلبه کند */
body.single-property [class*="sw-sticky-nav1"] {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

body.single-property [class*="sw-sticky-nav1"]::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.single-property [class*="sw-sticky-nav1"] > * {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* نشانگر «بیشتر» — با اسکرول کنار می‌رود و در انتها مخفی می‌شود */
body.single-property [class*="sw-sticky-nav1"] .tn-navcue {
    position: sticky;
    inset-inline-end: 0;
    align-self: stretch;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, #ffffff 55%);
    color: #0E4D3C;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

body.single-property [class*="sw-sticky-nav1"] .tn-navcue[hidden] {
    display: none;
}

/* ۱۰۲۵ تا ۱۱۹۹: ستون کنار صفحه باریک است — شمارنده و برچسب‌ها جمع‌وجورتر */
@media (min-width: 1025px) and (max-width: 1199px) {
    .to-guests-grid {
        grid-template-columns: 1.7fr 1fr;
        gap: 8px;
    }

    .to-guests-grid .to-guest-counter__btn {
        width: 36px;
        font-size: 18px;
    }

    body.single-property .to-guest-field__label {
        font-size: 12px;
    }

    .to-bwidget__dates {
        gap: 8px;
    }
}

/* حذف بوردر سراسری ورودی‌ها (input[type=...]) از فیلد شمارنده نفرات */
.to-bwidget .to-guest-counter__input {
    border: 0;
}
.to-psingle__host-rating{margin-top:10px;padding-top:10px;border-top:1px dashed #EAE5DC;display:flex;align-items:center;gap:6px;font-size:13px;color:#6B7280;}
.to-psingle__host-stars{color:#E8A93B;letter-spacing:2px;font-size:15px;}
.to-psingle__host-avg{font-weight:800;color:#0F5446;}
.to-psingle__host-rating.is-empty{color:#9CA3AF;font-size:12.5px;}

/* ==== نشان کردن اقامتگاه (فاز ۹) ==== */
.to-fav-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--to-line,#d5e0de);border-radius:999px;background:#fff;color:#0e4d3c;font-weight:700;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s,color .15s;box-shadow:0 1px 2px rgba(15,23,42,.05);}
.to-fav-btn:hover{background:#f0f7f5;}
.to-fav-btn .to-fav-btn__ico{display:inline-flex;color:#b0bfba;}
.to-fav-btn.is-active{border-color:#e8a93b;background:#fff8ec;color:#8a5a00;}
.to-fav-btn.is-active .to-fav-btn__ico{color:#e8a93b;}
.to-fav-btn .to-fav-btn__ico svg{display:block;}

/* ===== Share bar (Phase 10) ===== */
.to-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;}
.to-share__label{font-size:12px;color:#6B7671;}
.to-share__btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--to-line,#d5e0de);background:#F7FAF9;color:#0E4D3C;border-radius:999px;font-size:12.5px;font-weight:600;cursor:pointer;text-decoration:none;line-height:1;transition:background .15s,border-color .15s;}
.to-share__btn:hover{background:#E8F2EE;border-color:#b9cfc6;}
.to-share__btn svg{flex:none;}
.to-share__copy.is-copied{background:#E6F7F2;border-color:#B9E6D8;color:#0D7A5F;}
.to-share__short{font-family:ui-monospace,Consolas,monospace;font-size:11.5px;color:#6B7671;background:#F0F5F3;border:1px solid var(--to-line,#d5e0de);border-radius:6px;padding:3px 8px;direction:ltr;}

/* ===== سایدبار ملک: نوار کنش (اشتراک/علاقه مندی) ===== */
.to-prop-side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.to-prop-side-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #00685c;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 9px;
    border-radius: 8px;
    transition: background .15s ease;
}
.to-prop-side-btn:hover { background: #e6f4f2; }
.to-fav-btn.is-active { color: #b8860b; }
.to-fav-btn.is-active .to-fav-btn__ico { color: #e8a93b; }
@media (max-width: 640px) {
    .to-prop-side-actions { width: 100%; }
    .to-prop-side-btn { flex: 1 1 100%; justify-content: center; }
}

/* ===== مودال اشتراک ===== */
.to-share-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.to-share-modal[hidden] { display: none; }
.to-share-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .82);
}
.to-share-modal__panel {
    position: relative;
    background: #fff;
    max-width: 460px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.to-share-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #eef3f1;
    color: #004e44;
    font-size: 15px;
}
.to-share-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7671;
    display: inline-flex;
    padding: 4px;
}
.to-share-modal__close:hover { color: #0e4d3c; }
.to-share-modal .to-share { flex-wrap: wrap; gap: 10px; padding: 18px; }
.to-share-modal .to-share__label { width: 100%; margin: 0; font-size: 13px; color: #6b7671; }
.to-share-modal .to-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f7f5;
    border: 1px solid #dfeae6;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0e4d3c;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease;
}
.to-share-modal .to-share__btn:hover { background: #e6f4f2; }
.to-share-modal .to-share__btn.is-copied { background: #e6f7f2; color: #0d7a5f; }
.to-share-modal .to-share__short {
    flex-basis: 100%;
    background: #f8fafa;
    border: 1px dashed #d5e0de;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12.5px;
    text-align: left;
}

/* ===== توست علاقه مندی ===== */
#to-fav-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -16px);
    background: #0f5446;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 999999;
}
#to-fav-toast.show { opacity: 1; transform: translate(-50%, 0); }
.elementor-element-7025833{max-width:985px;margin-inline:auto;scrollbar-width:none;-ms-overflow-style:none;overflow-x:auto}
.elementor-element-7025833::-webkit-scrollbar{display:none;height:0}
.elementor-element-7025833 > .e-con-inner{flex-wrap:nowrap}
.elementor-element-b44e271{scrollbar-width:none;-ms-overflow-style:none}
.elementor-element-b44e271::-webkit-scrollbar{display:none;height:0}
@media(max-width:781px){
  .elementor-element-7025833{max-width:100%;width:100%}
}
.tng__video{margin-bottom:12px}
.tng__video video{display:block;width:100%;max-height:420px;object-fit:cover;border-radius:12px;background:#000}
/* میزبان: یک ردیف با اسکرول افقی مخفی */
.to-psingle__host{display:flex;flex-wrap:nowrap;align-items:center;gap:16px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;}
.to-psingle__host::-webkit-scrollbar{display:none;height:0;}
.to-psingle__host-link{flex:0 0 auto;}
.to-psingle__host-rating{flex:0 0 auto;margin-top:0;}

/* ===== host avatar + amenity light-bg (تکمیل درخواست‌های کاربر) ===== */
.to-psingle__host-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #E6F4F2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #0E4D3C;
}
.to-psingle__host-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-property .to-psingle__amenity,
.single-property .to-psingle__amenities .to-psingle__amenity {
  background: #ffffff !important;
  color: #223339 !important;
  border: 1px solid #D5E0DE !important;
}


.to-psingle__host-info{flex-direction:row !important;align-items:center !important;gap:6px !important}
.to-psingle__host-role{display:inline-flex !important;font-size:11px;padding:2px 8px;border-radius:999px;background:#E6F4F2;color:#0E4D3C}
.tn-am__group{background:#fff !important;border-color:#D5E0DE !important}
.tn-am__head{background:#E6F4F2 !important;color:#0E4D3C !important}
.tn-am__item{color:#223339 !important}

/* mobile: stacked actions row + guide menu below (wrap, RTL overflow fix) */
@media (max-width:640px) {
  .elementor-element-b44e271 { flex-wrap: wrap !important; align-items: flex-start !important; }
  .to-prop-side-actions { order: -1 !important; width: 100% !important; margin-inline-start: 0 !important; padding: 0 !important; }
  .elementor-element-7025833 { width: 100% !important; min-width: 0 !important; margin-inline-start: 0 !important; }
}

/* ---------- Map: full width inside single-property grid ---------- */
.to-psingle__section:has(.to-psingle__map) {
    grid-column: 1 / -1;
    width: 100%;
}
.to-psingle__map,
.to-psingle__map-frame {
    width: 100% !important;
}


/* ---------- Map: force full width on single-property (tn-map-grid 2-col fix) ---------- */
.tn-map-grid {
    grid-template-columns: 1fr !important;
}
.tn-map-frame {
    width: 100% !important;
}

'
/* audit35: fav/share buttons bez background, smaller, centered */
.to-fav-btn,
.to-share__btn {
    background: transparent !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
html.to-dark .to-fav-btn,
html.to-dark .to-share__btn {
    background: transparent !important;
    border-color: #243A35 !important;
    color: #9FEFDF !important;
}
'


/* audit36: fav/share buttons neutral + sticky help-nav bg on scroll + fe3ffaf band */
.to-prop-side-actions .to-fav-btn,
.to-prop-side-actions .to-share__btn {
    background: transparent !important;
    box-shadow: none !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.elementor-element-b44e271.is-stuck {
    background-color: #ffffff !important;
}


/* audit37: force fav/share button sizing/centering (beat Elementor kit button) */
.to-fav-btn,
.to-share__btn {
    font-size: 12px !important;
    display: inline-flex !important;
    justify-content: center !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 6px 12px !important;
    line-height: 1.2 !important;
}

/* fav/share: 15px, centered, both modes */
.to-fav-btn,
.to-share__btn {
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
}


/* Ù‚ÙˆØ§Ù†ÛŒÙ† Ø®Ø§Ù†Ù‡: Ù„ÛŒØ³Øª ØªÚ©ÛŒ â€” Ù‡Ø± Ù‚Ø§Ù†ÙˆÙ† Ø¯Ø± ÛŒÚ© Ø±Ø¯ÛŒÙ */
.tn-house-rules {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tn-house-rules li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #0D1F1C;
}
.tn-house-rules li::before {
    content: 'â€¢';
    color: #0F5446;
    font-weight: 700;
    flex: none;
}


/* === audit39: single-property sidebar trigger buttons (fav/share) vs Elementor kit === */
.to-prop-side-btn.to-share-open,
.to-prop-side-btn.to-fav-btn,
.to-prop-side-btn.to-share-open.to-prop-side-btn--injected,
.to-prop-side-btn.to-fav-btn.to-prop-side-btn--injected {
    background: transparent !important;
    border: 1px solid #DFEAE6 !important;
    color: #0E4D3C !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}
.to-prop-side-btn.to-share-open:hover,
.to-prop-side-btn.to-fav-btn:hover,
.to-prop-side-btn.to-fav-btn.is-active {
    background: #E8F2EE !important;
    color: #0E4D3C !important;
}
html.to-dark .to-prop-side-btn.to-share-open,
html.to-dark .to-prop-side-btn.to-fav-btn,
html.to-dark .to-prop-side-btn.to-share-open.to-prop-side-btn--injected,
html.to-dark .to-prop-side-btn.to-fav-btn.to-prop-side-btn--injected {
    background: transparent !important;
    border-color: #243A35 !important;
    color: #9FEFDF !important;
}
html.to-dark .to-prop-side-btn.to-share-open:hover,
html.to-dark .to-prop-side-btn.to-fav-btn:hover,
html.to-dark .to-prop-side-btn.to-fav-btn.is-active {
    background: #14251F !important;
    color: #9FEFDF !important;
}


/* === minimal guest stepper buttons (no green bg / no red border / no hover change) === */
.to-guest-counter__btn,
.to-guest-counter__btn:hover:not(:disabled),
.to-guest-counter__btn:active:not(:disabled) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: inherit !important;
}

/* ==================== Paid services (single property) ==================== */
/* رنگ‌ها عمداً ثابت‌اند: در این صفحه پس‌زمینه روشن است ولی توکن‌های --to-* ممکن است دارک باشند. */

.to-psingle__services .to-psingle__section-title {
    margin-bottom: 10px;
    color: #1F2937;
}

html.to-dark .to-psingle__services .to-psingle__section-title { color: #E7EFEB; }

.to-psingle__services .to-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.to-psingle__services .to-svc-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

html.to-dark .to-psingle__services .to-svc-card {
    background: #101F1C;
    border-color: #243A35;
}

.to-psingle__services .to-svc-card__media,
.to-psingle__services .to-svc-card__excerpt {
    display: none;
}

.to-psingle__services .to-svc-card__body > * { display: none; }

.to-psingle__services .to-svc-card__body > .to-svc-card__title,
.to-psingle__services .to-svc-card__body > .to-svc-card__price,
.to-psingle__services .to-svc-card__body > .to-svc-card__actions { display: block; }

.to-psingle__services .to-svc-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.to-psingle__services .to-svc-card__title a {
    color: #1F2937;
    text-decoration: none;
}

.to-psingle__services .to-svc-card__title a:hover { color: #F03E58; }

html.to-dark .to-psingle__services .to-svc-card__title a { color: #E7EFEB; }
html.to-dark .to-psingle__services .to-svc-card__title a:hover { color: #FB7185; }

.to-psingle__services .to-svc-card__price {
    margin: 0;
    font-size: 13px;
    color: #6B7280;
}

.to-psingle__services .to-svc-card__price strong {
    font-size: 14px;
    color: #F03E58;
}

html.to-dark .to-psingle__services .to-svc-card__price { color: #9FB3AC; }
html.to-dark .to-psingle__services .to-svc-card__price strong { color: #FB7185; }

.to-psingle__services .to-svc-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 2px;
}

.to-psingle__services .to-svc-card__actions .to-gp-btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.to-psingle__services .to-svc-card__actions .to-gp-btn--primary {
    background: #F03E58;
    color: #fff;
}

.to-psingle__services .to-svc-card__actions .to-gp-btn--primary:hover {
    background: #C61731;
    color: #fff;
}

.to-psingle__services .to-svc-card__actions .to-gp-btn--ghost {
    background: transparent;
    border-color: #E5E7EB;
    color: #1F2937;
}

.to-psingle__services .to-svc-card__actions .to-gp-btn--ghost:hover {
    border-color: #F03E58;
    color: #F03E58;
}

html.to-dark .to-psingle__services .to-svc-card__actions .to-gp-btn--primary { background: #FB7185; color: #0B1512; }
html.to-dark .to-psingle__services .to-svc-card__actions .to-gp-btn--ghost { border-color: #243A35; color: #E7EFEB; }
html.to-dark .to-psingle__services .to-svc-card__actions .to-gp-btn--ghost:hover { border-color: #FB7185; color: #FB7185; }

@media (max-width: 1024px) {
    .to-psingle__services .to-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .to-psingle__services .to-svc-grid { grid-template-columns: 1fr; }
}
