/* Public price table.
   The theme sets `table td, table th { border: 1px solid #ccc }` and
   `table th { font-weight: 700 }`, so every property we care about is
   declared here at higher specificity — a bare `border-bottom` would leave
   the theme's other three sides in place. */

.up-table{width:100%;border-collapse:collapse;table-layout:auto;background:none;margin:0}
.up-table tr,
.up-table th,
.up-table td{border:0;background:none}

/* Separator between rows only: nothing above the first, nothing below the last. */
.up-table tr + tr > th,
.up-table tr + tr > td{border-top:1px solid rgba(0,0,0,.09)}

/* The pricelist page carries an Elementor HTML widget with
     td { padding-top:10px !important; padding-bottom:10px !important; ... }
   added long ago to style the Ninja tables. It is global and !important, so it
   hits our price cell (a <td>) but not the name cell (a <th>) — which pushed
   the price 4px higher than its own row. Only !important beats !important, so
   the vertical padding is declared that way here, scoped to .up-table alone. */
.up-table th.up-name{
 text-align:left;
 font-weight:inherit;
 vertical-align:top !important;
 padding:14px 24px 14px 0 !important;
}
.up-table td.up-price{
 text-align:right;
 vertical-align:top !important;
 white-space:nowrap;
 padding:14px 0 14px 8px !important;
 font-variant-numeric:tabular-nums;
 width:1%;
}

/* Whole-list variant: one <details> per category, native toggle, no JS. */
.up-list{display:block}
.up-cat{border-bottom:1px solid rgba(0,0,0,.12)}
.up-cat-head{list-style:none;cursor:pointer;display:flex;align-items:center;
 justify-content:space-between;gap:16px;padding:22px 0;font-size:1.6em;line-height:1.2}
.up-cat-head::-webkit-details-marker{display:none}
.up-cat-head::after{content:"+";font-size:.7em;opacity:.5;line-height:1}
.up-cat[open]>.up-cat-head::after{content:"–"}
.up-cat>.up-table{margin:0 0 22px}

@media (max-width:520px){
 .up-cat-head{font-size:1.3em}
 .up-table th.up-name{padding:11px 14px 11px 0 !important}
 .up-table td.up-price{padding:11px 0 11px 8px !important}
}
