/* صفحة المنتجات */
* {
    font-family: 'El Messiri'; 
}
body { 
    font-family: 'El Messiri'; 
    background:#f9f9f9;
}

.product-container {
    max-width: 420px;
    background:#fff;
    margin:30px auto;
    padding:20px;
    border-radius:12px;
    box-shadow:0 0 10px rgba(0,0,0,0.08);
    text-align:center;
}

.main-image-box {
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    /*border: 1px solid #ddd;*/
    border-radius: 5px;
}

.thumb-box {
    margin-top: 15px; 
    display: flex; 
    gap: 10px; 
    justify-content: center;
    flex-wrap: wrap;
}

.thumb-box img {
    width: 60px; 
    height: 60px; 
    object-fit: cover; 
    border-radius: 6px; 
    cursor: pointer; 
    border: 1px solid #ccc;
    transition: 0.2s;
}

.thumb-box img:hover {
    transform: scale(1.05);
}
button {
    font-family: 'El Messiri';
    padding: 12px 20px; 
    background:#000; 
    color:#fff; 
    border:none; 
    cursor:pointer; 
    border-radius:8px; 
    width:100%;
    font-size:16px;
}
button.buy {
    font-family: 'El Messiri';
    padding: 12px 20px; 
    background:#2ecc71; 
    color:#fff; 
    border:none; 
    cursor:pointer; 
    border-radius:8px; 
    width:100%;
    font-size:16px;
}
button.buy:hover {
    background: #27ae60;
}

.back {
    background:#555;
}

.quantity-input {
    font-family: 'El Messiri'; 
    width:70px; 
    padding:8px; 
    border-radius:6px; 
    border:1px solid #ccc;
    text-align:center;
}
label {font-size: 20px; font-weight: 400;}

.share-whatsapp {
    display: block;
    background: #25D366;
    color: #fff;
    padding: 12px;
    text-align: center;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-family: 'El Messiri';
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
    transition: .2s;
}
.share-whatsapp:hover {
    background: #1eb84d;
    transform: translateY(-2px);
}
i.arb-sar {
    font-family: "sarsymbol" !important;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* اعلانات عن منتجات اخرى */
.related-title {
    text-align:center;
    font-size:20px;
    margin-top:40px;
    font-weight:bold;
}

.related-box {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
    margin:20px auto;
    max-width:500px;
}

.related-card {
    width:130px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 2px 5px rgba(0,0,0,0.1);
    padding:10px;
    text-align:center;
    transition:.2s;
}

.related-card:hover {
    transform:scale(1.05);
}

.related-card img {
    width:100%;
    height:100px;
    object-fit:cover;
    border-radius:8px;
}

.related-card h4 {
    font-size:14px;
    margin:8px 0;
}

.related-card p {
    font-size:14px;
    font-weight:bold;
    color:#333;
}
/* التقييمات */
.rating-box {
    background:#fff;
    border-radius:10px;
    padding:12px;
    margin:15px auto;
    max-width:420px;
    display:flex;
    align-items:center;
    gap:10px;
    box-shadow:0 2px 5px rgba(0,0,0,.1);
}

.rating-stars {
    color:#FFC107;
    font-size:20px;
}

.rating-number {
    font-size:17px;
    font-weight:bold;
}

.rating-count {
    font-size:14px;
    color:#777;
}
/* TAG */
.product-tags {
    margin-top: 25px;
    padding: 10px 15px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.product-tags h3 {
    margin-bottom: 10px;
    font-size: 17px;
    color: #444;
}

.tags-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #f0f0f0;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
    border: 1px solid #ddd;
    display: inline-block;
}

.tag-item:hover {
    background: #e2e2e2;
    border-color: #bbb;
}

.best-seller-badge {
    background: #e53935;
    color: #fff;
    padding: 6px 14px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.review-show {
    background:#e4e4e4;
    padding:12px;
    border-radius:8px;
    margin-bottom:10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}