body {
    direction: rtl;
    font-family: 'Tajawal', Arial, sans-serif;
    background: #f7f8fa;
    margin: 0;
    padding: 0;
    color: #222;
}
hr {
    border: none;
    border-top: 1.5px solid #e5e8f1;
    margin: 18px 0;
}
header.main-header {
    background: linear-gradient(90deg, #5164ae 0%, #4258d4 100%);
    color: #fff;
    box-shadow: 0 2px 15px rgba(80,100,170,0.07);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.logo-text, .site-title {
    font-weight: bold;
    font-size: 1.7em;
    color: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    letter-spacing: 1.5px;
}
.logo-text i { margin-left: 7px; color: #fee23e; }
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    min-height: 60px;
}
.main-nav {
    display: flex;
    gap: 20px;
}
.main-nav a, .main-nav .nav-spacer, .main-nav button {
    color: #fff;
    text-decoration: none;
    font-size: 1.07em;
    font-weight: 600;
    background: none;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.13s, color 0.13s;
    cursor: pointer;
    display: flex; align-items: center;
}
.main-nav a i, .main-nav button i { margin-left: 6px; font-size: 1.12em; }
.main-nav a.active, .main-nav a:hover, .main-nav button:hover {
    background: rgba(255,255,255,0.17);
    color: #fee23e;
}
.nav-spacer {
    border-right: 1.5px solid #fff3;
    margin: 0 10px;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
}
.side-nav {
    position: fixed;
    top: 0;
    right: -270px;
    width: 230px;
    height: 100%;
    background: #3e54a7;
    box-shadow: -2px 0 18px rgba(0,0,0,0.09);
    color: #fff;
    padding: 22px 12px 0 0;
    z-index: 200;
    transition: right 0.23s;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.side-nav.open { right: 0; }
.side-nav .close-btn {
    background: none;
    border: none;
    color: #fee23e;
    font-size: 2em;
    align-self: flex-end;
    cursor: pointer;
}
.side-nav a {
    color: #fff;
    padding: 11px 2px;
    border-radius: 5px;
    font-size: 1.06em;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background 0.12s;
}
.side-nav a i { margin-left: 7px; }
.side-nav a:hover { background: rgba(255,255,255,0.08);}
@media (max-width: 1000px) {
    .main-nav { display: none; }
    .nav-toggle { display: block;}
    .nav-wrap { padding: 0 7px;}
    .logo-text { font-size: 1.25em; }
}
@media (max-width: 700px) {
    .logo-text { font-size: 1.05em; }
    .side-nav { width: 83vw; min-width: 148px;}
}
footer {
    background: #4258d4;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    margin-top: 50px;
    font-size: 1.03em;
}
h2, h3, h4, h5 {
    color: #283686;
    font-family: inherit;
    margin-top: 0.9em;
}
.btn-main, .btn-primary {
    background: linear-gradient(90deg, #fee23e 0%, #f7b82f 100%);
    color: #2c387e;
    font-weight: 700;
    border-radius: 22px;
    padding: 7px 22px;
    border: none;
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(255,226,62,0.06);
    transition: background 0.13s, color 0.14s;
    text-decoration: none;
    display: inline-block;
    margin: 8px 0;
    cursor: pointer;
}
.btn-main:hover, .btn-primary:hover {
    background: linear-gradient(90deg, #f7b82f 0%, #fee23e 100%);
    color: #29305b;
}
input[type="text"], input[type="email"], input[type="password"], select, textarea {
    border: 1.5px solid #c2cae8;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 1.02em;
    background: #fdfdfd;
    margin-bottom: 8px;
    width: 98%;
    transition: border 0.12s;
    box-sizing: border-box;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
    border-color: #4258d4;
    background: #f6f8ff;
    outline: none;
}
label {
    font-weight: 600;
    color: #29305b;
    display: block;
    margin-bottom: 3px;
}
form { margin: 0 auto 25px auto; max-width: 390px;}
.message-error, .message-success {
    background: #fee7ea;
    color: #d60023;
    padding: 9px 15px;
    border-radius: 7px;
    margin: 11px auto;
    width: 95%;
    font-weight: 600;
    font-size: 1.07em;
    border: 1px solid #f4b4c3;
}
.message-success {
    background: #e6fbe6;
    color: #17a900;
    border: 1px solid #b5e6b5;
}
.product-list {
    display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 25px;
}
.product-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 16px rgba(41,63,118,0.07);
    padding: 15px 16px 16px 16px;
    min-width: 210px; max-width: 220px;
    text-align: center;
    transition: box-shadow 0.13s, transform 0.10s;
    margin-bottom: 14px;
    position: relative;
}
.product-card img {
    max-width: 96%;
    height: 115px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}
.product-card h3 {
    margin: 8px 0 6px 0;
    font-size: 1.19em;
    font-weight: bold;
    color: #3b4597;
}
.product-card p { color: #222b6e; margin: 0 0 7px 0;}
.product-card a {
    display: inline-block;
    background: #4258d4;
    color: #fff;
    border-radius: 19px;
    padding: 5px 18px;
    text-decoration: none;
    margin-top: 4px;
    font-weight: 600;
    font-size: 1em;
    transition: background 0.12s;
}
.product-card a:hover { background: #fee23e; color: #283686;}
::-webkit-input-placeholder { color: #99a0be; }
::-moz-placeholder { color: #99a0be; }
:-ms-input-placeholder { color: #99a0be; }
::placeholder { color: #99a0be; }
