@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800;900&display=swap');

:root {
    --gold: #c9a15a;
    --gold-light: #e8c88a;
    --gold-dark: #9c7a3d;
    --gold-glow: rgba(201, 161, 90, 0.35);
    --onyx: #0d0b08;
    --charcoal: #17140f;
    --charcoal-2: #211c14;
    --cream: #f8f4ec;
    --cream-2: #f0e9d8;
    --ivory: #fffdf8;
    --text-dark: #1c1710;
    --text-muted: #6f6552;
    --text-on-dark: #e8e0cf;
    --text-on-dark-muted: #a89b7d;
    --border-light: #e9e0cc;
    --border-dark: rgba(201, 161, 90, 0.18);
    --shadow-soft: 0 10px 40px rgba(28, 23, 16, 0.08);
    --shadow-lift: 0 25px 60px rgba(28, 23, 16, 0.18);
    --shadow-gold: 0 15px 45px rgba(201, 161, 90, 0.28);
    --radius: 18px;
    --radius-sm: 10px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.75;
    direction: rtl;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--gold); color: #fff; }

h1, h2, h3, .display-font { font-family: 'Playfair Display', 'Cairo', serif; }

/* شاشة الترحيب الافتتاحية */
#welcomeSplash {
    position: fixed; inset: 0; z-index: 10000;
    background: radial-gradient(ellipse 120% 90% at 50% 20%, #3a2e18 0%, var(--onyx) 65%);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
#welcomeSplash.hide { opacity: 0; visibility: hidden; }
#welcomeSplash::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(var(--border-dark) 1px, transparent 1px), linear-gradient(90deg, var(--border-dark) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%);
    opacity: .6;
}
.welcome-decor {
    position: absolute; font-size: 50px; opacity: .35; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4));
    animation: floatY 5s ease-in-out infinite;
}
.welcome-decor.d1 { top: 14%; right: 12%; animation-delay: 0s; font-size: 60px; }
.welcome-decor.d2 { bottom: 18%; left: 10%; animation-delay: .6s; }
.welcome-decor.d3 { top: 22%; left: 14%; animation-delay: 1.2s; font-size: 44px; }
.welcome-decor.d4 { bottom: 14%; right: 16%; animation-delay: 1.8s; font-size: 44px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.welcome-content { position: relative; text-align: center; animation: welcomeIn 1s var(--ease) both; }
@keyframes welcomeIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.welcome-emblem {
    width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 26px;
    background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
    display: flex; align-items: center; justify-content: center; font-size: 40px;
    box-shadow: var(--shadow-gold);
}
.welcome-content h1 { font-size: 40px; color: var(--text-on-dark); margin-bottom: 12px; letter-spacing: -.5px; }
.welcome-content p { color: var(--gold-light); font-size: 15.5px; letter-spacing: .5px; }

/* preloader */
#preloader { position: fixed; inset: 0; z-index: 9999; background: var(--onyx); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; transition: opacity .6s var(--ease), visibility .6s var(--ease); }
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-emblem { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--border-dark); border-top-color: var(--gold); animation: spin 1s linear infinite; position: relative; }
.preloader-emblem::after { content: '🏛️'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.preloader-text { color: var(--gold-light); letter-spacing: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* عناصر عائمة */
.float-btn { position: fixed; z-index: 90; bottom: 26px; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: var(--shadow-lift); cursor: pointer; transition: transform .3s var(--ease); }
.float-btn:hover { transform: scale(1.1) translateY(-3px); }
.whatsapp-float { left: 26px; background: linear-gradient(145deg,#25d366,#1ea952); color: #fff; }
.top-float { right: 26px; background: var(--onyx); color: var(--gold); border: 1px solid var(--border-dark); opacity: 0; pointer-events: none; transform: translateY(20px); }
.top-float.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.chat-float { left: 26px; background: linear-gradient(145deg, var(--gold-light), var(--gold-dark)); color: var(--onyx); z-index: 95; position: fixed; }
.chat-notif-dot { position: absolute; top: -2px; left: -2px; width: 14px; height: 14px; border-radius: 50%; background: #e2554a; border: 2px solid var(--ivory); display: none; }
.chat-notif-dot.show { display: block; animation: pulseDot 1.4s infinite; }
@keyframes pulseDot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* جرس إشعارات بالهيدر العام */
.site-notif-bell { position: relative; background: var(--cream-2); border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.site-notif-bell .dot { position: absolute; top: 5px; left: 5px; width: 9px; height: 9px; border-radius: 50%; background: #e2554a; border: 2px solid var(--ivory); display: none; }
.site-notif-bell .dot.show { display: block; }

/* لوحة الدردشة العائمة */
.chat-panel {
    position: fixed; z-index: 96; left: 26px; bottom: 92px;
    width: 340px; max-width: calc(100vw - 52px); max-height: 480px;
    background: var(--ivory); border-radius: 20px; box-shadow: var(--shadow-lift);
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; transform: translateY(20px) scale(.95); pointer-events: none;
    transition: all .35s var(--ease);
    border: 1px solid var(--border-light);
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-panel-head {
    background: var(--onyx); color: var(--text-on-dark); padding: 16px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.chat-panel-head b { display: block; font-size: 14.5px; }
.chat-panel-head span { font-size: 11.5px; color: var(--gold-light); }
.chat-panel-head button { background: rgba(255,255,255,.1); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 13px; }
.chat-panel-notice { background: #fff6e0; color: #8a6a1f; font-size: 11.5px; padding: 10px 16px; text-align: center; border-bottom: 1px solid #f0dca0; line-height: 1.7; }
.chat-error { color: #c22b1f; font-size: 12px; text-align: center; padding: 0 14px; min-height: 0; }
.chat-error:not(:empty) { padding: 8px 14px; }
.chat-panel-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.chat-empty { text-align: center; color: var(--text-muted); font-size: 13px; padding: 20px 10px; line-height: 1.9; }
.chat-bubble { max-width: 82%; padding: 10px 15px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; white-space: pre-line; }
.chat-bubble.visitor { align-self: flex-start; background: var(--gold-dark); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.admin { align-self: flex-end; background: var(--cream-2); color: var(--text-dark); border-bottom-left-radius: 4px; }
.chat-bubble.system { align-self: center; background: #fff6e0; color: #8a6a1f; font-size: 12px; text-align: center; border: 1px solid #f0dca0; max-width: 92%; }
.chat-panel-form { padding: 14px; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 8px; background: var(--cream); }
.chat-panel-form input[type=text] { padding: 10px 14px; border: 1.5px solid var(--border-light); border-radius: 20px; font-family: 'Cairo', sans-serif; font-size: 13px; outline: none; background: var(--ivory); }
.chat-panel-form input[type=text]:focus { border-color: var(--gold); }
.chat-panel-form button { border: none; background: var(--onyx); color: var(--gold-light); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; flex-shrink: 0; font-size: 15px; }
.chat-panel-form.name-hidden #chatNameInput { display: none; }

/* top bar */
.top-bar { background: var(--onyx); color: var(--text-on-dark-muted); font-size: 12.5px; padding: 9px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: var(--text-on-dark-muted); transition: color .2s; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar .tb-links { display: flex; gap: 22px; }
.top-bar .tb-social { display: flex; gap: 14px; }

/* الهيدر */
.site-header { background: rgba(255, 253, 248, 0.92); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-light); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: var(--shadow-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.logo .mark { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, var(--gold-light), var(--gold-dark)); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow-gold); }
.logo .txt { display: flex; flex-direction: column; }
.logo .txt b { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 800; color: var(--text-dark); letter-spacing: .5px; }
.logo .txt span { font-size: 10.5px; color: var(--gold-dark); letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }

.main-nav { display: flex; gap: 8px; align-items: center; }
.main-nav a { font-weight: 700; font-size: 14px; color: var(--text-dark); padding: 10px 18px; border-radius: 30px; position: relative; transition: all .25s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); background: var(--cream-2); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.search-box { display: flex; align-items: center; background: var(--cream-2); border-radius: 30px; padding: 8px 8px 8px 18px; border: 1px solid transparent; transition: border-color .2s; }
.search-box:focus-within { border-color: var(--gold); }
.search-box input { border: none; background: transparent; outline: none; font-family: 'Cairo', sans-serif; font-size: 14px; width: 150px; }
.search-box button { border: none; width: 34px; height: 34px; border-radius: 50%; background: var(--onyx); color: var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.menu-toggle { display: none; background: var(--onyx); color: var(--gold); border: none; width: 42px; height: 42px; border-radius: 12px; font-size: 18px; cursor: pointer; }

/* أزرار */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 34px; border-radius: 40px; font-weight: 700; font-size: 14.5px; cursor: pointer; border: none; transition: all .35s var(--ease); position: relative; overflow: hidden; }
.btn span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; }
.btn-gold { background: linear-gradient(120deg, var(--gold-light), var(--gold), var(--gold-dark)); background-size: 200% 100%; color: var(--onyx); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background-position: 100% 0; transform: translateY(-3px); box-shadow: 0 20px 50px rgba(201,161,90,.4); }
.btn-outline-light { background: transparent; color: var(--text-on-dark); border: 1.5px solid rgba(232,224,207,.35); }
.btn-outline-light:hover { background: rgba(232,224,207,.1); border-color: var(--gold); }
.btn-dark { background: var(--onyx); color: var(--gold-light); }
.btn-dark:hover { background: #000; transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* الهيرو */
.hero { position: relative; background: radial-gradient(ellipse 120% 80% at 75% 0%, #2b2213 0%, var(--onyx) 55%), var(--onyx); color: var(--text-on-dark); padding: 160px 0 130px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--border-dark) 1px, transparent 1px), linear-gradient(90deg, var(--border-dark) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 20%, transparent 75%); opacity: .5; }
.hero .orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; opacity: .5; }
.hero .orb-1 { width: 420px; height: 420px; background: radial-gradient(circle, var(--gold-glow), transparent 70%); top: -120px; left: -80px; }
.hero .orb-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(201,161,90,.25), transparent 70%); bottom: -100px; right: 5%; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-content .eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(201,161,90,.1); border: 1px solid var(--border-dark); padding: 8px 20px; border-radius: 30px; font-size: 12.5px; margin-bottom: 26px; color: var(--gold-light); font-weight: 700; letter-spacing: .5px; }
.hero-content .eyebrow::before { content: '✦'; color: var(--gold); }
.hero-content h1 { font-size: 58px; font-weight: 800; margin-bottom: 22px; line-height: 1.25; letter-spacing: -.5px; }
.hero-content h1 em { font-style: normal; color: var(--gold); background: linear-gradient(120deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 17.5px; color: var(--text-on-dark-muted); margin-bottom: 38px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 800; color: var(--gold-light); }
.hero-stats .stat span { font-size: 12.5px; color: var(--text-on-dark-muted); letter-spacing: .5px; }

.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-visual .tile { border-radius: 20px; overflow: hidden; position: relative; background: linear-gradient(160deg, var(--charcoal-2), var(--charcoal)); border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; font-size: 40px; box-shadow: var(--shadow-lift); }
.hero-visual .tile::before { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--gold-glow), transparent 70%); filter: blur(10px); }
.hero-visual .tile-ic { position: relative; z-index: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.hero-visual .tile.tall { grid-row: span 2; height: 100%; min-height: 340px; }
.hero-visual .tile:not(.tall) { height: 160px; }
.hero-visual .tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-visual .badge-float { position: absolute; bottom: -22px; right: -22px; background: var(--ivory); color: var(--text-dark); padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow-lift); display: flex; align-items: center; gap: 12px; }
.hero-visual .badge-float .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.hero-visual .badge-float b { display: block; font-size: 14px; }
.hero-visual .badge-float span { font-size: 11.5px; color: var(--text-muted); }

.trust-strip { background: var(--charcoal); border-top: 1px solid var(--border-dark); padding: 22px 0; }
.trust-strip .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--text-on-dark-muted); font-size: 13px; font-weight: 600; }
.trust-item .n { color: var(--gold); font-size: 18px; }

/* الأقسام العامة */
.section { padding: 100px 0; }
.section-alt { background: var(--ivory); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-head .tag { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-dark); font-weight: 800; font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px; }
.section-head .tag::before, .section-head .tag::after { content: ''; width: 26px; height: 1.5px; background: var(--gold); }
.section-head h2 { font-size: 38px; font-weight: 800; margin-bottom: 14px; letter-spacing: -.5px; }
.section-head p { color: var(--text-muted); font-size: 15.5px; }
.section-head.light h2 { color: var(--text-on-dark); }
.section-head.light p { color: var(--text-on-dark-muted); }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* شبكة الأقسام */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 340px; background: linear-gradient(160deg, var(--charcoal-2), var(--onyx)); box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; align-items: flex-end; }
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,11,8,.95) 10%, rgba(13,11,8,.2) 55%, transparent 80%); z-index: 1; }
.cat-card .cat-bg { position: absolute; inset: 0; background: var(--charcoal-2) center/cover no-repeat; transition: transform .7s var(--ease); }
.cat-card:hover .cat-bg { transform: scale(1.08); }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.cat-card .cat-num { position: absolute; top: 20px; left: 20px; z-index: 2; font-family: 'Playfair Display', serif; font-size: 13px; color: var(--gold-light); border: 1px solid var(--border-dark); padding: 5px 12px; border-radius: 20px; background: rgba(13,11,8,.4); backdrop-filter: blur(6px); }
.cat-card .cat-body { position: relative; z-index: 2; padding: 30px; color: #fff; width: 100%; }
.cat-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.cat-card p { font-size: 13.5px; color: var(--text-on-dark-muted); margin-bottom: 16px; min-height: 38px; }
.cat-card .cat-link { color: var(--gold-light); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: gap .3s; }
.cat-card:hover .cat-link { gap: 14px; }

/* شبكة المنتجات */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 28px; }
.prod-card { background: var(--ivory); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; border: 1px solid var(--border-light); }
.prod-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lift); border-color: var(--gold-light); }
.prod-card .prod-img-wrap { position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: linear-gradient(160deg, var(--cream-2), var(--border-light)); }
.prod-card .prod-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--ease); }
.prod-card:hover .prod-img { transform: scale(1.1); }
.prod-card .prod-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,11,8,.25) 0%, transparent 35%); pointer-events: none; }
.prod-card .badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--onyx); color: var(--gold-light); font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 20px; letter-spacing: .5px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.prod-card .quick-view { position: absolute; inset: 0; background: rgba(13,11,8,.5); opacity: 0; display: flex; align-items: center; justify-content: center; transition: opacity .35s; z-index: 2; }
.prod-card:hover .quick-view { opacity: 1; }
.prod-card .quick-view span { background: var(--ivory); color: var(--text-dark); padding: 10px 26px; border-radius: 30px; font-weight: 700; font-size: 12.5px; letter-spacing: .3px; transform: translateY(10px); transition: transform .35s; box-shadow: var(--shadow-soft); }
.prod-card:hover .quick-view span { transform: translateY(0); }
.prod-card .prod-body { padding: 20px 22px 22px; }
.prod-card .prod-cat { font-size: 11px; color: var(--gold-dark); font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.prod-card .prod-cat::before { content: ''; width: 14px; height: 1.5px; background: var(--gold); }
.prod-card h4 { font-size: 17.5px; font-weight: 700; margin-bottom: 4px; font-family: 'Playfair Display', serif; line-height: 1.4; }
.prod-card .prod-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border-light); }
.prod-card .prod-price { color: var(--text-dark); font-weight: 800; font-size: 16.5px; font-family: 'Playfair Display', serif; }
.prod-card .prod-price small { font-size: 11px; color: var(--text-muted); font-weight: 600; font-family: 'Cairo', sans-serif; }
.prod-card .prod-arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; transition: background .3s, transform .3s, color .3s; color: var(--text-dark); flex-shrink: 0; }
.prod-card:hover .prod-arrow { background: var(--gold); color: var(--onyx); transform: rotate(-45deg); }

