/* Абонементы на массаж — блок на странице «Массаж» (inc/subscriptions.php). Переменные --glm-* из massage.css. */
.glm-abon {padding-top:var(--glm-gap)}
.glm-abon__except {margin-top:10px;color:#5d5850;font-size:15px;line-height:1.5}
.glm-abon__teaser {margin-top:18px}
.glm-abon__layout {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:28px;align-items:start}
.glm-abon__table-wrap {border:1px solid #ece5da;border-radius:16px;background:linear-gradient(150deg,#fff,#fffdf9);box-shadow:0 8px 24px rgba(108,86,49,.05);overflow:hidden}
.glm-abon__table {width:100%;border-collapse:collapse;font-variant-numeric:lining-nums tabular-nums}
.glm-abon__table th,.glm-abon__table td {padding:16px 20px;text-align:left;vertical-align:top;font-weight:400}
.glm-abon__table thead th {background:var(--glm-warm);color:var(--ink);font:400 15px/1.3 var(--body,inherit);white-space:nowrap}
.glm-abon__pct {display:inline-block;margin-left:8px;padding:2px 8px;border-radius:40px;background:#fff;color:#6b4a22;font-size:13px}
.glm-abon__group th {padding:14px 20px 4px;border-top:1px solid #e6dccd;color:#6b4a22;font-size:14px;line-height:1.4}
.glm-abon__table tbody:first-of-type .glm-abon__group th {border-top:0}
.glm-abon__table tbody tr:not(.glm-abon__group)+tr th,.glm-abon__table tbody tr:not(.glm-abon__group)+tr td {border-top:1px solid #f0e9df}
.glm-abon__table tbody th {width:28%}
.glm-abon__time {display:block;color:var(--ink);font:350 22px/1.2 var(--display);letter-spacing:-.008em}
.glm-abon__single {display:block;margin-top:6px;color:#625d55;font-size:13px}
.glm-abon__table td strong {display:block;color:var(--ink);font:300 26px/1.1 var(--display);white-space:nowrap}
.glm-abon__per {display:block;margin-top:6px;color:#4f4a43;font-size:14px;white-space:nowrap}
.glm-abon__table td s {display:block;margin-top:3px;color:#6f6a60;font-size:13px;white-space:nowrap}
.glm-abon__cta {display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:20px}
.glm-abon__cta p {flex:1 1 220px;color:#5d5850;font-size:14px;line-height:1.5}
.glm-abon__terms {padding:26px;border-radius:16px;background:var(--glm-warm)}
.glm-abon__terms h3 {color:var(--ink);font:350 24px/1.2 var(--display)}
.glm-abon__list {display:grid;gap:12px;margin:16px 0 0;padding:0;list-style:none}
.glm-abon__item {position:relative;padding-left:30px;color:#3f3b35;font-size:15px;line-height:1.5}
.glm-abon__item::before {content:"";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%}
.glm-abon__item--plus::before {background:var(--olive-dark,#5d6b4f) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat}
.glm-abon__item--info::before {content:"i";border:1.5px solid #8a6a42;color:#8a6a42;font:600 12px/17px Georgia,serif;text-align:center;box-sizing:border-box}
.glm-abon__terms .glm-note {margin-top:18px;color:#5d5850}

@media(max-width:1100px){
 .glm-abon__layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
 .glm-abon__table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .glm-abon__table,.glm-abon__table tbody,.glm-abon__table tr,.glm-abon__table th,.glm-abon__table td{display:block;width:auto}
 .glm-abon__group th{padding:16px 18px 2px}
 .glm-abon__table tbody th{width:auto;padding:12px 18px 6px}
 .glm-abon__table tbody tr:not(.glm-abon__group)+tr th{border-top:1px solid #e6dccd}
 .glm-abon__table tbody tr:not(.glm-abon__group)+tr td{border-top:0}
 .glm-abon__table td{display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:baseline;padding:9px 18px;border-top:1px solid #f4eee5!important}
 .glm-abon__table td::before{content:attr(data-label);grid-row:1 / span 2;color:#5d5850;font-size:14px}
 .glm-abon__table td strong{font-size:22px;text-align:right}
 .glm-abon__per{grid-column:2;margin-top:2px;font-size:12px;text-align:right}
 .glm-abon__table td s{display:none}
 .glm-abon__table tbody:last-of-type tr:last-child td:last-child{padding-bottom:16px}
 .glm-abon__cta .button{width:100%;min-height:54px}
 .glm-abon__terms{padding:22px 18px}
}
