﻿/* ==========================================================================
   Product Page Styles - Elbiidar Medical
   ========================================================================== */

@import url('index.css');

.product-hero {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0369a1 100%);
    color: var(--pure-white);
    padding: 70px 6%;
    text-align: center;
}

.product-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-hero p {
    font-size: 1.15rem;
    color: #bae6fd;
    max-width: 650px;
    margin: 0 auto;
}

.products-section {
    padding: 80px 6%;
    background-color: var(--slate-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 99, 206, 0.25);
}

.product-img-wrapper {
    height: 260px;
    background: var(--slate-100);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color);
    color: var(--pure-white);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

body[dir="rtl"] .product-badge {
    right: auto;
    left: 16px;
}

.product-info {
    padding: 30px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.35rem;
    color: var(--dark-navy);
    font-weight: 800;
    margin-bottom: 12px;
}

.product-info p {
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.specs-list {
    list-style: none;
    margin-bottom: 24px;
}

.specs-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-800);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.specs-list li span.check {
    color: var(--secondary-color);
    font-weight: 800;
}

.product-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.product-btn:hover {
    background: var(--primary-color);
    color: var(--pure-white);
}
