/* Public Styles */
.wpm-price {
    font-weight: bold;
}

.wpm-price-table {
    margin: 20px 0;
    overflow-x: auto;
}

.wpm-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin: 0;
}

.wpm-table th,
.wpm-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.wpm-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.wpm-table tbody tr:hover {
    background-color: #f8f9fa;
}

.wpm-table .wpm-price-name {
    font-weight: bold;
}

.wpm-table .wpm-price-value {
    font-weight: bold;
    color: #0073aa;
    font-size: 1.1em;
}

.wpm-table .wpm-price-description {
    color: #666;
    font-size: 0.9em;
}

/* Widget Styles */
.wpm-widget-price {
    text-align: center;
    padding: 10px;
}

.wpm-widget-price-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #0073aa;
    display: block;
    margin-bottom: 10px;
}

.wpm-widget-description {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

/* Mobile Stacked Card Layout - Phone breakpoint only (Total theme: max-width 639px) */
@media (max-width: 639px) {
    .wpm-price-table {
        margin: 20px 0;
    }

    /* Hide the table structure and display as cards */
    .wpm-table {
        border: none;
    }

    .wpm-table thead {
        display: none;
    }

    .wpm-table tbody {
        display: block;
    }

    .wpm-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .wpm-table tbody tr:hover {
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .wpm-table td {
        display: block;
        border: none;
        padding: 8px 0;
        text-align: left;
    }

    /* Price Name - Larger and prominent */
    .wpm-table .wpm-price-name {
        font-size: 1.25em;
        font-weight: bold;
        color: #333;
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f0f0;
        margin-bottom: 12px;
        text-align: center;
    }

    /* Price Value - Large and centered */
    .wpm-table .wpm-price-value {
        font-size: 1.5em;
        font-weight: bold;
        color: #0073aa;
        text-align: center;
        padding: 15px 0;
        display: block;
    }

    /* Description - Smaller text below */
    .wpm-table .wpm-price-description {
        color: #666;
        font-size: 0.9em;
        line-height: 1.5;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
        margin-top: 12px;
    }
}
