/* ===== دليل تسمين الأغنام — تصميم مجلة ===== */

:root {
    --cream: #0d2f4e;
    --cream-2: #0b2740;
    --sand: #1b4f78;
    --olive: #fdf6e6;
    --olive-2: #f0cd77;
    --olive-3: #e0b64f;
    --gold: #e0b64f;
    --gold-2: #f0cd77;
    --clay: #e08b6a;
    --ink: #eaf1f8;
    --ink-soft: #cfdbe6;
    --muted: #a3b8ca;
    --hair: rgba(224, 185, 95, 0.24);
    --sheep-gold: #d9b95c;
    --navy: #071d31;
    --blue: #103a5c;
    --blue-2: #16456b;
    --blue-3: #0b2740;
    --radius: 22px;
    --shadow: 0 18px 44px rgba(2, 12, 24, 0.40);
    --shadow-soft: 0 8px 24px rgba(2, 12, 24, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "Almarai", "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.95;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ===== الخلفية ===== */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 70% at 80% -10%, #1e5480 0%, rgba(30, 84, 128, 0) 60%),
        linear-gradient(180deg, #10395c 0%, #0d2f4e 55%, #0a243c 100%);
}
.bg-sun {
    position: absolute;
    top: 1%;
    inset-inline-start: 8%;
    width: min(58vw, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(224, 185, 95, 0.40) 0%, rgba(224, 185, 95, 0.14) 45%, rgba(224, 185, 95, 0) 72%);
    opacity: 0.55;
    animation: sunFloat 16s ease-in-out infinite;
}
@keyframes sunFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(14px) scale(1.03); }
}
.bg-dune {
    position: absolute;
    inset-inline: -12%;
    height: 46vh;
    border-radius: 50% 50% 0 0 / 90% 90% 0 0;
    will-change: transform;
}
.bg-dune-1 { bottom: -26vh; background: linear-gradient(180deg, #1a4c73 0%, #14405f 100%); opacity: 0.55; }
.bg-dune-2 { bottom: -34vh; background: linear-gradient(180deg, #17476c 0%, #113650 100%); opacity: 0.5; inset-inline: -30%; }
.bg-dune-3 { bottom: -42vh; background: linear-gradient(180deg, #134064 0%, #0e2c47 100%); opacity: 0.4; inset-inline: 10%; }

/* ===== الصفحة ===== */
.page {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px 96px;
    counter-reset: sec;
}

/* ===== الترويسة ===== */
.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 4px 14px;
    border-bottom: 1px solid var(--hair);
    font-size: 12.5px;
    letter-spacing: 0.4px;
    color: var(--muted);
    font-weight: 700;
}
.masthead strong { color: var(--olive); font-weight: 800; }
.masthead .mast-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--gold);
    display: inline-block;
    margin: 0 8px;
    vertical-align: middle;
}

/* ===== الغلاف ===== */
.sheep-hero {
    display: grid;
    grid-template-columns: 1.06fr 1fr;
    gap: 44px;
    align-items: center;
    padding: 52px 0 34px;
}
.sheep-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--olive-3);
    text-transform: uppercase;
}
.sheep-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--gold);
    display: block;
}
.sheep-title {
    margin: 0 0 20px;
    font-size: clamp(2.15rem, 5.6vw, 3.5rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--olive);
}
.sheep-lede {
    margin: 0 0 26px;
    font-size: clamp(15px, 3.6vw, 17.5px);
    line-height: 1.95;
    color: var(--ink-soft);
    max-width: 46ch;
}
.sheep-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 0 4px;
    border-top: 1px solid var(--hair);
}
.sheep-price-now {
    font-size: clamp(2.2rem, 6.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    color: var(--olive);
    letter-spacing: -1px;
}
.sheep-price-was {
    font-size: clamp(1.2rem, 4.2vw, 1.75rem);
    color: #f0503c;
    text-decoration: line-through;
    text-decoration-color: #f0503c;
    text-decoration-thickness: 3px;
    font-weight: 800;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.sheep-cta { margin: 20px 0 0; }
.sheep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
    font-size: 17.5px;
    padding: 16px 34px;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(2, 12, 24, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.sheep-btn:hover, .sheep-btn:focus-visible {
    background: var(--gold-2);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(2, 12, 24, 0.5);
}
.sheep-micro {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--muted);
}

/* لوحة الصورة في الغلاف */
.sheep-art {
    position: relative;
    border-radius: 30px;
    padding: 34px 26px 26px;
    background:
        linear-gradient(180deg, rgba(7, 26, 44, 0.18) 0%, rgba(7, 26, 44, 0.62) 100%),
        url("img/market.jpg") center/cover no-repeat;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 460px;
}
.sheep-art::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(253, 248, 234, 0.42);
    border-radius: 20px;
    pointer-events: none;
}

/* ===== الكتاب ثلاثي الأبعاد ===== */
.book-stage {
    position: relative;
    perspective: 1500px;
    perspective-origin: 50% 44%;
}
.book-stage::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -14px;
    height: 26px;
    background: radial-gradient(ellipse at center, rgba(2, 10, 20, 0.55) 0%, rgba(2, 10, 20, 0) 72%);
    filter: blur(3px);
    pointer-events: none;
    z-index: 0;
}
.book-scene {
    --w: clamp(186px, 55vw, 278px);
    --h: calc(var(--w) * 1.364);
    --t: calc(var(--w) * 0.195);
    position: relative;
    width: var(--w);
    height: var(--h);
    transform-style: preserve-3d;
    transform: rotateX(6deg) rotateY(24deg);
    will-change: transform;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    z-index: 1;
}
.book-scene:active { cursor: grabbing; }
.book {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}
.book-face {
    position: absolute;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* الغلاف الأمامي والخلفي: لوحان يبرزان قليلًا عن جسم الصفحات */
.book-front,
.book-back {
    inset: -2px;
    border-radius: 3px 7px 7px 3px;
    overflow: hidden;
    background: #0b2740;
    box-shadow: 0 22px 46px rgba(2, 10, 20, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.book-front {
    transform: translateZ(calc(var(--t) / 2));
}
.book-front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.book-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
}

/* الغلاف الخلفي: تصميم كامل بالأزرق والذهبي، يقرأ صح من كل زاوية */
.book-back {
    transform: rotateY(180deg) translateZ(calc(var(--t) / 2));
    background: linear-gradient(160deg, #17496f 0%, #0b2740 100%);
    border: 1px solid rgba(224, 185, 95, 0.40);
    box-shadow: inset 0 0 0 5px rgba(224, 185, 95, 0.09), 0 22px 46px rgba(2, 10, 20, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 16px 14px;
    text-align: center;
}
.book-back .bb-mark { font-size: 10.5px; letter-spacing: 0.4px; color: var(--gold-2); font-weight: 700; }
.book-back .bb-title { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 800; color: #fdf6e6; }
.book-back .bb-hook { margin: 0; font-size: 10.5px; line-height: 1.7; font-weight: 700; color: #cfdbe6; }
.book-back .bb-price-row { display: flex; align-items: baseline; gap: 7px; direction: rtl; }
.book-back .bb-price { font-size: 15px; font-weight: 800; color: var(--gold-2); }
.book-back .bb-was { font-size: 10.5px; font-weight: 700; color: #a3b8ca; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.book-back .bb-credit { margin: 0; font-size: 10px; font-weight: 700; color: #e6eef7; letter-spacing: 0.2px; }
.book-back .bb-rule { width: 38px; height: 3px; border-radius: 3px; background: var(--gold); margin: 1px auto; }

/* الكعب (يمين الكتاب): عنوان رأسي وأحزمة ذهبية */
.book-spine {
    top: 2px;
    height: calc(100% - 4px);
    width: var(--t);
    inset-inline-start: calc(50% - var(--t) / 2);
    transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
    background: linear-gradient(90deg, #222b10 0%, #47551f 42%, #33401a 72%, #1d2610 100%);
    box-shadow: inset 0 6px 0 -4px rgba(224, 185, 95, 0.55), inset 0 -6px 0 -4px rgba(224, 185, 95, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.book-spine span {
    writing-mode: vertical-rl;
    font-size: 9.5px;
    font-weight: 800;
    color: var(--gold-2);
    letter-spacing: 0.8px;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

/* مقدمة الأوراق (يسار الكتاب): ورق بخطوط صفحات رفيعة */
.book-pages {
    top: 3px;
    height: calc(100% - 6px);
    width: calc(var(--t) - 1px);
    inset-inline-start: calc(50% - (var(--t) - 1px) / 2);
    transform: rotateY(90deg) translateZ(calc(var(--w) / 2));
    border-radius: 0 2px 2px 0;
    background:
        linear-gradient(90deg, rgba(3, 12, 22, 0.62) 0%, rgba(3, 12, 22, 0.10) 9%, rgba(3, 12, 22, 0) 22%, rgba(3, 12, 22, 0) 78%, rgba(3, 12, 22, 0.12) 91%, rgba(3, 12, 22, 0.55) 100%),
        repeating-linear-gradient(90deg, #fbf6e8 0px, #fbf6e8 1.6px, #d3c5a2 2.1px, #f6efdd 2.7px);
    box-shadow: inset 0 10px 14px -8px rgba(3, 12, 22, 0.55), inset 0 -10px 14px -8px rgba(3, 12, 22, 0.55);
}

/* أعلى وأسفل جسم الكتاب: ورق كذلك */
.book-top,
.book-bottom {
    inset-inline-start: 3px;
    width: calc(100% - 6px);
    height: calc(var(--t) - 1px);
    top: calc(50% - (var(--t) - 1px) / 2);
    background:
        linear-gradient(0deg, rgba(3, 12, 22, 0.60) 0%, rgba(3, 12, 22, 0) 16%, rgba(3, 12, 22, 0) 84%, rgba(3, 12, 22, 0.60) 100%),
        repeating-linear-gradient(0deg, #fbf6e8 0px, #fbf6e8 1.6px, #d3c5a2 2.1px, #f6efdd 2.7px);
}
.book-top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.book-bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }

.book-hint {
    margin: 26px 0 0;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(7, 29, 49, 0.62);
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(253, 248, 234, 0.95);
    letter-spacing: 0.4px;
    position: relative;
    z-index: 2;
}

/* ===== الأقسام ===== */
.sheep-block,
.sheep-profit,
.sheep-order {
    padding: 54px 0 10px;
}
.sheep-head { margin-bottom: 30px; }
.sheep-h2 {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 4.6vw, 2.6rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--olive);
    position: relative;
    padding-top: 22px;
}
.sheep-h2::before {
    counter-increment: sec;
    content: "0" counter(sec);
    position: absolute;
    top: -6px;
    inset-inline-start: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
}
.sheep-h2::after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 34px;
    width: 60px;
    height: 2px;
    background: var(--gold-2);
}
.sheep-sub {
    margin: 0;
    font-size: clamp(14.5px, 3.4vw, 16.5px);
    line-height: 1.95;
    color: var(--ink-soft);
    max-width: 62ch;
}

/* ===== كروت ===== */
.sheep-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.sheep-card {
    position: relative;
    padding: 30px 26px 28px;
    border-radius: var(--radius);
    background: var(--blue-2);
    border: 1px solid var(--hair);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.sheep-card::before {
    content: "";
    position: absolute;
    inset-inline: 26px;
    top: 0;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--gold-2);
}
.sheep-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 800;
    color: var(--olive);
}
.sheep-card p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); }
.sheep-card-olive::before { background: #4a86b8; }
.sheep-card-gold::before { background: var(--gold); }
.sheep-card-clay::before { background: var(--clay); }

/* ===== الطريقة ===== */
.sheep-method {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.sheep-method-card {
    background: var(--blue-2);
    border-radius: 18px;
    border: 1px solid var(--hair);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}
.sheep-method-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.sheep-method-body { padding: 18px 18px 22px; position: relative; }
.sheep-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 4px;
}
.sheep-method-body h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--olive); }
.sheep-method-body p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }

/* ===== المكسب ===== */
.sheep-profit {
    background: linear-gradient(180deg, var(--blue-2) 0%, #123a5b 100%);
    border: 1px solid var(--hair);
    border-radius: 26px;
    padding: 40px 30px 36px;
    margin-top: 40px;
}
.sheep-lines { display: grid; gap: 0; }
.sheep-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 2px;
    border-bottom: 1px dashed rgba(224, 185, 95, 0.30);
}
.sheep-line:first-child { border-top: 1px dashed rgba(224, 185, 95, 0.30); }
.sheep-line-label {
    font-weight: 800;
    color: var(--olive);
    font-size: 15.5px;
    white-space: nowrap;
}
.sheep-line-value {
    font-size: 14.5px;
    color: var(--ink-soft);
    text-align: end;
}
.sheep-profit-note {
    margin: 22px 0 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.9;
}

/* ===== الفهرست ===== */
.sheep-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--hair);
}
.sheep-tile {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--hair);
}
.sheep-tile:nth-child(odd) { padding-inline-end: 26px; }
.sheep-tile:nth-child(even) { padding-inline-start: 26px; border-inline-start: 1px solid var(--hair); }
.sheep-tile-title { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.75; }
.sheep-tile-page {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--gold);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* ===== المعرض ===== */
.sheep-gallery { margin-top: 8px; }
.sheep-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 18px;
    -webkit-overflow-scrolling: touch;
}
.sheep-strip::-webkit-scrollbar { height: 6px; }
.sheep-strip::-webkit-scrollbar-thumb { background: rgba(224, 185, 95, 0.35); border-radius: 99px; }
.sheep-shot {
    flex: 0 0 auto;
    width: min(78vw, 340px);
    padding: 0;
    border: 1px solid var(--hair);
    border-radius: 16px;
    background: var(--blue-3);
    overflow: hidden;
    cursor: zoom-in;
    scroll-snap-align: start;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sheep-shot:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sheep-shot img { width: 100%; height: auto; aspect-ratio: 900 / 1273; object-fit: cover; }
.sheep-caption { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }

/* ===== شريط صورة ===== */
.sheep-band {
    position: relative;
    margin: 58px 0 0;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}
.sheep-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sheep-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 20, 34, 0.82) 0%, rgba(5, 20, 34, 0.14) 55%, rgba(5, 20, 34, 0) 100%);
}
.sheep-band-text {
    position: relative;
    z-index: 2;
    padding: 34px 30px;
    color: #fdf8ea;
}
.sheep-band-text p {
    margin: 0;
    font-size: clamp(1.15rem, 3.6vw, 1.75rem);
    font-weight: 800;
    line-height: 1.5;
    max-width: 34ch;
}
.sheep-band-text span {
    display: block;
    margin-top: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(253, 248, 234, 0.82);
    letter-spacing: 0.3px;
}