/* لماذا نحن */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.why-card { text-align: center; padding: 40px 26px; border-radius: var(--radius); background: var(--ivory); box-shadow: var(--shadow-soft); transition: transform .4s var(--ease); }
.why-card:hover { transform: translateY(-8px); }
.why-card .ic { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px; font-size: 30px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--cream-2), var(--ivory)); border: 1.5px solid var(--border-light); color: var(--gold-dark); }
.why-card h3 { font-size: 17.5px; margin-bottom: 10px; font-weight: 700; }
.why-card p { font-size: 13.5px; color: var(--text-muted); }

/* عدادات إحصائية */
.stats-band { background: var(--onyx); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.stats-band::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 20% 50%, var(--gold-glow), transparent 60%); opacity:.4; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; position: relative; }
.stats-grid .stat-item { text-align: center; }
.stats-grid .stat-item b { display: block; font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 800; color: var(--gold-light); margin-bottom: 6px; }
.stats-grid .stat-item span { font-size: 13px; color: var(--text-on-dark-muted); letter-spacing: 1px; }

/* الأخبار */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: var(--ivory); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .4s var(--ease); }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.news-card .news-img-wrap { aspect-ratio: 16 / 10; width: 100%; overflow: hidden; }
.news-card .news-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-img { transform: scale(1.08); }
.news-card .news-body { padding: 24px; }
.news-card .news-date { font-size: 11.5px; color: var(--gold-dark); font-weight: 800; margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.news-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; font-family: 'Playfair Display', serif; }
.news-card p { font-size: 13.5px; color: var(--text-muted); }
.news-card .read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gold-dark); margin-top: 14px; }

