:root {
    --shop-bg: #141715;              /* خلفية كتان فحمية دافئة */
    --shop-card: #1b201d;            /* لون البطاقات الزيتوني الفاحم */
    --accent-brass: #d4a373;         /* نحاس وأوكر معتّق دافئ */
    --pastel-sage: #a3b18a;          /* ميرمية باستيل هادئة */
    --linen-light: #f0ede6;          /* أوف وايت كتان ناعم */
    --muted-linen: #9a9e96;          /* رمادي مخضر رصين للنصوص */
    --shop-border: rgba(240, 237, 230, 0.1);
    --font-main: 'IBM Plex Sans Arabic', sans-serif;
    --font-en: 'Syne', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.shop-body {
    background-color: var(--shop-bg);
    color: var(--linen-light);
    font-family: var(--font-main);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* تثبيت عرض الكمبيوتر دائماً */
    width: 100%;
    min-width: 1280px;
}

/* مؤشر الماوس */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 14px; height: 14px;
    background: var(--accent-brass);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    display: flex; align-items: center; justify-content: center;
}
.cursor-text {
    display: none; font-size: 11px; color: #141715; font-weight: 700;
}
.custom-cursor.active-hover {
    width: 45px; height: 45px; background: rgba(212, 163, 115, 0.35);
}
.custom-cursor.active-project {
    width: 80px; height: 80px; background: var(--accent-brass);
}
.custom-cursor.active-project .cursor-text { display: block; }

/* شريط النافبار */
.shop-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 6%;
    border-bottom: 1px solid var(--shop-border);
    position: sticky;
    top: 0;
    background: rgba(20, 23, 21, 0.88);
    backdrop-filter: blur(14px);
    z-index: 100;
}
.site-logo { 
    height: 38px; 
    width: auto; 
    filter: invert(95%) sepia(8%) saturate(150%) hue-rotate(50deg); 
}
.nav-right { display: flex; align-items: center; gap: 2rem; }

.shop-nav-link {
    color: var(--muted-linen) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}
.shop-nav-link:hover { color: var(--linen-light) !important; }

.btn-shop-order {
    background: var(--accent-brass);
    color: #141715 !important;
    text-decoration: none !important;
    padding: 0.55rem 1.4rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(212, 163, 115, 0.25);
}
.btn-shop-order:hover {
    background: #e2b78d;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(212, 163, 115, 0.4);
}

/* مقدمة الدكان */
.shop-header {
    padding: 5.5rem 6% 3.5rem;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.shop-pill-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--pastel-sage);
    border: 1px solid rgba(163, 177, 138, 0.35);
    background: rgba(163, 177, 138, 0.08);
    padding: 0.35rem 0.95rem;
    border-radius: 99px;
    margin-bottom: 1.5rem;
}
.shop-main-title {
    font-size: 3.2vw;
    color: var(--linen-light);
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}
.shop-sub {
    font-size: 1.15rem;
    color: var(--muted-linen);
    line-height: 1.8;
}

/* لافتة الدكان المعلقة */
.shop-showcase-container {
    padding: 2rem 6% 7rem;
    max-width: 1250px;
    margin: 0 auto;
}

.storefront-plaque {
    background: #181d1a;
    border: 1.5px solid rgba(212, 163, 115, 0.35);
    border-radius: 16px;
    padding: 2.6rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(212, 163, 115, 0.03);
    margin-bottom: 5rem;
}
.plaque-rivet {
    position: absolute; width: 10px; height: 10px;
    background: #8e6c4c; border-radius: 50%;
    border: 1px solid #4a3420;
}
.plaque-rivet.tl { top: 12px; left: 12px; }
.plaque-rivet.tr { top: 12px; right: 12px; }
.plaque-rivet.bl { bottom: 12px; left: 12px; }
.plaque-rivet.br { bottom: 12px; right: 12px; }

.plaque-est {
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    color: var(--pastel-sage);
    display: block;
    margin-bottom: 0.5rem;
}
.storefront-plaque h2 {
    font-size: 2.2rem;
    color: var(--linen-light);
    margin-bottom: 0.4rem;
}
.storefront-plaque p {
    color: var(--muted-linen);
    font-size: 0.95rem;
}

/* شبكة المنتجات الحرفية (3 أعمدة دائماً) */
.boho-shelves-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.artisan-card {
    background: var(--shop-card);
    border: 1px solid var(--shop-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.artisan-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 163, 115, 0.45);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 163, 115, 0.08);
}

.artisan-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.5;
    overflow: hidden;
    background: #111412;
}
.artisan-media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.9) contrast(1.08) saturate(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.artisan-card:hover .artisan-media img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1) saturate(1.05);
}

/* بادج الكتان الأنيق */
.kraft-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: #e8e3d8;
    color: #1f2420;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    border: 1px dashed rgba(31, 36, 32, 0.3);
}
.kraft-badge .edition-no {
    font-size: 0.65rem; font-weight: 600; font-family: var(--font-en);
    color: #636b65;
}
.kraft-badge .price-val {
    font-size: 0.95rem; font-weight: 700; color: #8c5a2b;
}

.artisan-details {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.category-tag {
    font-size: 0.75rem;
    color: var(--pastel-sage);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}
.artisan-details h3 {
    font-size: 1.35rem;
    color: var(--linen-light);
    margin-bottom: 0.8rem;
}
.artisan-details p {
    font-size: 0.9rem;
    color: var(--muted-linen);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    flex: 1;
}

.btn-acquire {
    display: block;
    text-align: center;
    background: rgba(240, 237, 230, 0.04);
    border: 1px solid var(--shop-border);
    color: var(--linen-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 99px;
    transition: all 0.25s ease;
}
.btn-acquire:hover {
    background: var(--accent-brass);
    border-color: var(--accent-brass);
    color: #141715;
    box-shadow: 0 4px 18px rgba(212, 163, 115, 0.35);
}

.shop-artisan-promise {
    margin-top: 5rem;
    text-align: center;
    background: rgba(163, 177, 138, 0.06);
    border: 1px solid rgba(163, 177, 138, 0.2);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    color: var(--linen-light);
    font-size: 0.95rem;
}

/* فوتر الدكان */
.shop-footer {
    border-top: 1px solid var(--shop-border);
    padding: 3rem 6%;
    background: #0f1210;
}
.shop-footer-bar {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.85rem; color: var(--muted-linen);
}
.shop-footer-bar .links { display: flex; gap: 2rem; }
.shop-footer-bar .links a {
    color: var(--muted-linen); text-decoration: none; transition: color 0.2s ease;
}
.shop-footer-bar .links a:hover { color: var(--accent-brass); }