/*
 Theme Name:   Listeo Child
 Description:  Child theme for Pet Pro Search
 Author:       Jennifer Kidd
 Template:     listeo
 Version:      1.0.0
*/

/* Your custom CSS goes below this line */
/* --- Pet Pro Pricing Grid Styles --- */

:root {
    --petpro-red: #f91942;
    --petpro-dark: #333;
    --petpro-grey: #f8f9fa;
    --petpro-blue: #00aced;
    --petpro-green: #27ae60;
}

.pricing-container {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
    color: var(--petpro-dark);
    clear: both;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

/* Forcing the Horizontal Row on Desktop */
.pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.pricing-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
}

/* Mobile Responsive: Stack on small screens */
@media (max-width: 992px) {
    .pricing-grid {
        flex-wrap: wrap;
    }
    .pricing-card {
        min-width: 100%;
    }
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.07);
}

.pricing-card.featured {
    border: 2px solid var(--petpro-red);
    box-shadow: 0 10px 30px rgba(249, 25, 66, 0.1);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--petpro-red);
    color: #fff;
    padding: 5px 25px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 10;
}

.tier-name {
    font-size: 1.8em;
    font-weight: 800;
    margin-bottom: 5px;
    text-align: center;
}

.sale-tag {
    color: var(--petpro-blue);
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* Internal Card Switcher */
.card-switch {
    display: flex;
    background: var(--petpro-grey);
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 4px;
    border: 1px solid #eee;
}

.switch-opt {
    flex: 1;
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.85em;
    transition: 0.2s;
    color: #777;
}

.switch-opt.active {
    background: #fff;
    color: var(--petpro-red);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Price Value Layout */
.price-display {
    text-align: center;
    margin-bottom: 25px;
    padding: 10px 0;
}

.price-val {
    font-size: 3.8em;
    font-weight: 900;
    color: var(--petpro-dark);
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.price-val span.period {
    font-size: 0.35em;
    color: #777;
    font-weight: normal;
    margin-left: 2px;
}

.save-label {
    display: block;
    color: var(--petpro-green);
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 8px;
    min-height: 1.2em;
}

/* Features List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.feature-list li {
    margin-bottom: 12px;
    font-size: 0.95em;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    text-align: left;
}

.feature-list li::before {
    content: "✓";
    color: var(--petpro-green);
    font-weight: bold;
    flex-shrink: 0;
}

/* Action Buttons */
.cta-btn {
    display: block;
    text-align: center;
    background: var(--petpro-dark);
    color: #fff !important;
    padding: 16px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.1em;
    transition: 0.3s;
    margin-top: auto;
}

.featured .cta-btn {
    background: var(--petpro-red);
}

.cta-btn:hover {
    filter: brightness(1.2);
}