/* Packages Page - Mobile First */

.packages-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page Header */
.packages-page-header {
    text-align: center;
    margin-bottom: 48px;
}

.packages-page-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.packages-page-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section */
.packages-section {
    margin-bottom: 56px;
}

.packages-section-header {
    margin-bottom: 32px;
    text-align: center;
}

.packages-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.packages-section-subtitle {
    font-size: 14px;
    color: #888;
    letter-spacing: 0.3px;
}

/* Package Grid */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Package Card */
.pkg-card {
    background: #fff;
    border: 2px solid var(--grey-2);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pkg-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.pkg-card-header {
    margin-bottom: 16px;
}

.pkg-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--green-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.pkg-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pkg-badge-offpeak {
    background: #fef3c7;
    color: #92400e;
}

.pkg-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.pkg-hours {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pkg-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Benefits list */
.pkg-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    width: 100%;
    border-top: 1px solid var(--grey-2);
}

.pkg-benefit {
    padding: 10px 0;
    border-bottom: 1px solid var(--grey-2);
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* Buy button */
.pkg-buy-btn {
    width: 100%;
    margin-top: auto;
}

/* Loading / error / empty states */
.packages-loading,
.packages-error,
.packages-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 14px;
    grid-column: 1 / -1;
}

.packages-error {
    color: #dc3545;
}

/* Highlighted card */
.pkg-card-highlighted {
    border-color: var(--green-light);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    transform: scale(1.03);
    position: relative;
    z-index: 1;
}

.pkg-badge-popular {
    background: var(--green-light);
    color: #fff;
}

/* Per-unit savings */
.pkg-savings {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pkg-savings-tag {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
}

/* Responsive: 2 columns on tablets */
@media (min-width: 640px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-page-title {
        font-size: 32px;
    }
}

/* Responsive: 4 columns on desktop */
@media (min-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .packages-page {
        padding: 0 24px;
    }

    .packages-page-title {
        font-size: 36px;
    }

    .packages-section-title {
        font-size: 26px;
    }
}
