/* استایل‌های صفحه نمایش آگهی تکی - تم نارنجی */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #ff8c5a;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --background-color: #fff9f5;
    --card-bg: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #bdc3c7;
    --success-color: #27ae60;
    --warning-color: #e74c3c;
    --shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
    --shadow-hover: 0 8px 30px rgba(255, 107, 53, 0.25);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    background: var(--background-color);
    min-height: 100vh;
}

/* هدر آگهی */
.ad-single-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--card-bg) 0%, #fffaf7 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.ad-single-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.ad-title-section .ad-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ad-meta {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.ad-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 20px;
    transition: var(--transition);
}

.ad-meta span:hover {
    background: rgba(255, 107, 53, 0.15);
    transform: translateY(-2px);
}

.featured-badge {
    background: linear-gradient(135deg, var(--accent-color), #e67e22) !important;
    color: white !important;
    font-weight: 700 !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.ad-price-section .ad-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: right;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* گالری تصاویر */
.ad-gallery-section {
    margin-bottom: 30px;
}

.ad-gallery {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.ad-gallery:hover {
    box-shadow: var(--shadow-hover);
}

.ad-main-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #fffaf7, #ffeae0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ad-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.ad-main-image img:hover {
    transform: scale(1.02);
}

.ad-main-image::after {
    content: '🔍 برای زوم کلیک کنید';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 62, 80, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: var(--transition);
}

.ad-main-image:hover::after {
    opacity: 1;
}

.no-image {
    text-align: center;
    color: var(--text-light);
}

.no-image i {
    font-size: 64px;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.ad-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    padding: 20px;
    background: #fffaf7;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.ad-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.ad-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 53, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.ad-thumbnail:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
}

.ad-thumbnail:hover::before {
    opacity: 1;
}

.ad-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.ad-thumbnail.active::before {
    opacity: 1;
}

.ad-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-gallery {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fffaf7, #ffeae0);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    border: 2px dashed var(--primary-light);
}

.no-gallery i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

/* محتوای اصلی */
.ad-content-section {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 40px;
}

.ad-main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* کارت‌ها */
.ad-details-card,
.ad-custom-fields-card,
.ad-description-card,
.contact-card,
.actions-card,
.location-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ad-details-card::before,
.ad-custom-fields-card::before,
.ad-description-card::before,
.contact-card::before,
.actions-card::before,
.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.ad-details-card:hover,
.ad-custom-fields-card:hover,
.ad-description-card:hover,
.contact-card:hover,
.actions-card:hover,
.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
}

.card-title i {
    color: var(--primary-color);
    font-size: 24px;
}

/* جزئیات آگهی */
.ad-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.detail-item:hover {
    background: rgba(255, 107, 53, 0.03);
    border-radius: 8px;
    padding: 15px;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label::before {
    content: '•';
    color: var(--primary-color);
    font-size: 20px;
}

.detail-value {
    color: var(--text-secondary);
    text-align: left;
    flex: 1;
    margin-right: 15px;
    font-weight: 500;
}

.price-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

/* فیلدهای اختصاصی */
.custom-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.custom-field-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.custom-field-item:hover {
    background: rgba(255, 107, 53, 0.03);
    border-radius: 8px;
    padding: 12px 15px;
}

.custom-field-item:last-child {
    border-bottom: none;
}

.field-label {
    font-weight: 600;
    color: var(--text-primary);
}

.field-value {
    color: var(--text-secondary);
    font-weight: 500;
}

/* توضیحات */
.ad-description {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
}

.ad-description p {
    margin-bottom: 20px;
    text-align: justify;
}

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

/* سایدبار */
.ad-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* اطلاعات تماس */
.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 107, 53, 0.03);
    border-radius: 8px;
    padding: 15px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
    font-size: 18px;
}

.contact-value {
    color: var(--text-primary);
    font-weight: 500;
    direction: ltr;
    text-align: right;
}