/* آراء العملاء */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testi-card { background: var(--ivory); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-soft); position: relative; }
.testi-card .quote-mark { font-family: 'Playfair Display', serif; font-size: 60px; color: var(--gold-light); line-height: 1; margin-bottom: 6px; }
.testi-card p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 22px; min-height: 90px; }
.testi-card .stars { color: var(--gold); margin-bottom: 14px; font-size: 14px; letter-spacing: 2px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, var(--gold-light), var(--gold-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; }
.testi-author b { display: block; font-size: 14px; }
.testi-author span { font-size: 12px; color: var(--text-muted); }

/* CTA */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, var(--charcoal-2) 0%, var(--onyx) 60%); color: var(--text-on-dark); padding: 70px 50px; text-align: center; border: 1px solid var(--border-dark); }
.cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, var(--gold-glow), transparent 55%); }
.cta-band h2 { position: relative; font-size: 30px; margin-bottom: 12px; }
.cta-band p { position: relative; color: var(--text-on-dark-muted); margin-bottom: 30px; }
.cta-band .btns { position: relative; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* نشرة بريدية */
.newsletter { background: var(--cream-2); padding: 60px 0; }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.newsletter-inner h3 { font-size: 22px; margin-bottom: 6px; }
.newsletter-inner p { color: var(--text-muted); font-size: 13.5px; }
.newsletter-form { display: flex; gap: 0; background: var(--ivory); border-radius: 40px; padding: 6px; box-shadow: var(--shadow-soft); min-width: 340px; }
.newsletter-form input { flex: 1; border: none; background: transparent; padding: 12px 20px; outline: none; font-family: 'Cairo', sans-serif; }
.newsletter-form button { border: none; border-radius: 30px; padding: 12px 26px; background: var(--onyx); color: var(--gold-light); font-weight: 700; cursor: pointer; }

/* الفوتر */
.site-footer { background: var(--onyx); color: var(--text-on-dark-muted); padding: 80px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--border-dark); }
.footer-grid .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-grid .f-logo b { font-family: 'Playfair Display', serif; color: #fff; font-size: 20px; }
.footer-grid h4 { color: #fff; font-size: 15.5px; margin-bottom: 22px; font-weight: 700; position: relative; padding-bottom: 12px; }
.footer-grid h4::after { content:''; position:absolute; bottom:0; right:0; width: 30px; height: 2px; background: var(--gold); }
.footer-grid p { font-size: 13.5px; line-height: 2; }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul li a { font-size: 13.5px; transition: all .25s; display: inline-flex; align-items: center; gap: 8px; }
.footer-grid ul li a:hover { color: var(--gold-light); gap: 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.footer-social a:hover { background: var(--gold); color: var(--onyx); transform: translateY(-4px); }
.footer-bottom { text-align: center; padding: 26px 0; font-size: 12.5px; color: #746a52; }
.footer-bottom span { color: var(--gold); }

/* صفحات داخلية عامة */
.page-banner { position: relative; background: radial-gradient(ellipse 100% 100% at 50% 0%, #2b2213, var(--onyx)); color: var(--text-on-dark); padding: 90px 0 60px; text-align: center; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--border-dark) 1px, transparent 1px), linear-gradient(90deg, var(--border-dark) 1px, transparent 1px); background-size: 50px 50px; -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000, transparent 80%); }
.page-banner h1 { position: relative; font-size: 38px; font-weight: 800; margin-bottom: 14px; }
.breadcrumb { position: relative; font-size: 13.5px; color: var(--text-on-dark-muted); }
.breadcrumb a { color: var(--text-on-dark-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }

.sub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }

/* تفاصيل المنتج */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-detail .main-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); height: 460px; background: var(--cream-2) center/cover no-repeat; position: relative; }
h1.detail-title { font-size: 30px; font-weight: 800; margin-bottom: 14px; font-family: 'Playfair Display', serif; }
.product-detail .price-tag { font-size: 28px; color: var(--gold-dark); font-weight: 800; margin: 16px 0; font-family: 'Playfair Display', serif; }
.product-detail .desc { color: var(--text-muted); margin-bottom: 28px; font-size: 15.5px; }
.info-badge { display: inline-flex; align-items:center; gap:8px; background: var(--cream-2); color: var(--gold-dark); padding: 8px 18px; border-radius: 30px; font-size: 13px; font-weight: 700; margin-bottom: 18px; border: 1px solid var(--border-light); }
.detail-features { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.detail-features .feat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); background: var(--ivory); padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border-light); }

.rating-line { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: var(--text-muted); }
.stars-static { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.stars-static.big { font-size: 26px; }

/* آراء العملاء وتقييمات المنتج */
.reviews-wrap { display: grid; grid-template-columns: .8fr 1.6fr; gap: 44px; align-items: start; }
.reviews-summary { background: var(--onyx); color: var(--text-on-dark); border-radius: var(--radius); padding: 36px 28px; text-align: center; position: sticky; top: 110px; }
.reviews-summary h2 { font-size: 22px; margin-bottom: 16px; color: #fff; }
.reviews-summary .big-rating { font-size: 52px; font-weight: 800; color: var(--gold-light); font-family: 'Playfair Display', serif; line-height: 1; }
.reviews-summary p { color: var(--text-on-dark-muted); font-size: 13px; margin-top: 8px; }

.review-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border-light); }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(145deg, var(--gold-light), var(--gold-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-head b { font-size: 14.5px; }
.review-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.review-date { font-size: 11.5px; color: var(--text-muted); }

.review-form-box { background: var(--ivory); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); margin-top: 20px; }
.review-form-box h3 { font-size: 18px; margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.star-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; margin-bottom: 22px; font-size: 30px; }
.star-picker input { display: none; }
.star-picker label { color: var(--border-light); cursor: pointer; transition: color .2s; }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: var(--gold); }

@media (max-width: 900px) {
    .reviews-wrap { grid-template-columns: 1fr; }
    .reviews-summary { position: static; }
}

/* ============================================================
   صفحة "تحدث معنا مباشرة" الكاملة
   ============================================================ */
.pc-wrap { max-width: 780px; margin: 0 auto; background: var(--ivory); border-radius: var(--radius); box-shadow: var(--shadow-lift); overflow: hidden; display: flex; flex-direction: column; }
.pc-head { display: flex; align-items: center; gap: 14px; padding: 20px 26px; background: var(--onyx); color: var(--text-on-dark); }
.pc-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(145deg, var(--gold-light), var(--gold-dark)); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.pc-head b { display: block; font-size: 16px; }
.pc-head span { font-size: 12.5px; color: var(--gold-light); }
.pc-notice { background: #fff6e0; color: #8a6a1f; font-size: 12.5px; padding: 12px 20px; text-align: center; border-bottom: 1px solid #f0dca0; line-height: 1.8; }

.pc-start-form { padding: 34px 30px; }
.pc-start-title { font-weight: 700; font-size: 15.5px; margin-bottom: 20px; text-align: center; }
.pc-error { color: #c22b1f; font-size: 13px; text-align: center; min-height: 18px; margin-bottom: 6px; }

.pc-thread { display: flex; flex-direction: column; height: 560px; }
.pc-messages { flex: 1; overflow-y: auto; padding: 26px; display: flex; flex-direction: column; gap: 4px; background: var(--cream); }
.pc-msg { max-width: 72%; padding: 12px 18px; border-radius: 16px; font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; white-space: pre-line; }
.pc-msg.visitor { align-self: flex-start; background: var(--gold-dark); color: #fff; border-bottom-right-radius: 4px; margin-right: 0; }
.pc-msg.admin { align-self: flex-end; background: var(--ivory); color: var(--text-dark); border: 1px solid var(--border-light); border-bottom-left-radius: 4px; }
.pc-msg.system { align-self: center; background: #fff6e0; color: #8a6a1f; font-size: 12.5px; text-align: center; border: 1px solid #f0dca0; max-width: 90%; }
.pc-form { display: flex; gap: 12px; padding: 18px 22px; border-top: 1px solid var(--border-light); background: var(--ivory); }
.pc-form input { flex: 1; padding: 13px 20px; border: 1.5px solid var(--border-light); border-radius: 30px; font-family: 'Cairo', sans-serif; font-size: 14px; outline: none; }
.pc-form input:focus { border-color: var(--gold); }
.pc-form button { border: none; background: var(--onyx); color: var(--gold-light); padding: 0 24px; border-radius: 30px; cursor: pointer; font-weight: 700; font-size: 13.5px; flex-shrink: 0; }

@media (max-width: 640px) {
    .pc-thread { height: 62vh; }
    .pc-head { padding: 16px 20px; }
}

/* تفاصيل الخبر */
.article { max-width: 820px; margin: 0 auto; }
.article .cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow-lift); }
.article .cover img { width: 100%; height: 420px; object-fit: cover; }
.article .meta { color: var(--text-muted); font-size: 13.5px; margin-bottom: 20px; display: flex; gap: 20px; }
.article .content { font-size: 16.5px; line-height: 2.1; }

/* نموذج التواصل */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; }
.contact-info-card { background: var(--onyx); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow-lift); color: var(--text-on-dark); position: relative; overflow: hidden; }
.contact-info-card::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 20% 90%, var(--gold-glow), transparent 55%); }
.contact-info-card .item { position: relative; display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-info-card .icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(201,161,90,.12); border: 1px solid var(--border-dark); color: var(--gold-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-info-card b { color: #fff; }
.form-card { background: var(--ivory); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow-soft); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 9px; font-weight: 700; font-size: 13.5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; border: 1.5px solid var(--border-light); border-radius: 12px; font-family: 'Cairo', sans-serif; font-size: 14px; outline: none; transition: all .25s; background: var(--cream); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); background: var(--ivory); box-shadow: 0 0 0 4px var(--gold-glow); }
.form-group textarea { resize: vertical; min-height: 130px; }
.alert { padding: 15px 20px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; font-weight: 700; }
.alert-success { background: #e4f5e9; color: #1e7e42; }
.alert-error { background: #fce8e6; color: #c22b1f; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state .icon { font-size: 56px; margin-bottom: 18px; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 46px; }
.pagination a, .pagination span { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ivory); box-shadow: var(--shadow-soft); font-weight: 800; font-size: 14px; transition: all .25s; }
.pagination a:hover { background: var(--onyx); color: var(--gold-light); }
.pagination a.active, .pagination span.active { background: var(--onyx); color: var(--gold-light); }

/* استجابة */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .search-box { display: none; }
    .top-bar .tb-links { display: none; }
    .product-detail, .contact-wrap { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 38px; }
    .hero { padding: 120px 0 80px; }
    .section { padding: 70px 0; }
    .cta-band { padding: 50px 26px; }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { min-width: 0; width: 100%; }
    /* يمنع التكبير التلقائي بمتصفح آيفون عند الضغط على أي حقل إدخال */
    .form-group input, .form-group textarea, .form-group select,
    .pc-form input, .chat-panel-form input, .search-box input { font-size: 16px; }
    .hero-visual { grid-template-columns: 1fr 1fr; }
    .cat-card { height: 300px; }
}
@media (max-width: 900px) {
    .main-nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; right: 0; left: 0; background: var(--ivory); padding: 20px; gap: 6px; box-shadow: var(--shadow-lift); border-top: 1px solid var(--border-light); }
    .main-nav.open a { text-align: center; }
}
@media (max-width: 560px) {
    .hero-content h1 { font-size: 30px; }
    .hero-stats { gap: 24px; }
    .section-head h2 { font-size: 28px; }
    .float-btn { width: 48px; height: 48px; font-size: 20px; }
    .product-detail .main-image { height: 280px; }
    .article .cover img { height: 220px; }
    .chat-panel { left: 12px; right: 12px; width: auto; bottom: 82px; }
    .whatsapp-float { left: 16px; bottom: 84px; }
    .chat-float { left: 16px; }
    .top-float { right: 16px; }

    /* الهيدر يضيق بشكل مريح على الشاشات الصغيرة جداً */
    .header-inner { gap: 8px; padding: 12px 0; }
    .logo { gap: 8px; }
    .logo .mark { width: 38px; height: 38px; font-size: 16px; }
    .logo .txt b { font-size: 16.5px; }
    .logo .txt span { font-size: 9px; letter-spacing: 1px; }
    .header-actions { gap: 8px; }
    .site-notif-bell { width: 38px; height: 38px; font-size: 15px; }
    .menu-toggle { width: 38px; height: 38px; font-size: 16px; }
    .top-bar .container { justify-content: center; text-align: center; }
    .top-bar .tb-links { gap: 14px; font-size: 11.5px; }

    .page-banner { padding: 60px 0 40px; }
    .page-banner h1 { font-size: 24px; }
    .section { padding: 50px 0; }

    /* صفحة تواصل معنا ونماذج عامة */
    .contact-info-card, .form-card { padding: 24px 20px; }

    /* صفحة الدردشة الكاملة */
    .pc-start-form { padding: 24px 18px; }
    .pc-head { padding: 14px 16px; gap: 10px; }
    .pc-avatar { width: 42px; height: 42px; font-size: 18px; }
    .pc-msg { max-width: 85%; }

    /* التقييمات */
    .review-form-box { padding: 20px; }
    .star-picker { font-size: 26px; }
    .reviews-summary { padding: 26px 20px; }

    /* بطاقات لماذا نحن والأخبار */
    .why-card, .news-card .news-body { padding: 22px 18px; }
}
