/* =======================================
   LOCATION-SPECIFIC PRICING STYLES
   (Updated for PKR sizing and specificity)
   ======================================= */

/* General Price Tag Styling */
.price-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: flex-start; 
    transition: all 0.3s ease;
}

/* Style for the dynamic price value span */
#basic-price-value,
#pro-price-value {
    white-space: nowrap;
    display: inline-block;
    /* Ensure no visual gaps between symbol and number */
    letter-spacing: -1px; 
}

/* === Currency-Specific Adjustments === */

/* Pakistani Rupee (PKR) - Reduce font size ONLY on the price value element */
.currency-pkr #basic-price-value,
.currency-pkr #pro-price-value {
    /* Temporarily using !important to debug and ensure this style is applied */
    font-size: 32px !important; 
    
    /* Ensure the currency symbol and number are close */
    letter-spacing: 0 !important;
}

/* --- Standard Sizing (USD/EUR) --- */
/* These inherit the .price-tag size, ensuring consistency */
.currency-usd {
    /* Ensures the base price tag size is used */
    font-size: 42px !important; 
}

/* === Responsive Adjustments === */

/* Tablet screens (Max 1024px) */
@media (max-width: 1024px) {
    .price-tag {
        font-size: 38px;
    }
    .currency-pkr #basic-price-value,
    .currency-pkr #pro-price-value {
        font-size: 28px !important;
    }
}

/* Mobile screens (Max 768px) */
@media (max-width: 768px) {
    .price-tag {
        font-size: 36px;
    }
    .currency-pkr #basic-price-value,
    .currency-pkr #pro-price-value {
        font-size: 26px !important;
    }
}

/* Small mobile screens (Max 640px) */
@media (max-width: 640px) {
    .price-tag {
        font-size: 32px;
    }
    .currency-pkr #basic-price-value,
    .currency-pkr #pro-price-value {
        font-size: 24px !important;
    }
}

/* =======================================
   COUNTRY SWITCHER STYLES
   ======================================= */
.country-switcher {
    text-align: center; /* Centers any inline content (like the <p> tag) */
    padding: 30px 0;
    background: var(--surface); 
    border-bottom: 1px solid var(--border);
}

.country-switcher p {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 15px;
}

.country-buttons {
    display: flex;
    justify-content: center; /* CRITICAL: Centers the flex items (buttons) horizontally */
    flex-wrap: wrap;
    gap: 10px;
    /* Ensure the button container itself is centered in case it's narrow */
    margin-left: auto;
    margin-right: auto;
    max-width: 700px; /* Optional: Limit width for aesthetics */
}

.btn-country {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 15px;
}

.btn-country:hover {
    background: var(--border);
    transform: translateY(-1px);
}

.btn-country.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary-600);
    box-shadow: var(--shadow-sm);
    transform: none;
}

/* === New Currency Class (CAD) === */
.currency-cad {
    /* Set specific styling for Canadian Dollar if needed */
}

/* Ensure the button text is visible on small screens */
@media (max-width: 600px) {
    .country-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-country {
        width: 100%;
        max-width: 250px;
    }
}