.phone-number .contact-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-btn {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.call-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.call-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.chat-btn {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.chat-btn:hover {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

/* اقدامات */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-btn {
    padding: 15px 20px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    background: var(--card-bg);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn i {
    width: 20px;
    text-align: center;
    font-size: 18px;
    color: var(--primary-color);
}

.favorite-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: var(--primary-color);
}

.favorite-btn.active i {
    color: white;
}

/* نقشه */
.ad-map {
    height: 200px;
    background: linear-gradient(135deg, #fffaf7, #ffeae0);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    border: 2px dashed var(--primary-light);
    position: relative;
}

.ad-map:hover {
    background: linear-gradient(135deg, #ffeae0, #ffd9c8);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.map-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.map-placeholder p {
    font-weight: 600;
    color: var(--primary-color);
}

/* آگهی‌های مشابه */
.similar-ads-section {
    margin-top: 50px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.similar-ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* مودال‌ها */
.ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 107, 53, 0.2);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    background: linear-gradient(135deg, #fffaf7, transparent);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
}

.modal-close {
    background: rgba(255, 107, 53, 0.1);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #fffaf7;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* فرم گزارش */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
    background: var(--card-bg);
    font-family: inherit;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* اشتراک‌گذاری */
.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.share-option {
    padding: 20px 10px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    background: var(--card-bg);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.share-option:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.whatsapp-share:hover {
    border-color: #25d366;
    color: #25d366;
}

.telegram-share:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.copy-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.share-link {
    display: flex;
    gap: 12px;
}

.share-link input {
    flex: 1;
    padding: 15px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    font-size: 14px;
    direction: ltr;
    background: var(--card-bg);
    transition: var(--transition);
}

.share-link input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.copy-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* دکمه‌ها */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(255, 107, 53, 0.3);
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* نوتیفیکیشن */
.ad-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10000;
    min-width: 300px;
    max-width: 90vw;
    display: none;
    border-right: 4px solid var(--primary-color);
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ad-notification-success {
    border-right-color: var(--success-color);
}

.ad-notification-error {
    border-right-color: var(--warning-color);
}

.ad-notification-warning {
    border-right-color: var(--accent-color);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
}

.ad-notification-success .notification-icon {
    color: var(--success-color);
}

.ad-notification-error .notification-icon {
    color: var(--warning-color);
}

.ad-notification-warning .notification-icon {
    color: var(--accent-color);
}

.ad-notification .notification-icon {
    color: var(--primary-color);
}

/* رسپانسیو */
@media (max-width: 768px) {
    .ad-single-container {
        padding: 15px;
    }
    
    .ad-single-header {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .ad-price-section .ad-price {
        text-align: right;
        align-self: flex-end;
    }
    
    .ad-content-section {
        grid-template-columns: 1fr;
    }
    
    .ad-sidebar {
        position: static;
    }
    
    .ad-main-image {
        height: 300px;
    }
    
    .ad-details-grid,
    .custom-fields-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .detail-value {
        margin-right: 0;
        text-align: right;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .ad-title {
        font-size: 26px;
    }
    
    .ad-price {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .ad-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-actions,
    .action-buttons {
        flex-direction: column;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .ad-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

/* اسکرول بار سفارشی */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fffaf7;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}



/* ==========================================================================
   سیستم واترمرک هوشمند اسلایدر (تنظیم شده برای گوشه سمت چپ)
   ========================================================================== */

/* ۱. اعمال واترمرک روی اسلایدر در حالت عادی */
.ad-slider-container .slide {
    position: relative;
}

.ad-slider-container .slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/watermark.png'); 
    background-repeat: no-repeat;
    
    /* 📌 تغییر موقعیت به پایین سمت چپ (با ۲۰ پیکسل فاصله از لبه‌ها) */
    background-position: bottom 20px left 20px; 
    
    /* 💡 اگر می‌خواهید بالا سمت چپ باشد، خط بالا را حذف کرده و از خط زیر استفاده کنید: */
    /* background-position: top 20px left 20px; */

    background-size: 140px; /* سایز لوگو در گوشه تصویر */
    opacity: 1; 
    pointer-events: none; 
    z-index: 5; 
}


/* ۲. اعمال واترمرک روی مودال زوم (حالت نمایش کامل) */
.zoom-content {
    position: relative;
    display: inline-block; 
}

.zoom-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/watermark.png');
    background-repeat: no-repeat;
    
    /* 📌 تغییر موقعیت در حالت زوم کامل (با ۳۰ پیکسل فاصله از لبه‌ها) */
    background-position: bottom 30px left 30px;
    
    /* 💡 اگر می‌خواهید بالا سمت چپ باشد، خط بالا را حذف کرده و از خط زیر استفاده کنید: */
    /* background-position: top 30px left 30px; */

    background-size: 150px; /* سایز لوگو در حالت زوم */
    opacity: 1; 
    pointer-events: none;
    z-index: 10003; 
}

/* بهینه‌سازی و کوچک‌تر شدن فاصله و سایز در موبایل */
@media (max-width: 768px) {
    .ad-slider-container .slide::after {
        background-position: bottom 13px left 20px;
        background-size: 90px; 
    }
    .zoom-content::after {
        background-position: bottom 15px left 15px;
       background-size: 90px;
    }
}
