*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Tajawal', sans-serif; background: #f0f2f5; color: #333; line-height: 1.7; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
[dir="rtl"] { text-align: right; }
[dir="ltr"] { text-align: left; }
img { max-width: 100%; }
.hidden { display: none !important; }

.lang-bar { background: #1a1a2e; color: #fff; text-align: center; padding: 8px; font-size: 0.95em; }
.lang-bar a { color: #ccc; text-decoration: none; margin: 0 8px; transition: .3s; }
.lang-bar a.active { color: #f1c40f; font-weight: 700; }
.lang-bar a:hover { color: #fff; }

.trust-bar { background: linear-gradient(90deg, #0f3460, #16213e); color: #fff; display: flex; justify-content: center; gap: 30px; padding: 12px 20px; flex-wrap: wrap; font-size: 0.95em; }
.trust-bar i { color: #f1c40f; margin-inline-end: 6px; }

.product-hero { padding: 40px 0; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }

.gallery { position: relative; }
.main-image-wrap { position: relative; border-radius: 15px; overflow: hidden; background: #f8f8f8; aspect-ratio: 1/1; cursor: zoom-in; }
.main-image-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.discount-badge { position: absolute; top: 15px; inset-inline-end: 15px; background: #e74c3c; color: #fff; padding: 6px 14px; border-radius: 30px; font-weight: 700; font-size: 1.1em; box-shadow: 0 3px 10px rgba(231,76,60,.4); z-index: 2; }
.thumbs { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; padding-bottom: 5px; }
.thumb { width: 75px; height: 75px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 3px solid transparent; transition: .3s; opacity: .6; }
.thumb:hover, .thumb.active { border-color: #e74c3c; opacity: 1; }

.product-title { font-size: 1.8em; font-weight: 800; color: #1a1a2e; margin-bottom: 15px; }
.price-box { margin-bottom: 20px; display: flex; align-items: baseline; gap: 15px; flex-wrap: wrap; }
.current-price { font-size: 2em; font-weight: 800; color: #e74c3c; }
.old-price { font-size: 1.2em; text-decoration: line-through; color: #999; }
.product-desc { color: #555; margin-bottom: 25px; font-size: 1.05em; line-height: 1.8; }

.specs-section { margin-bottom: 25px; }
.spec-group { margin-bottom: 18px; }
.spec-label { font-weight: 700; font-size: 1.05em; color: #1a1a2e; margin-bottom: 8px; display: block; }
.selected-val { color: #e74c3c; font-weight: 700; }
.spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-btn { padding: 8px 18px; border: 2px solid #ddd; border-radius: 30px; background: #fff; cursor: pointer; font-family: inherit; font-size: .95em; font-weight: 600; transition: .3s; color: #333; }
.spec-btn:hover { border-color: #e74c3c; color: #e74c3c; }
.spec-btn.active { background: #e74c3c; color: #fff; border-color: #e74c3c; box-shadow: 0 3px 10px rgba(231,76,60,.3); }

.qty-group { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.qty-group label { font-weight: 700; }
.qty-control { display: flex; align-items: center; border: 2px solid #ddd; border-radius: 10px; overflow: hidden; }
.qty-control button { width: 40px; height: 40px; border: none; background: #f0f0f0; font-size: 1.3em; cursor: pointer; transition: .2s; }
.qty-control button:hover { background: #e74c3c; color: #fff; }
.qty-control input { width: 55px; height: 40px; text-align: center; border: none; font-size: 1.1em; font-weight: 700; outline: none; }

.btn-order { display: block; width: 100%; text-align: center; padding: 16px; background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; font-size: 1.3em; font-weight: 800; border-radius: 50px; border: none; cursor: pointer; box-shadow: 0 5px 20px rgba(231,76,60,.4); transition: .3s; font-family: inherit; }
.btn-order:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(231,76,60,.5); }

.features-section { padding: 50px 0; background: #fff; }
.section-title { text-align: center; font-size: 1.8em; font-weight: 800; color: #1a1a2e; margin-bottom: 35px; }
.section-title i { color: #f1c40f; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; }
.feature-card { text-align: center; padding: 30px 15px; background: #f8f9fa; border-radius: 15px; transition: .3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.08); }
.feature-icon { width: 65px; height: 65px; margin: 0 auto 15px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5em; }
.feature-card p { font-weight: 600; color: #333; }

.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background: rgba(0,0,0,0.7); align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: #fff; border-radius: 20px; padding: 35px; max-width: 550px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: modalSlideIn 0.3s ease; }
@keyframes modalSlideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; top: 15px; inset-inline-end: 20px; font-size: 2em; font-weight: bold; color: #999; cursor: pointer; transition: 0.3s; line-height: 1; background: none; border: none; }
.modal-close:hover { color: #e74c3c; transform: rotate(90deg); }
.modal-title { text-align: center; font-size: 1.5em; font-weight: 800; color: #1a1a2e; margin-bottom: 20px; }

.order-summary { background: #f8f9fa; padding: 15px; border-radius: 12px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.95em; }
.total-box { background: #f8f9fa; padding: 15px; border-radius: 12px; margin: 20px 0; }
.total-row { font-size: 1.3em; font-weight: 800; color: #e74c3c; border-top: 2px solid #ddd; margin-top: 8px; padding-top: 10px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 700; margin-bottom: 5px; color: #1a1a2e; font-size: 0.95em; }
.form-group label i { color: #e74c3c; margin-inline-end: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 2px solid #e0e0e0; border-radius: 10px; font-family: inherit; font-size: 1em; transition: .3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #667eea; outline: none; }

.register-toggle { margin: 15px 0 10px; padding: 10px 15px; background: #f0f4ff; border-radius: 10px; }
.register-toggle label { cursor: pointer; font-weight: 600; }
.reg-fields { margin-bottom: 15px; }

.btn-submit { width: 100%; padding: 14px; border: none; border-radius: 50px; background: linear-gradient(135deg, #27ae60, #2ecc71); color: #fff; font-size: 1.2em; font-weight: 800; font-family: inherit; cursor: pointer; box-shadow: 0 5px 20px rgba(39,174,96,.4); transition: .3s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(39,174,96,.5); }

.whatsapp-float { position: fixed; bottom: 25px; inset-inline-end: 25px; width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; text-decoration: none; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); z-index: 999; transition: all 0.3s ease; animation: whatsappPulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
.whatsapp-tooltip { position: absolute; inset-inline-end: 70px; background: #333; color: #fff; padding: 8px 15px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@keyframes whatsappPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); } 50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.2); } }

.share-section { margin-top: 20px; padding: 15px; background: #f8f9fa; border-radius: 12px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.share-label { font-weight: 700; color: #1a1a2e; font-size: 0.95em; }
.share-label i { color: #667eea; margin-inline-end: 5px; }
.share-buttons { display: flex; gap: 10px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 18px; transition: all 0.3s; border: none; cursor: pointer; }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.share-btn.whatsapp { background: #25d366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.telegram { background: #0088cc; }
.share-btn.copy { background: #6c757d; }
.share-btn.copy:hover { background: #5a6268; }

.copy-notification { position: fixed; top: 30px; left: 50%; transform: translateX(-50%) translateY(-100px); background: #27ae60; color: #fff; padding: 12px 25px; border-radius: 30px; font-weight: 700; box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4); z-index: 9999; transition: transform 0.3s ease; }
.copy-notification.show { transform: translateX(-50%) translateY(0); }

.testimonials-section { padding: 60px 0; background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.testimonial-card { background: #fff; padding: 25px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s; position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 10px; inset-inline-start: 20px; font-size: 80px; color: #667eea; opacity: 0.15; font-family: Georgia, serif; line-height: 1; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.testimonial-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.testimonial-avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 3px solid #667eea; }
.testimonial-avatar-placeholder { width: 55px; height: 55px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }
.testimonial-info h4 { margin: 0; color: #1a1a2e; font-size: 1.05em; }
.testimonial-city { color: #888; font-size: 0.85em; }
.testimonial-city i { color: #e74c3c; margin-inline-end: 3px; }
.testimonial-stars { margin-bottom: 12px; }
.testimonial-stars i { color: #ddd; font-size: 16px; margin-inline-end: 2px; }
.testimonial-stars i.filled { color: #f1c40f; }
.testimonial-text { color: #555; line-height: 1.7; font-style: italic; margin: 0; position: relative; z-index: 1; }

.faq-section { padding: 60px 0; background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #f8f9fa; border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s; border: 2px solid transparent; }
.faq-item:hover { border-color: #e0e0e0; }
.faq-item.active { background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.08); border-color: #667eea; }
.faq-question { width: 100%; padding: 18px 22px; background: none; border: none; text-align: inherit; font-family: inherit; font-size: 1.05em; font-weight: 700; color: #1a1a2e; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.faq-q-text { display: flex; align-items: center; gap: 12px; flex: 1; }
.faq-q-text i { color: #667eea; font-size: 1.2em; }
.faq-icon { color: #667eea; transition: transform 0.3s; font-size: 0.9em; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 22px 20px 22px; color: #555; line-height: 1.8; margin: 0; border-top: 1px solid #eee; padding-top: 15px; margin-top: 0; }

.zoom-hint { position: absolute; top: 15px; inset-inline-start: 15px; width: 40px; height: 40px; background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; z-index: 2; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.main-image-wrap:hover .zoom-hint { opacity: 1; }

.lightbox { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); align-items: center; justify-content: center; padding: 20px; }
.lightbox.active { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-close { position: absolute; top: 20px; inset-inline-end: 25px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 10000; transition: transform 0.3s; line-height: 1; background: none; border: none; }
.lightbox-close:hover { transform: rotate(90deg); color: #e74c3c; }
.lightbox-content { max-width: 90%; max-height: 85vh; position: relative; display: flex; flex-direction: column; align-items: center; }
.lightbox-content img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.lightbox-counter { color: #fff; margin-top: 15px; font-size: 1em; background: rgba(255,255,255,0.1); padding: 6px 18px; border-radius: 20px; backdrop-filter: blur(10px); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); color: #fff; border: none; width: 55px; height: 55px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: all 0.3s; backdrop-filter: blur(10px); z-index: 100; }
.lightbox-nav:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { inset-inline-start: 20px; }
.lightbox-next { inset-inline-end: 20px; }

.fade-in-up { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.bestseller-badge { position: absolute; top: 15px; inset-inline-start: 15px; background: linear-gradient(135deg, #f39c12, #e67e22); color: #fff; padding: 8px 15px; border-radius: 25px; font-weight: 700; font-size: 0.9em; box-shadow: 0 3px 15px rgba(243, 156, 18, 0.4); z-index: 2; }

.pulse-badge { animation: pulseBadge 2s infinite; }
@keyframes pulseBadge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.countdown-banner { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 20px; border-radius: 15px; margin-bottom: 25px; display: flex; align-items: center; gap: 20px; box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3); }
.countdown-icon { font-size: 2.5em; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.countdown-text { flex: 1; }
.countdown-title { display: block; font-size: 1em; margin-bottom: 10px; font-weight: 600; }
.countdown-timer { display: flex; gap: 15px; }
.countdown-item { text-align: center; background: rgba(255,255,255,0.2); padding: 10px 15px; border-radius: 10px; backdrop-filter: blur(10px); min-width: 70px; }
.countdown-number { display: block; font-size: 1.8em; font-weight: 800; line-height: 1; }
.countdown-label { display: block; font-size: 0.75em; margin-top: 5px; opacity: 0.9; }

.savings-badge { background: linear-gradient(135deg, #27ae60, #2ecc71); color: #fff; padding: 12px 20px; border-radius: 10px; margin-bottom: 20px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 3px 15px rgba(39, 174, 96, 0.3); }
.savings-badge i { font-size: 1.3em; }

.security-badges { display: flex; justify-content: space-around; margin-top: 25px; padding: 20px; background: #f8f9fa; border-radius: 12px; gap: 15px; flex-wrap: wrap; }
.security-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.85em; color: #555; font-weight: 600; }
.security-item i { font-size: 1.8em; color: #667eea; }

.discount-tag { background: #e74c3c; color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 0.85em; font-weight: 700; margin-inline-start: 10px; }

.scroll-animate { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.scroll-animate.animated { opacity: 1; transform: translateY(0); }

.footer-enhanced { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #ccc; padding: 50px 0 20px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 30px; }
.footer-col h3 { color: #fff; font-size: 1.5em; margin-bottom: 15px; }
.footer-col h4 { color: #f1c40f; font-size: 1.1em; margin-bottom: 15px; }
.footer-col p { margin-bottom: 10px; line-height: 1.8; }
.footer-col a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: #f1c40f; }
.footer-col i { color: #f1c40f; margin-inline-end: 8px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #888; }

.price-changing { animation: priceChange 0.3s ease; }
@keyframes priceChange { 0% { transform: scale(1); color: #e74c3c; } 50% { transform: scale(1.15); color: #27ae60; } 100% { transform: scale(1); color: #e74c3c; } }

.spec-price-tag { display: inline-block; margin-inline-start: 8px; padding: 2px 8px; background: rgba(231, 76, 60, 0.1); color: #e74c3c; border-radius: 12px; font-size: 0.85em; font-weight: 700; }
.spec-btn.active .spec-price-tag { background: rgba(255, 255, 255, 0.25); color: #fff; }

.attention-btn { animation: attentionBounce 3s infinite; }
@keyframes attentionBounce {
    0%, 75%, 100% { transform: scale(1) translateY(0); box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4); }
    80% { transform: scale(1.08) translateY(-5px); box-shadow: 0 12px 35px rgba(231, 76, 60, 0.7); }
    85% { transform: scale(0.96) translateY(2px); box-shadow: 0 3px 15px rgba(231, 76, 60, 0.4); }
    90% { transform: scale(1.04) translateY(-3px); box-shadow: 0 10px 30px rgba(231, 76, 60, 0.6); }
    95% { transform: scale(1) translateY(0); box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4); }
}

/* ═══ شارة المخزون ═══ */
.stock-tag {
    display: inline-block;
    margin-inline-start: 8px;
    padding: 2px 8px;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
}

.out-of-stock-tag {
    display: inline-block;
    margin-inline-start: 8px;
    padding: 2px 8px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
}

.spec-btn.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
    border-color: #ddd;
    color: #999;
}

.spec-btn.out-of-stock:hover {
    border-color: #ddd;
    color: #999;
}

.spec-btn.out-of-stock .spec-price-tag {
    background: rgba(0, 0, 0, 0.05);
    color: #999;
}

@media (max-width: 768px) {
    .product-layout { grid-template-columns: 1fr; gap: 25px; padding: 20px; }
    .product-title { font-size: 1.4em; }
    .current-price { font-size: 1.6em; }
    .form-grid { grid-template-columns: 1fr; }
    .trust-bar { gap: 15px; font-size: .85em; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .modal-content { padding: 25px 20px; }
    .whatsapp-float { width: 55px; height: 55px; font-size: 28px; bottom: 20px; inset-inline-end: 20px; }
    .whatsapp-tooltip { display: none; }
    .share-section { flex-direction: column; align-items: flex-start; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .lightbox-nav { width: 45px; height: 45px; font-size: 16px; }
    .lightbox-prev { inset-inline-start: 10px; }
    .lightbox-next { inset-inline-end: 10px; }
    .faq-question { font-size: 0.95em; padding: 15px 18px; }
    .faq-answer p { padding: 0 18px 15px; padding-top: 12px; }
    .countdown-banner { flex-direction: column; text-align: center; }
    .countdown-timer { flex-wrap: wrap; justify-content: center; }
    .countdown-item { min-width: 60px; padding: 8px 12px; }
    .countdown-number { font-size: 1.5em; }
    .security-badges { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }
/* ═══════════════════════════════════════════════════════════ */
/* ═══ قسم التقييم الإجمالي ═══ */
/* ═══════════════════════════════════════════════════════════ */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #fff9e6;
    border-radius: 10px;
    border: 1px solid #f1c40f;
}

.rating-stars i {
    color: #ddd;
    font-size: 1.1em;
    margin-inline-end: 2px;
}

.rating-stars i.filled {
    color: #f1c40f;
}

.rating-text {
    color: #555;
    font-size: 0.95em;
}

.rating-text strong {
    color: #1a1a2e;
    font-size: 1.1em;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ قسم التعليقات ═══ */
/* ═══════════════════════════════════════════════════════════ */
.reviews-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.review-count {
    color: #888;
    font-size: 0.85em;
    font-weight: 600;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border-right: 4px solid #667eea;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
}

.review-info h4 {
    margin: 0;
    color: #1a1a2e;
    font-size: 1.05em;
}

.review-date {
    color: #888;
    font-size: 0.85em;
}

.review-stars {
    margin-bottom: 12px;
}

.review-stars i {
    color: #ddd;
    font-size: 15px;
    margin-inline-end: 2px;
}

.review-stars i.filled {
    color: #f1c40f;
}

.review-text {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95em;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 15px;
    margin-bottom: 40px;
    color: #888;
}

.no-reviews i {
    font-size: 3em;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

/* ═══ نموذج التعليق ═══ */
.review-form-wrapper {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}

.review-form-title {
    color: #1a1a2e;
    font-size: 1.4em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-form-title i {
    color: #667eea;
}

.review-form-hint {
    background: #e3f2fd;
    color: #1565c0;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-form-hint i {
    color: #1976d2;
}

.review-form .form-group {
    margin-bottom: 18px;
}

/* ═══ تقييم بالنجوم ═══ */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating .fa-star {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.star-rating .fa-star.filled {
    color: #f1c40f;
}

.star-rating .fa-star:hover {
    transform: scale(1.2);
}

[dir="rtl"] .star-rating {
    flex-direction: row;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .reviews-list { grid-template-columns: 1fr; }
    .review-form-wrapper { padding: 20px; }
    .star-rating .fa-star { font-size: 1.5em; }
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══ زر إضافة تعليق ═══ */
/* ═══════════════════════════════════════════════════════════ */
.add-review-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

.add-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
}

.add-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.add-review-btn i {
    font-size: 1.1em;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ Modal التعليقات ═══ */
/* ═══════════════════════════════════════════════════════════ */
.review-modal-content {
    max-width: 600px;
}

.review-modal-hint {
    background: #e3f2fd;
    color: #1565c0;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-modal-hint i {
    color: #1976d2;
    font-size: 1.1em;
}

.form-hint {
    color: #888;
    font-size: 0.8em;
    margin-top: 4px;
    display: block;
}

/* ═══ تقييم بالنجوم ═══ */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating .fa-star {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.star-rating .fa-star.filled {
    color: #f1c40f;
}

.star-rating .fa-star:hover {
    transform: scale(1.2);
}

[dir="rtl"] .star-rating {
    flex-direction: row;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .add-review-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .review-modal-content {
        padding: 25px 20px;
    }
    .star-rating .fa-star {
        font-size: 1.5em;
    }
}
/* ═══ مدينة الزبون في بطاقات التعليقات ═══ */
.review-city {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #667eea;
    font-size: 0.85em;
    font-weight: 600;
    margin-inline-end: 10px;
}

.review-city i {
    color: #e74c3c;
    font-size: 0.9em;
}

.review-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.review-date {
    color: #888;
    font-size: 0.8em;
}