﻿
:root {
    --brand: #5FB4FD; /* الأزرق */
    --brand-dk: #3A8EDB;
    --brand-lt: #EEF6FF;
    --dark: #4D4D4D;
    --mid: #6b7280;
    --border: #e5e7eb;
    --bg: #f8fafc;
    --white: #ffffff;
    --radius: 16px;
}



.pd-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-back-btn,
.pd-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    margin: 0;
}

.pd-cta {
    background: var(--brand);
    color: #fff;
}

.pd-back-btn {
    background: var(--white);
    color: var(--mid);
    border: 1px solid var(--border);
}






/* الأيقونات */
.pd-actions i {
    font-size: 14px;
    line-height: 1;
}

/* ── SECTION ── */
.product-detail-section {
    background: var(--bg);
    padding: 50px 0 70px;
}

/* ── MAIN CARD ── */
.pd-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(96,180,253,0.12);
    margin-bottom: 28px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.5s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pd-card-inner {
    display: flex;
    gap: 0;
}

/* ── IMAGE COLUMN ── */
.pd-image-col {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
}

.pd-image-wrap {
    flex: 1;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 360px;
}

.pd-main-img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.pd-image-wrap:hover .pd-main-img {
    transform: scale(1.04);
}

.pd-quick-actions {
    display: flex;
    border-top: 1px solid var(--border);
}

.pd-action-btn {
    flex: 1;
    padding: 13px 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.2s, color 0.2s;
}

    .pd-action-btn.wa {
        background: #25d366;
        color: #fff;
    }

        .pd-action-btn.wa:hover {
            background: #1ebe5c;
            color: #fff;
        }

    .pd-action-btn.share {
        background: var(--bg);
        color: var(--mid);
        border-left: 1px solid var(--border);
    }

        .pd-action-btn.share:hover {
            background: var(--border);
        }

/* ── INFO COLUMN ── */
.pd-info-col {
    flex: 1;
    padding: 40px 42px;
    display: flex;
    flex-direction: column;
}

.pd-badge {
    display: inline-block;
    background: var(--brand-lt);
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.pd-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 16px;
    line-height: 1.3;
}

.pd-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #5FB4FD, #7C58FA);
    border-radius: 2px;
    margin-bottom: 22px;
}

.pd-description {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.85;
    flex: 1;
}

    .pd-description p {
        margin-bottom: 10px;
    }



.pd-cta:hover {
    background: var(--brand-dk);
    color: #fff;
    transform: translateY(-2px);
}

/* ── SPECS CARD ── */
.pd-specs-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease 0.15s forwards;
}

.pd-specs-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.pd-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0;
}

.pd-spec-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 24px;
    font-size: 13px;
    color: var(--mid);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

    .pd-spec-row:hover {
        background: var(--bg);
    }

    .pd-spec-row i {
        color: var(--brand);
        font-size: 13px;
        margin-top: 2px;
        flex-shrink: 0;
    }

/* ── RESPONSIVE ── */
@@media (max-width: 768px) {
    .pd-card-inner {
        flex-direction: column;
    }

    .pd-image-col {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .pd-info-col {
        padding: 24px 20px;
    }

    .pd-specs-grid {
        grid-template-columns: 1fr;
    }

    .pd-title {
        font-size: 20px;
    }
}


