/* components.css */

/* ==================
   Buttons
   ================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn--primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn--primary:hover {
    background-color: #005bb5;
    /* slightly darker shade */
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background-color: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

.btn--secondary:hover {
    background-color: var(--text-color);
    color: #fff;
}

.btn-sales-premium {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 14px;
    background: #fff !important;
    border: 2px solid #eef0f2 !important;
    color: #1d1d1f !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-sales-premium:hover {
    background: var(--accent-color) !important;
    color: #fff !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(40, 45, 136, 0.1);
}

/* ==================
   Typography Structure
   ================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* ==================
   Product Card
   ================== */
.product-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card__image-wrapper {
    background-color: var(--secondary-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    /* fixed height layout helper */
}

.product-card__image {
    max-width: 80%;
    max-height: 160px;
    object-fit: contain;
}

.product-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.product-card__price {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 16px;
    flex-grow: 1;
    /* Pushes button to bottom */
}

/* ==================
   Animations
   ================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}