/* ElsaFwaFiber - RTL Arabic corporate theme (native, no framework) */
/* Anti-spam honeypot - visually hidden but focusable by bots */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:root{
  --primary:#f0a81e; --primary-dark:#d49618; --accent:#f1b43e; --accent-dark:#e5a832;
  --ink:#222; --muted:#6b7280; --bg:#fff; --alt:#f7f7f7; --border:#e5e7eb;
  --topbar:#16323d; --footer:#15323d;
  --orange:#ECA322; --blue:#3DA1D5;
  --radius:12px; --shadow:0 6px 22px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:"Cairo","Segoe UI",Tahoma,system-ui,sans-serif;color:var(--ink);background:#fff;line-height:1.7}
a{color:var(--primary);text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1180px;margin:0 auto;padding:0 18px}

/* Top bar */
.topbar{background:var(--topbar);color:#fff;font-size:13px}
.topbar-inner{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:7px 18px}
.topbar a{color:#fff;margin-inline-start:4px}
.topbar-social a{margin-inline-start:12px}

/* Header */
.site-header{background:#fff;border-bottom:3px solid var(--orange);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px}
.brand img{height:74px}
.brand-name{font-size:22px;font-weight:800;color:var(--orange)}
.main-nav ul{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.main-nav li a{display:block;padding:10px 14px;border-radius:8px;color:var(--ink);font-weight:600}
.main-nav li a:hover{background:var(--alt);color:var(--orange)}
.main-nav li.active a{background:var(--orange);color:#fff}
.nav-toggle{display:none;background:none;border:1px solid var(--border);border-radius:8px;font-size:22px;padding:4px 10px;cursor:pointer}
.lang-switch{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;white-space:nowrap}
.lang-switch a{color:var(--ink);padding:4px 6px;border-radius:6px}
.lang-switch a.active{color:#fff;background:var(--orange)}
.lang-switch span{color:var(--border)}

/* Buttons (generic) */
.btn{display:inline-block;padding:12px 22px;border-radius:30px;font-weight:700;border:2px solid transparent;cursor:pointer}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark)}
.btn-outline{border-color:var(--primary);color:var(--primary);background:transparent}
.btn-outline:hover{background:var(--primary);color:#fff}

/* Sections (generic) */
.section{padding:54px 0}
.section-alt{background:var(--alt)}
.section-title{text-align:center;font-size:30px;margin:0 0 30px;position:relative}
.section-title::after{content:"";display:block;width:70px;height:4px;background:var(--primary);margin:12px auto 0;border-radius:4px}
.prose{font-size:17px;color:#374151;max-width:880px;margin:0 auto}
.prose img{max-width:100%}

/* Category grid */
.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.category-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:0;text-align:center;box-shadow:var(--shadow);transition:.2s;overflow:hidden;display:flex;flex-direction:column}
.category-card:hover{transform:translateY(-4px);border-color:var(--primary)}
.category-card-img{width:100%;height:180px;overflow:hidden}
.category-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.category-card:hover .category-card-img img{transform:scale(1.08)}
.category-card h3{margin:16px 0 6px;color:var(--primary);padding:0 16px}
.category-card span{color:var(--muted);font-size:14px;padding-bottom:16px;display:block}

/* Product grid (catalog page) */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.product-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:.2s}
.product-card:hover{transform:translateY(-4px);border-color:var(--primary)}
.product-card-img{height:200px;background-size:cover;background-position:center;background-color:var(--alt)}
.product-card-body{padding:14px 16px}
.product-card-body h3{margin:0 0 6px;font-size:17px}
.badge{display:inline-block;background:var(--alt);color:var(--primary);border:1px solid var(--border);padding:2px 10px;border-radius:20px;font-size:12px}

/* Catalogue layout */
.catalog-layout{display:grid;grid-template-columns:260px 1fr;gap:28px}
.catalog-sidebar{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:18px;align-self:start;position:sticky;top:90px}
.catalog-sidebar h3{margin:0 0 12px}
.cat-filter{list-style:none;margin:0;padding:0}
.cat-filter li a{display:block;padding:9px 12px;border-radius:8px;color:var(--ink)}
.cat-filter li a:hover{background:var(--alt)}
.cat-filter li.active a{background:var(--primary);color:#fff}
.catalog-heading{margin:0 0 16px;color:var(--muted)}

/* Product detail */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:34px}
.product-main-img{height:420px;background-size:cover;background-position:center;background-color:var(--alt);border-radius:var(--radius)}
.product-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.thumb{width:80px;height:80px;background-size:cover;background-position:center;border-radius:10px;border:1px solid var(--border);cursor:pointer}
.product-info h1{margin:0 0 10px;font-size:28px}
.product-content{margin:16px 0 22px}
.product-actions{display:flex;gap:12px;flex-wrap:wrap}

/* CTA */
.cta{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;text-align:center;padding:50px 0}
.cta h2{margin:0 0 8px;font-size:28px}
.cta p{margin:0 0 18px}
.cta .btn-primary{background:#fff;color:var(--primary)}

/* Contact */
.contact-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:34px}
.contact-form label{display:block;margin-bottom:14px;font-weight:600}
.contact-form input,.contact-form textarea{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:10px;margin-top:6px;font-family:inherit;font-size:15px}
.alert{padding:12px 16px;border-radius:10px;margin-bottom:16px}
.alert-success{background:#fef9e7;color:#856404;border:1px solid #ffeeba}
.alert-error{background:#fdecec;color:#c0392b;border:1px solid #f3c2c2}

/* Footer */
.site-footer{background:var(--footer);color:#cfd8d4;margin-top:0}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:46px 18px 30px}
.footer-grid h3{color:#fff;margin:0 0 12px}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:8px}
.footer-links a{color:#cfd8d4}
.footer-links a:hover{color:#fff}
.footer-bottom{background:#0f2730;padding:14px 0;text-align:center;font-size:14px}

/* Hero slider (other pages fallback) */
.hero-slider{position:relative;min-height:72vh;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;text-align:center;background:var(--primary)}
.hero-track{position:absolute;inset:0}
.hero-track .slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1s ease}
.hero-track .slide.active{opacity:1}
.hero-inner{position:relative;z-index:2;max-width:860px;margin:0 auto;padding:0 18px}
.hero h1,.hero-slider h1{font-family:'Cairo',system-ui,sans-serif;font-size:clamp(32px,6vw,60px);font-weight:700;line-height:1.25;margin:0 0 14px;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.hero p,.hero-slider p{font-size:clamp(16px,2.4vw,20px);opacity:.95;margin:0 0 26px;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.hero .btn-outline,.hero-slider .btn-outline{color:#fff;border-color:#fff}
.hero .btn-outline:hover,.hero-slider .btn-outline:hover{background:#fff;color:var(--primary)}
.hero-dots{position:absolute;z-index:3;bottom:22px;left:0;right:0;display:flex;gap:10px;justify-content:center}
.hero-dots .dot{width:13px;height:13px;border-radius:50%;border:2px solid #fff;background:transparent;cursor:pointer;padding:0;opacity:.8;transition:.3s}
.hero-dots .dot.active{background:#fff;opacity:1;transform:scale(1.15)}

/* ============================================================
   HOME PAGE DESIGN (matches frontdesign design.PNG)
   ============================================================ */

/* --- Hero intro strip (white, logo + text side by side) --- */
.hp-hero {
    background: #fff;
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}
.hp-hero__inner {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-direction: row-reverse; /* logo right, text left in RTL */
}
.hp-hero__logo {
    flex: 0 0 200px;
    text-align: center;
}
.hp-hero__logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}
.hp-hero__body {
    flex: 1;
    text-align: right;
}
.hp-hero__title {
    font-size: 30px;
    font-weight: 800;
    color: var(--blue);
    margin: 0 0 16px;
    line-height: 1.4;
}
.hp-hero__desc {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin: 0 0 26px;
}
.hp-btn-primary {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    transition: background .2s;
}
.hp-btn-primary:hover { background: #d6901a; color: #fff; }
.hp-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
}
.hp-btn-wa:hover { background: #1ebe5d; color: #fff; }

/* --- Coloured bands (orange/blue) --- */
.hp-band {
    padding: 55px 0;
}
.hp-band--orange { background: var(--orange); }
.hp-band--blue   { background: var(--blue);   }

.hp-band__grid {
    display: flex;
    align-items: stretch;
    gap: 0;
}
.hp-band__cell {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 0 30px;
    /* icon on right, text on left in RTL */
    flex-direction: row-reverse;
    text-align: right;
    color: #fff;
}
.hp-band__divider {
    width: 1px;
    background: rgba(255,255,255,.35);
    margin: 0;
    flex-shrink: 0;
}
.hp-band__icon-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border: 3px solid rgba(255,255,255,.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}
.hp-band__icon-wrap--circle {
    border: 3px solid rgba(255,255,255,.7);
}
.hp-band__icon {
    font-size: 28px;
    color: #fff;
}
.hp-band__text h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}
.hp-band__text p {
    font-size: 14px;
    line-height: 1.85;
    margin: 0 0 10px;
    color: rgba(255,255,255,.92);
}
.hp-band__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hp-band__list li {
    position: relative;
    padding-right: 18px;
    margin-bottom: 9px;
    font-size: 14px;
    color: rgba(255,255,255,.92);
    line-height: 1.7;
}
.hp-band__list li::before {
    content: "\2022";
    position: absolute;
    right: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
}

/* --- Products section --- */
.hp-products {
    background: #f5f5f5;
    padding: 55px 0;
}
.hp-section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 10px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(50%);
}
/* underline */
.hp-section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--blue);
    margin: 8px auto 0;
    border-radius: 3px;
}
/* wrapper to handle inline-block centering trick */
.hp-products > .container > h2.hp-section-title {
    display: block;
    left: 0;
    transform: none;
    margin-bottom: 36px;
}

.hp-products__grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hp-prod-card {
    flex: 0 1 calc(20% - 14px);
    min-width: 160px;
    max-width: 220px;
    text-align: center;
    text-decoration: none;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}
.hp-prod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.hp-prod-card__img {
    width: 100%;
    height: 170px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}
.hp-prod-card__name {
    display: block;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    /* layout */
    .catalog-layout,.product-detail,.contact-layout{grid-template-columns:1fr}
    .catalog-sidebar{position:static}
    .footer-grid{grid-template-columns:1fr}
    /* nav */
    .nav-toggle{display:block}
    .main-nav ul{display:none;position:absolute;top:100%;right:0;left:0;background:#fff;flex-direction:column;padding:10px;border-bottom:1px solid var(--border);box-shadow:var(--shadow)}
    .main-nav.open ul{display:flex}
    /* home bands */
    .hp-band__grid { flex-direction: column; }
    .hp-band__divider { width: 100%; height: 1px; margin: 20px 0; }
    .hp-band__cell { padding: 0 10px; flex-direction: column; align-items: center; text-align: center; }
    .hp-band__list li { padding-right: 0; text-align: right; }
    /* hero intro */
    .hp-hero__inner { flex-direction: column; text-align: center; }
    .hp-hero__body { text-align: center; }
    /* products */
    .hp-prod-card { flex: 0 1 calc(33% - 12px); }
}
@media (max-width: 560px) {
    .hp-prod-card { flex: 0 1 calc(50% - 10px); }
}
