/* ============================================
   Shared Product Card Styles — X-Power Tech
   ============================================ */

.products-section {
    background: #f4f6f9;
    padding: 60px 0;
}

/* ── Card ── */
.xpt-product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid #eef0f4;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.xpt-product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.13);
    border-color: #e8532c;
}

/* ── Image Area ── */
.xpt-card-image {
    background: #f8f9fb;
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}
.xpt-card-image img {
    height: 200px;
    width: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}
.xpt-product-card:hover .xpt-card-image img {
    transform: scale(1.05);
}

/* ── Body ── */
.xpt-card-body {
    padding: 18px 20px 12px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.xpt-card-body h4 {
    font-size: 17px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 5px;
}
.xpt-card-subtitle {
    display: block;
    font-size: 13px;
    color: #e8532c;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
}
.xpt-card-desc {
    font-size: 13.5px;
    color: #555;
    line-height: 1.7;
    text-align: center;
    flex: 1;
    margin-bottom: 0;
}

/* ── Footer ── */
.xpt-card-footer {
    padding: 12px 20px 18px;
    text-align: center;
}
.xpt-card-footer a {
    display: inline-block;
    width: 100%;
    background: #1a1a2e;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}
.xpt-card-footer a:hover {
    background: #e8532c;
    transform: translateY(-1px);
    text-decoration: none;
}
.xpt-card-footer a i {
    margin-right: 6px;
}
