/* =============================================
   El-Reda Steel - Prices Pages (Steel + Cement)
   ============================================= */

.prices-header {
    background: linear-gradient(135deg, #0f0f11 0%, #1b1b1f 55%, #111113 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.prices-page-section {
    padding: 64px 0 84px;
    background:
        radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.1), transparent 35%),
        radial-gradient(circle at 85% 85%, rgba(212, 175, 55, 0.08), transparent 35%),
        #0a0a0d;
}

.update-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
}

.update-badge,
.update-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e5e7eb;
}

.update-badge i,
.update-time i {
    color: var(--primary-color);
}

.prices-table-container {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f5f6f8 100%);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    margin-bottom: 30px;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
}

.prices-table thead th {
    background: linear-gradient(90deg, #101013 0%, #222228 100%);
    color: #f5d56f;
    padding: 17px 14px;
    font-size: 0.96rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.prices-table tbody td {
    padding: 16px 12px;
    border-bottom: 1px solid #e6e8ee;
    text-align: center;
    color: #1f2937;
    font-weight: 600;
}

.prices-table tbody tr:last-child td {
    border-bottom: none;
}

.prices-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
}

.steel-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #111827;
}

.company-logo-mini {
    width: 26px;
    height: 26px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    padding: 2px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.steel-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
}

.steel-dot.ezz { background: #1E40AF; }
.steel-dot.gioshy { background: #F97316; }
.steel-dot.masryeen { background: #059669; }
.steel-dot.ashry { background: #7C3AED; }
.steel-dot.suez { background: #0EA5E9; }
.steel-dot.marakby { background: #F97316; }
.steel-dot.misr { background: #22C55E; }
.steel-dot.bianko { background: #A855F7; }
.steel-dot.beshay { background: #DC2626; }
.steel-dot.garhy { background: #F59E0B; }
.steel-dot.arab { background: #0F766E; }
.steel-dot.arko { background: #2563EB; }
.steel-dot.costeel { background: #475569; }

.price-cell {
    font-size: 1.28rem;
    font-weight: 800;
    color: #111827;
}

.change-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.87rem;
}

.change-badge.up {
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
}

.change-badge.down {
    background: rgba(239, 68, 68, 0.13);
    color: #dc2626;
}

.change-badge.stable {
    background: rgba(100, 116, 139, 0.16);
    color: #475569;
}

.order-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border-radius: 9999px;
    font-size: 1.15rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 20px rgba(18, 140, 126, 0.3);
}

.prices-cards-mobile {
    display: none;
}

.price-card-mobile {
    background: linear-gradient(180deg, #111217 0%, #0b0d11 100%);
    border: 1px solid rgba(212, 175, 55, 0.23);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.pcm-header {
    padding: 14px 18px;
    color: #fff;
}

.pcm-header.ezz { background: linear-gradient(135deg, #1E40AF, #1E3A8A); }
.pcm-header.gioshy { background: linear-gradient(135deg, #FF7429, #E65A00); }
.pcm-header.masryeen { background: linear-gradient(135deg, #059669, #047857); }
.pcm-header.ashry { background: linear-gradient(135deg, #7C3AED, #6D28D9); }
.pcm-header.suez { background: linear-gradient(135deg, #0EA5E9, #0369A1); }
.pcm-header.marakby { background: linear-gradient(135deg, #F97316, #C2410C); }
.pcm-header.misr { background: linear-gradient(135deg, #22C55E, #15803D); }
.pcm-header.bianko { background: linear-gradient(135deg, #A855F7, #7E22CE); }
.pcm-header.beshay { background: linear-gradient(135deg, #DC2626, #991B1B); }
.pcm-header.garhy { background: linear-gradient(135deg, #F59E0B, #B45309); }
.pcm-header.arab { background: linear-gradient(135deg, #0F766E, #134E4A); }
.pcm-header.arko { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.pcm-header.costeel { background: linear-gradient(135deg, #64748B, #334155); }

.pcm-header h3 {
    font-size: 1.02rem;
    margin: 0;
}

.pcm-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.pcm-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 2px;
}

.pcm-body {
    padding: 18px;
    text-align: center;
}

.pcm-price {
    font-size: 2rem;
    font-weight: 900;
    color: #f4d369;
    margin-bottom: 10px;
}

.pcm-price span {
    color: #d1d5db;
    font-size: 0.85rem;
    font-weight: 600;
}

.pcm-change {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pcm-change.up {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
}

.pcm-change.down {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
}

.pcm-change.stable {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.pcm-info {
    color: #d1d5db;
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.pcm-info i {
    color: #f5d56f;
    margin-left: 7px;
}

[dir="ltr"] .pcm-info i {
    margin-left: 0;
    margin-right: 7px;
}

.prices-notes {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 24px;
    border-radius: 16px;
}

.prices-notes h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f5d56f;
    margin-bottom: 14px;
}

.prices-notes ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e5e7eb;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.prices-notes ul li:last-child {
    border-bottom: none;
}

.prices-notes ul li::before {
    content: "✓";
    color: #34d399;
    font-weight: 800;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .prices-page-section {
        padding: 52px 0 72px;
    }

    .prices-table-container {
        display: none;
    }

    .prices-cards-mobile {
        display: block;
    }
}

@media (max-width: 576px) {
    .prices-page-section {
        padding: 44px 0 64px;
    }

    .update-info {
        flex-direction: column;
        text-align: center;
        padding: 14px 16px;
    }

    .price-card-mobile {
        border-radius: 14px;
    }

    .pcm-price {
        font-size: 1.8rem;
    }

    .prices-notes {
        padding: 18px;
    }
}
