/*
Theme Name: HealthDealHub
Description: Optimized Affiliate Theme for Health Products
Version: 1.0
Author: HealthDealHub
Text Domain: hdh
*/

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
    margin: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: #ffffff;
    padding: 30px 0;
    text-align: center;
    border-bottom: 2px solid #e1e8ed;
    margin-bottom: 40px;
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
    color: #004a99; /* Professional Blue */
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.view-deal-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #004a99;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Single Product Page */
.single-product-container {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.single-product-header {
    text-align: center;
    margin-bottom: 30px;
}

.product-image-main {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.cta-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: #fff9e6; /* Light attention color */
    border: 2px dashed #ffc107;
    border-radius: 10px;
}

/* THE BUTTON */
.order-btn {
    display: inline-block;
    padding: 20px 40px;
    background: #28a745; /* Success Green */
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    transition: transform 0.2s;
    cursor: pointer;
}

.order-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

.order-btn:active {
    transform: scale(0.98);
}

.product-description {
    font-size: 1.1rem;
    color: #444;
}

footer {
    text-align: center;
    padding: 50px 0;
    color: #777;
    font-size: 0.9rem;
}