/* ===== الطلب ===== */
.sheep-order {
    margin-top: 54px;
    padding: 42px 30px 40px;
    border-radius: 28px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(224, 185, 95, 0.22) 0%, rgba(224, 185, 95, 0) 60%),
        linear-gradient(180deg, #17496f 0%, #123a5b 100%);
    border: 1px solid rgba(224, 185, 95, 0.30);
    box-shadow: var(--shadow);
}
.sheep-order-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 40px;
    align-items: start;
}
.sheep-order .sheep-price { border-top: none; padding-top: 0; }
.sheep-order-side {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--hair);
    border-radius: 20px;
    padding: 24px 22px;
}
.sheep-steps {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 12px;
}
.sheep-steps li {
    position: relative;
    padding-inline-start: 36px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--ink-soft);
    counter-increment: step;
}
.sheep-steps li::before {
    content: counter(step);
    position: absolute;
    inset-inline-start: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== الخاتمة ===== */
.sheep-closing-band {
    position: relative;
    margin: 58px 0 0;
    border-radius: 26px;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
}
.sheep-closing-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sheep-closing-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 20, 34, 0.40) 0%, rgba(5, 20, 34, 0.78) 100%);
}
.sheep-closing-text { position: relative; z-index: 2; padding: 40px 26px; color: #fdf8ea; }
.sheep-closing-line {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 4.6vw, 2.3rem);
    font-weight: 800;
    line-height: 1.4;
}
.sheep-closing-sub { margin: 0; font-size: 14.5px; color: rgba(253, 248, 234, 0.86); }

