/* ==============================
   Fynnzo Packages Page Styling
   ============================== */
:root {
    --fynnzo-orange: #ff6600;
    --fynnzo-green: #00b140;
    --fynnzo-dark: #0b2239;
    --fynnzo-light-bg: #f8fafc;
    --fynnzo-gray: #6c757d;
    --fynnzo-shadow: rgba(0, 177, 64, 0.12);
}

body {
    background-color: var(--fynnzo-light-bg);
    font-family: "Poppins", "Segoe UI", sans-serif;
}

/* ---------- Section Title ---------- */
.packages-page h1 {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--fynnzo-dark);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
}

.packages-page h1::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--fynnzo-green),
        var(--fynnzo-orange)
    );
    display: block;
    margin: 0.75rem auto 0;
    border-radius: 4px;
}

/* ---------- Card Layout ---------- */
.package-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    height: auto;
    overflow: hidden;
    margin-bottom: 20px;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--fynnzo-shadow);
}

/* Keep all cards top-aligned */
.row.g-4 {
    align-items: flex-start !important;
}

/* ---------- Titles & Price ---------- */
.package-card h4 {
    color: var(--fynnzo-orange);
    font-weight: 700;
    font-size: 2rem;
}

.package-card h2 {
    font-weight: 800;
    color: var(--fynnzo-dark);
}

.package-card del {
    font-size: 0.9rem;
    color: #999;
}

.package-card .text-muted {
    color: var(--fynnzo-gray) !important;
}

/* ---------- Divider ---------- */
.package-card hr {
    border-top: 1px dashed #ddd;
    margin: 1rem auto;
    width: 90%;
}

/* ---------- Description ---------- */
.package-card p.small {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ---------- Extra Features ---------- */
.features-block {
    position: relative;
}

.features-content {
    color: #444;
    border-top: 1px solid #e9ecef;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    padding: 0;
}

.features-content.show {
    opacity: 1;
    max-height: 1000px;
    padding: 0.5rem 0;
}

.features-block .toggle-btn {
    font-weight: 600;
    color: var(--fynnzo-green);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.features-block .toggle-btn.active {
    color: var(--fynnzo-orange);
}

/* ---------- Buttons ---------- */
.package-card .btn {
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: var(--fynnzo-orange);
    border-color: var(--fynnzo-orange);
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--fynnzo-orange), #000 10%);
    border-color: color-mix(in srgb, var(--fynnzo-orange), #000 10%);
}

.btn-success {
    background-color: var(--fynnzo-green);
    border-color: var(--fynnzo-green);
}

.btn-success:hover {
    background-color: color-mix(in srgb, var(--fynnzo-green), #000 10%);
    border-color: color-mix(in srgb, var(--fynnzo-green), #000 10%);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .packages-page h1 {
        font-size: 2rem;
    }

    .package-card {
        padding: 1.5rem;
    }
}

/* ---------- Modal / Location UI (Brand Synced) ---------- */

/* Optional smooth header update */
#currentCity.fade-in {
    transition: all 0.4s ease-in;
    color: var(--fynnzo-orange);
    font-weight: 600;
}

/* Brand Theme */
.text-brand {
    color: var(--fynnzo-orange) !important;
}

.btn-brand {
    background-color: var(--fynnzo-orange) !important;
    border-color: var(--fynnzo-orange) !important;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-brand:hover {
    background-color: color-mix(
        in srgb,
        var(--fynnzo-orange),
        #000 10%
    ) !important;
    border-color: color-mix(in srgb, var(--fynnzo-orange), #000 10%) !important;
}

/* Modal Layout */
.location-modal {
    border-radius: 1.2rem;
    padding: 1rem 1.5rem 2rem;
    background-color: #fff;
    animation: fadeInUp 0.3s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Input */
#manual-location {
    border: 1.5px solid #ddd;
    transition: all 0.25s ease;
}

#manual-location:focus {
    border-color: var(--fynnzo-orange);
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

/* Suggestion Dropdown */
.suggestions-list {
    max-height: 220px;
    overflow-y: auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: none;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
    transition: background 0.15s ease;
}

.suggestion-item:hover {
    background-color: rgba(255, 102, 0, 0.05);
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-content {
        border-radius: 1rem;
    }

    #manual-location {
        font-size: 16px;
    }
}

/* Location Area */
.location-area {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 8px 14px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.location-area:hover {
    background: rgba(255, 102, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.location-area .icon span {
    font-size: 1.6rem;
    line-height: 1;
}

.location-area .city-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fynnzo-dark);
    line-height: 1.2;
}

.location-area .country-name {
    font-size: 0.85rem;
    color: var(--fynnzo-gray);
}

/* Mobile Location Bar */
.mobile-location-bar {
    background: rgba(255, 102, 0, 0.08);
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    color: var(--fynnzo-dark);
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    height: 34px;
    display: flex;
    align-items: center;
}

.mobile-location-bar:hover {
    background: rgba(255, 102, 0, 0.15);
}

.text-orange {
    color: var(--fynnzo-orange);
}

.current-location-text {
    font-size: 1.3rem;
    color: var(--fynnzo-dark);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 85%;
}

@media (min-width: 768px) {
    .mobile-location-bar {
        display: none !important;
    }
}
/* ---------- Checkout Page Styles ---------- */
.checkout-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease;
}

.checkout-card:hover {
    transform: translateY(-3px);
}

.checkout-header {
    background: linear-gradient(90deg, #00b140, #ff6600);
    color: #fff;
    padding: 1.2rem 1.5rem;
}

.checkout-header h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
}

.checkout-body {
    padding: 1.8rem;
}

.checkout-body p {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #0b2239;
}

.checkout-body strong {
    color: #00b140;
}

#pay-btn {
    background: #00b140;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 0;
    width: 100%;
    transition: all 0.3s ease;
}

#pay-btn:hover {
    background: #009e38;
}

.checkout-note {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin-top: 1rem;
}
 /* ---------- Checkout Body Typography ---------- */
    .checkout-body p {
        font-size: 1.5rem; /* slightly larger for readability */
        font-weight: 700;
        margin-bottom: 1rem;
        color: #000000;
    }

    .checkout-body strong {
        font-size: 1.5rem; /* makes the label (Package, Amount) more prominent */
        color: #00b140; /* brand green for contrast */
        font-weight: 600;
    }
/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .checkout-card {
        margin: 0 1rem;
    }

    .checkout-header h4 {
        font-size: 1.25rem;
    }

    .checkout-body {
        padding: 1.2rem;
    }

    #pay-btn {
        font-size: 1rem;
        padding: 10px 0;
    }
}

.menu-heading {
    font-size: 18px;
    font-weight: 700;
    padding: 10px 20px;
    margin-bottom: 10px;
    color: #1d1d1d;
    border-left: 4px solid #00b140;
}