/* Explain: App-specific component classes for price tables and buttons. */
/* Swiper Customizations */
.swiper-pagination-bullet {
    background: var(--primary-color) !important;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
}

/* Price list */
.price-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.price-chip:hover { border-color: var(--primary-color); color: var(--primary-color); }
.price-chip.is-active { background: var(--primary-color); border-color: var(--primary-color); color: #ffffff; }

.price-table { border-collapse: collapse; }
.price-table thead th {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.8rem 0.5rem;
    text-align: center;
}
.price-table tbody tr { border-bottom: 1px solid var(--border-color); }
.price-table tbody tr:nth-child(even) { background: var(--surface-color); }
.price-table tbody th,
.price-table tbody td { padding: 0.7rem 0.5rem; text-align: center; vertical-align: middle; }
.price-table tbody th.cell-name { text-align: start; font-weight: 700; color: var(--text-color); white-space: nowrap; }
.price-table tbody td { font-size: 0.82rem; }
.cell-inner { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.price-line { display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.price-tag { color: var(--text-muted); font-size: 0.68rem; }
.price-val { font-weight: 700; color: var(--text-color); }
.cell-actions .cell-inner { gap: 0.4rem; }
.act-wa, .act-call {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.act-wa { background: #25d366; color: #ffffff; border: none; }
.act-wa:hover { background: #1ebd5a; }
.act-call { background: var(--primary-color); color: #ffffff; }
.act-call:hover { background: var(--primary-hover); }

@media (max-width: 900px) {
    .price-table,
    .price-table thead,
    .price-table tbody,
    .price-table tr,
    .price-table th,
    .price-table td { display: block; }
    .price-table thead { display: none; }
    .price-table tbody { display: flex; flex-direction: column; gap: 0.85rem; padding: 0.85rem; }
    .price-table tbody tr {
        border: 1px solid var(--border-color);
        border-radius: 1rem;
        padding: 0.9rem 1rem;
        background: #ffffff !important;
    }
    .price-table tbody th.cell-name {
        font-size: 1.05rem;
        padding: 0 0 0.5rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-color);
        white-space: normal;
    }
    .price-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.3rem 0;
        text-align: end;
    }
    .price-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.8rem;
    }
    .price-table tbody td .cell-inner { justify-content: flex-end; }
    .price-table tbody td.cell-actions { display: block; padding-top: 0.6rem; }
    .price-table tbody td.cell-actions::before { content: none; }
    .price-table tbody td.cell-actions .cell-inner { display: flex; gap: 0.5rem; width: 100%; justify-content: stretch; }
    .act-wa, .act-call { flex: 1; justify-content: center; padding: 0.65rem; font-size: 0.82rem; }
}