/* ===== ملاحظة ===== */
.sheep-note {
    margin: 40px 0 0;
    padding: 26px 26px 24px;
    border-inline-start: 3px solid var(--gold);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0 16px 16px 0;
}
.sheep-note h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 800; color: var(--olive); }
.sheep-note p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--muted); }

/* ===== الفوتر ===== */
.sheep-footer {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--hair);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.sheep-footer-line { margin: 0; font-size: 12.5px; color: var(--muted); }
.sheep-footer-credit { margin: 0; font-size: 13px; font-weight: 800; color: var(--olive); }

/* ===== الشريط الثابت ===== */
.sticky-cta {
    position: fixed;
    inset-inline: 12px;
    bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px 10px 18px;
    background: rgba(7, 29, 49, 0.97);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(2, 12, 24, 0.55);
    transform: translateY(140%);
    transition: transform 0.28s ease;
    backdrop-filter: blur(6px);
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-price { color: var(--gold-2); font-weight: 800; font-size: 15px; white-space: nowrap; }
.sticky-price s { color: #f0503c; font-weight: 800; text-decoration-thickness: 2.5px; margin-inline-start: 5px; }
.sheep-btn-sm { font-size: 15px; padding: 11px 20px; box-shadow: none; background: var(--gold); color: var(--navy); }
.sheep-btn-sm:hover, .sheep-btn-sm:focus-visible { background: var(--gold-2); }

/* ===== اللايت بوكس ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(4, 15, 26, 0.96);
    display: flex;
    flex-direction: column;
    padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 12px;
}
.lightbox-count { color: #f4e6c4; font-size: 13.5px; font-weight: 700; }
.lightbox-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fdf8ea;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
}
.lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 0;
}
.lightbox-stage img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.lightbox-nav {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fdf8ea;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.lightbox-caption {
    margin: 12px 6px 4px;
    color: rgba(253, 248, 234, 0.86);
    font-size: 13px;
    text-align: center;
    line-height: 1.7;
}

/* ===== الحركة ===== */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js-reveal .reveal { opacity: 1; transform: none; }
    .bg-sun { animation: none; }
    .reveal { transition: none; }
}

/* ===== الموبايل ===== */
@media (max-width: 900px) {
    .sheep-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; }
    .sheep-art { min-height: 0; padding: 26px 18px 34px; }
    .sheep-cards { grid-template-columns: 1fr; }
    .sheep-method { grid-template-columns: repeat(2, 1fr); }
    .sheep-order-grid { grid-template-columns: 1fr; gap: 26px; }
    .sheep-tiles { grid-template-columns: 1fr; }
    .sheep-tile:nth-child(odd) { padding-inline-end: 4px; }
    .sheep-tile:nth-child(even) { padding-inline-start: 4px; border-inline-start: none; }
}

@media (max-width: 560px) {
    body { font-size: 16.5px; }
    .page { padding: 0 14px 104px; }
    .masthead { font-size: 11px; letter-spacing: 0; }
    .masthead .mast-hide { display: none; }
    .sheep-method { grid-template-columns: 1fr; }
    .sheep-profit { padding: 30px 20px 28px; border-radius: 22px; }
    .sheep-order { padding: 30px 20px 28px; border-radius: 22px; }
    .sheep-order-side { padding: 20px 16px; }
    .sheep-line { flex-direction: column; align-items: flex-start; gap: 4px; }
    .sheep-line-value { text-align: start; }
    .sheep-shot { width: min(84vw, 300px); }
    .sheep-band-text { padding: 26px 20px; }
    .sheep-closing-band { min-height: 280px; }
    .sheep-footer { flex-direction: column; gap: 6px; }
}
