/* Loyalty Program Styles */
.loyalty-intro {
    padding-bottom: 0;
}

.loyalty-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.loyalty-text h2 {
    text-align: left;
}

.loyalty-text h2::after {
    margin: 15px 0 0;
}

.loyalty-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--white);
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    padding: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.step:hover .step-icon {
    transform: scale(1.1);
    background-color: var(--primary);
}

.step h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Rewards Table */
.rewards-table {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: var(--primary);
    color: var(--white);
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    font-weight: 600;
}

tbody tr {
    border-bottom: 1px solid var(--light-gray);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: rgba(212, 176, 140, 0.1);
}

@media (max-width: 768px) {
    .loyalty-content {
        grid-template-columns: 1fr;
    }
    
    .loyalty-image {
        order: -1;
    }
    
    .steps,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    th, td {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .rewards-table {
        border-radius: 0;
        box-shadow: none;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px;
    }
}