/* ================================================
   ATHAR OFFER — /assets/css/athar-offer.css
   عرض النشر المشترك مع دار الأثر الأدبي | منصة حروف
   (فوق printing-services.css — نفس الكروت والباقات)
================================================ */

/* الصفحة دي من غير الشريط المتحرك ← الهيدر مايتحركش لتحت معاه (headerOffset في home-style.css) */
.main-header { animation: none; top: 0; }

/* ══════════════════════════════════════
   شعار الشريكين
══════════════════════════════════════ */
.ao-partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.ao-partner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    min-height: 60px;
    border-radius: 18px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(79,209,255,0.25);
    box-shadow: 0 6px 20px rgba(14,165,233,0.08);
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
}
.ao-partner img { height: 40px; width: auto; display: block; }
.ao-partner--athar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ao-partners__x {
    font-size: 1.5rem;
    font-weight: 300;
    color: #A855F7;
}

/* ══════════════════════════════════════
   الحاسبة
══════════════════════════════════════ */
.ao-calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    max-width: 920px;
    margin: 0 auto;
}
.ao-calc__input,
.ao-calc__result {
    background: rgba(255,255,255,0.92);
    border: 1.5px solid rgba(79,209,255,0.2);
    border-radius: 26px;
    padding: 30px 28px;
    box-shadow: 0 10px 34px rgba(14,165,233,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ao-calc__result { border-color: rgba(168,85,247,0.3); }
.ao-calc__label {
    display: block;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    font-size: 1rem;
}
.ao-calc__field {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.ao-calc__field input {
    flex: 1;
    min-width: 0;
    font-family: 'Cairo', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    color: #1e293b;
    padding: 10px 12px;
    border-radius: 18px;
    border: 2px solid rgba(14,165,233,0.3);
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.ao-calc__field input::-webkit-outer-spin-button,
.ao-calc__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ao-calc__field input:focus { border-color: #A855F7; box-shadow: 0 0 0 4px rgba(168,85,247,0.14); }
.ao-calc__field input::placeholder { font-size: 1.1rem; font-weight: 600; color: #94a3b8; }
.ao-calc__step {
    width: 54px;
    flex-shrink: 0;
    border-radius: 18px;
    border: 1.5px solid rgba(14,165,233,0.25);
    background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(168,85,247,0.08));
    color: #6366f1;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}
.ao-calc__step:hover { background: linear-gradient(135deg, #0ea5e9, #A855F7); color: #fff; }
.ao-calc__chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #64748b;
}
.ao-calc__chips button {
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(168,85,247,0.3);
    background: rgba(168,85,247,0.06);
    color: #7c3aed;
    cursor: pointer;
}
.ao-calc__chips button:hover { background: #A855F7; color: #fff; }
.ao-calc__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0 6px;
    font-weight: 800;
    color: #1e293b;
}
.ao-calc__total strong {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #A855F7, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ao-calc__total small { font-size: 0.95rem; font-weight: 700; }
.ao-calc__book { margin-top: 18px; }
.ao-calc__book[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.ao-calc__book[aria-disabled="true"]:hover {
    background: rgba(37,211,102,0.08);
    color: #128C7E;
    border-color: rgba(37,211,102,0.3);
    box-shadow: none;
    transform: none;
}
.ao-calc__incl {
    margin: 14px 0 0;
    font-size: 0.78rem;
    line-height: 1.8;
    color: #94a3b8;
    text-align: center;
}

/* شرط العرض: مرة واحدة لكل كاتب */
.ao-once {
    margin: 0 28px 18px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.35);
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}
.ao-calc__result .ao-once { margin: 14px 0 0; }

/* ══════════════════════════════════════
   باقة حرف+
══════════════════════════════════════ */
.ao-harf {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 28px;
    background: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(168,85,247,0.22);
    border-radius: 26px;
    box-shadow: 0 10px 34px rgba(168,85,247,0.07);
}
.ao-harf .ps-pkg__feat { font-size: 0.95rem; }
.ao-harf__more {
    align-self: flex-start;
    margin-top: 6px;
    font-weight: 800;
    color: #7c3aed;
    text-decoration: none;
}
.ao-harf__more:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 760px) {
    .ao-calc { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 620px) {
    .ao-calc__input,
    .ao-calc__result,
    .ao-harf { padding: 24px 18px; }
    .ao-calc__total strong { font-size: 2rem; }
    .ao-partner { padding: 6px 14px; min-height: 52px; }
    .ao-partner img { height: 34px; }
    .ao-partner--athar img { width: 38px; height: 38px; }
}
