/* Shojaei SEO — Frontend styles (scoped) */

/* OOS Notice — three cycle phases */
.shojaei-oos-notice {
    background: #f7f4ef;
    border: 1px solid #e4ddd2;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 16px 0;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.shojaei-related-products {
    clear: both;
    margin: 28px 0 16px;
    padding: 16px 0;
    display: block !important;
}

.shojaei-related-products h2 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    text-align: center;
}

.shojaei-oos-phase-temp {
    background: #f5f8f4;
    border-color: #c9d9c4;
}

.shojaei-oos-phase-unlikely {
    background: #faf6f0;
    border-color: #e2d2b8;
}

.shojaei-oos-phase-final {
    background: #f7f2f2;
    border-color: #e0c8c8;
}

.shojaei-oos-title {
    margin: 0 0 6px;
    font-size: 16px;
    color: #2c2c2c;
}

.shojaei-oos-notice p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.65;
}

.shojaei-oos-similar-btn {
    display: inline-block;
    background: #2f5d50 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    cursor: pointer;
    text-decoration: none !important;
}

.shojaei-oos-similar-btn:hover {
    background: #244a40 !important;
}

.shojaei-oos-notify-form {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: start;
}

.shojaei-oos-notify-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #333;
}

.shojaei-oos-notify-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shojaei-oos-notify-row input[type="email"] {
    flex: 1 1 180px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.shojaei-oos-notify-status {
    margin: 8px 0 0 !important;
    font-size: 12px !important;
    color: #555 !important;
}

/* Legacy class aliases */
.shojaei-oos-phase1 {
    background: #f5f8f4;
    border-color: #c9d9c4;
}
.shojaei-oos-phase2 {
    background: #faf6f0;
    border-color: #e2d2b8;
}

/* Related Products Section */
.shojaei-related-products {
    margin: 32px 0;
    padding-top: 24px;
    border-top: 2px solid #e8f0fe;
}

.shojaei-related-products h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

/* Internal Links */
a.shojaei-internal-link {
    color: #1e88e5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

a.shojaei-internal-link:hover {
    color: #1565c0;
}

/* Schema conflict banner (managers only) */
.shojaei-schema-conflict-banner {
    position: fixed;
    z-index: 99999;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff8e1;
    border-top: 3px solid #ef6c00;
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    font-family: Tahoma, 'Segoe UI', Arial, sans-serif;
    direction: rtl;
}
.shojaei-schema-conflict-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    font-size: 13px;
    color: #5d4037;
}
.shojaei-schema-conflict-inner strong { color: #e65100; }
.shojaei-schema-fix-btn {
    background: #ef6c00;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-family: inherit;
}
.shojaei-schema-fix-btn:disabled { opacity: .6; cursor: wait; }
.shojaei-schema-conflict-inner a { color: #1565c0; }
.shojaei-schema-banner-close {
    margin-right: auto;
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #8d6e63;
}

/* FAQ block — returns policy button */
.damavand-faq {
    margin: 1.5em 0;
    padding: 1em 0;
    border-top: 1px solid #e8e8e8;
}
.damavand-faq h2 {
    margin: 0 0 0.75em;
    font-size: 1.25em;
}
.damavand-faq__item {
    margin-bottom: 1em;
}
.damavand-faq__item h3 {
    margin: 0 0 0.35em;
    font-size: 1.05em;
}
.damavand-faq__item p {
    margin: 0 0 0.5em;
}
.damavand-faq__btn {
    display: inline-block;
    margin-top: 0.25em;
    padding: 0.55em 1.1em;
    border-radius: 8px;
    background: #2563eb;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.92em;
    font-weight: 600;
    line-height: 1.4;
    transition: background 0.15s ease;
}
.damavand-faq__btn:hover,
.damavand-faq__btn:focus {
    background: #1d4ed8;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 600px) {
    .shojaei-oos-notice {
        padding: 16px;
    }
}
