/* Shop innerhalb des Website-Layouts (Kopf/Fuß von www.smscreator.de):
   Bootstrap 3 setzt html{font-size:10px} – das würde alle rem-Größen der Website (Menü, Footer) verkleinern. */
html { font-size: 100%; }
body { font-family: var(--scf-font, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); color: var(--scf-text, #14212e); }
.shop-content { padding: 2rem 0 3rem; font-size: 15px; }
.shop-content .heading.main { font-size: 2rem; font-weight: 700; color: var(--scf-brand-deep, #12324a); }
.shop-content .heading.main small { display: block; font-size: 1rem; color: var(--scf-text-soft, #526273); margin-top: .25rem; }
.shop-content .btn-primary { background: var(--scf-brand, #336a93); border-color: var(--scf-brand, #336a93); }
.shop-content .btn-primary:hover, .shop-content .btn-primary:focus { background: var(--scf-brand-dark, #1f4a6b); border-color: var(--scf-brand-dark, #1f4a6b); }
.shop-content a { color: var(--scf-brand, #336a93); }
.shop-content a.btn-primary, .shop-content a.btn-primary:hover, .shop-content a.btn-primary:focus { color: #fff; }

/* ===== Linkes Menü (Kundenbereich) ===== */
.shop-nav {
    background: #fff; border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px);
    box-shadow: var(--scf-shadow, 0 8px 24px rgba(18, 50, 74, .08)); padding: 1rem; margin-bottom: 2rem;
}
.shop-nav ul { list-style: none; margin: 0 0 .5rem; padding: 0; }
.shop-nav__account {
    display: flex; align-items: center; gap: .75rem; padding: .25rem .25rem 1rem; margin-bottom: .5rem;
    border-bottom: 1px solid var(--scf-border, #dfe6ec);
}
.shop-nav__account strong { display: block; color: var(--scf-brand-deep, #12324a); line-height: 1.25; word-break: break-word; }
.shop-nav__account span { font-size: .85rem; color: var(--scf-text-soft, #526273); }
.shop-nav__avatar {
    flex: 0 0 auto; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: var(--scf-brand-tint, #eaf2f8); color: var(--scf-brand, #336a93);
}
.shop-nav__heading {
    margin: .75rem .5rem .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    color: var(--scf-text-soft, #526273);
}
.shop-content .shop-nav a {
    display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: var(--scf-radius-sm, 8px);
    color: var(--scf-text, #14212e); text-decoration: none; font-weight: 500; transition: background .15s, color .15s;
}
.shop-nav a .fa { color: var(--scf-text-soft, #526273); }
.shop-content .shop-nav a:hover { background: var(--scf-brand-tint, #eaf2f8); color: var(--scf-brand-dark, #1f4a6b); }
.shop-content .shop-nav a.is-active { background: var(--scf-brand-tint, #eaf2f8); color: var(--scf-brand-dark, #1f4a6b); font-weight: 600; box-shadow: inset 3px 0 0 var(--scf-brand, #336a93); }
.shop-nav a.is-active .fa { color: var(--scf-brand, #336a93); }
.shop-nav__badge {
    margin-left: auto; min-width: 1.5rem; padding: .1rem .45rem; border-radius: 999px; text-align: center;
    background: var(--scf-brand, #336a93); color: #fff; font-size: .75rem; font-weight: 700;
}
.shop-content .shop-nav .shop-nav__logout { margin-top: .25rem; border-top: 1px solid var(--scf-border, #dfe6ec); border-radius: 0; padding-top: .8rem; color: var(--scf-text-soft, #526273); }
.shop-content .shop-nav .shop-nav__login { display: flex; justify-content: center; color: #fff; }
.shop-nav .shop-nav__login .fa { color: #fff; }
@media (max-width: 991px) { .shop-nav { margin-top: 1rem; } }

/* ===== Formular Kontingent-Warnung ===== */
.shop-lead { color: var(--scf-text-soft, #526273); max-width: 42rem; margin-bottom: 1.5rem; }
.shop-form { max-width: 34rem; }
.shop-switch { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; font-weight: 600; }
.shop-switch input { width: 1.15rem; height: 1.15rem; margin: 0; }
.shop-switch label { margin: 0; }
.shop-fieldset { border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px); padding: 1.25rem; margin-bottom: 1.25rem; }
.shop-fieldset[disabled] { opacity: .55; }
.shop-input-unit { display: flex; align-items: center; gap: .6rem; max-width: 16rem; }
.shop-input-unit span { color: var(--scf-text-soft, #526273); }
.shop-choice { display: grid; gap: .6rem; margin-top: .35rem; }
.shop-choice label {
    display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: start; margin: 0; padding: .8rem 1rem;
    border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius-sm, 8px); font-weight: 400; cursor: pointer;
}
.shop-choice label:has(input:checked) { border-color: var(--scf-brand, #336a93); background: var(--scf-brand-tint, #eaf2f8); }
.shop-choice input { margin-top: .25rem; grid-row: span 2; }
.shop-choice small { color: var(--scf-text-soft, #526273); }

/* ===== Paketkarten (Onlineshop) ===== */
.shop-packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.shop-package {
    position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.25rem 1.25rem;
    background: #fff; border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px);
    box-shadow: 0 1px 2px rgba(18, 50, 74, .04); transition: box-shadow .2s, border-color .2s;
}
.shop-package:hover { border-color: var(--scf-brand-light, #abc2d2); box-shadow: var(--scf-shadow, 0 8px 24px rgba(18, 50, 74, .08)); }
.shop-package--best { border-color: var(--scf-brand, #336a93); box-shadow: 0 0 0 1px var(--scf-brand, #336a93); }
.shop-package__tag {
    position: absolute; top: -.7rem; left: 1rem; padding: .15rem .6rem; border-radius: 999px;
    background: var(--scf-brand, #336a93); color: #fff; font-size: .72rem; font-weight: 700;
}
.shop-package p { margin: 0; }
.shop-package__credits { color: var(--scf-text-soft, #526273); }
.shop-package__credits strong { display: block; font-size: 1.6rem; line-height: 1.15; color: var(--scf-brand-deep, #12324a); }
.shop-package__price { margin-top: .75rem !important; font-size: 1.35rem; font-weight: 700; color: var(--scf-text, #14212e); }
.shop-package__unit { font-size: .85rem; color: var(--scf-text-soft, #526273); }
.shop-package__actions { display: grid; gap: .6rem; margin-top: auto; padding-top: 1.1rem; }
.shop-package__add { width: 100%; }

/* Mengenauswahl −/+ */
.shop-stepper {
    display: inline-flex; align-items: stretch; width: 100%; max-width: 9.5rem; height: 2.6rem;
    border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius-sm, 8px); overflow: hidden; background: #fff;
}
.shop-package .shop-stepper { max-width: none; }
.shop-stepper__btn {
    flex: 0 0 2.6rem; border: 0; background: var(--scf-bg-alt, #f4f7fa); color: var(--scf-brand-dark, #1f4a6b);
    font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.shop-stepper__btn:hover { background: var(--scf-brand-tint, #eaf2f8); }
.shop-stepper__input {
    flex: 1 1 auto; min-width: 0; border: 0; text-align: center; font-weight: 600; font-size: 1rem;
    -moz-appearance: textfield; appearance: textfield;
}
.shop-stepper__input::-webkit-outer-spin-button, .shop-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.shop-info { padding: 1.25rem 1.4rem; background: var(--scf-bg-alt, #f4f7fa); border-radius: var(--scf-radius, 14px); }
.shop-info h2 { font-size: 1.1rem; margin: 0 0 .4rem; }
.shop-info p { margin: 0; color: var(--scf-text-soft, #526273); }

/* ===== Warenkorb ===== */
.shop-basket { list-style: none; margin: 0 0 1rem; padding: 0; border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px); background: #fff; }
.shop-basket__item {
    display: grid; grid-template-columns: 1fr auto 7rem auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
}
.shop-basket__item + .shop-basket__item { border-top: 1px solid var(--scf-border, #dfe6ec); }
.shop-basket__name strong { display: block; }
.shop-basket__name span { font-size: .85rem; color: var(--scf-text-soft, #526273); }
.shop-basket__total { text-align: right; font-weight: 700; white-space: nowrap; }
.shop-basket__remove {
    width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: transparent; color: var(--scf-text-soft, #526273); cursor: pointer;
}
.shop-basket__remove:hover { background: #fdecec; color: #b42318; }
.shop-summary { margin-left: auto; max-width: 22rem; padding: 1rem 1.25rem; background: var(--scf-bg-alt, #f4f7fa); border-radius: var(--scf-radius, 14px); }
.shop-summary__row { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.15rem; }
.shop-summary__row--muted { font-size: .9rem; color: var(--scf-text-soft, #526273); }
.shop-buttonbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.shop-empty { text-align: center; padding: 3rem 1rem; color: var(--scf-text-soft, #526273); }
.shop-empty .fa { font-size: 2.5rem; color: var(--scf-brand-light, #abc2d2); margin-bottom: .75rem; }

/* ===== Mobil ===== */
@media (max-width: 767px) {
    .shop-content { padding-top: 1.25rem; font-size: 16px; }
    .shop-content .heading.main { font-size: 1.6rem; margin-bottom: 1rem !important; }
    .shop-packages { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .shop-package { padding: 1.2rem .9rem .9rem; }
    .shop-package__credits strong { font-size: 1.3rem; }
    .shop-package__price { font-size: 1.15rem; }
    .shop-basket__item { grid-template-columns: 1fr auto; gap: .6rem 1rem; padding: .9rem 1rem; }
    .shop-basket__total { grid-column: 1; grid-row: 2; text-align: left; }
    .shop-basket__item .shop-stepper { grid-column: 2; grid-row: 2; }
    .shop-basket__remove { grid-column: 2; grid-row: 1; justify-self: end; }
    .shop-summary { max-width: none; }
    .shop-buttonbar { flex-direction: column-reverse; align-items: stretch; }
    .shop-buttonbar .btn { width: 100%; }
    /* Tabellen in Kasse/Bestellung: nicht quetschen, waagerecht scrollen */
    .shop-content .table { font-size: .9rem; }
    .shop-content .btn { white-space: normal; }
}
@media (max-width: 380px) { .shop-packages { grid-template-columns: 1fr; } }

/* ===== Tarife (z. B. MsgCreator Basis/Plus) ===== */
.shop-tariff-head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem;
    margin-bottom: 1rem;
}
.shop-tariff-head h2 { margin: 0 0 .25rem; font-size: 1.4rem; color: var(--scf-brand-deep, #12324a); }
.shop-tariff-head p { margin: 0; color: var(--scf-text-soft, #526273); }
.shop-tariff-head__label { font-size: .75rem !important; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--scf-brand, #336a93) !important; }
.shop-tariff-head__fee { padding: .35rem .8rem; border-radius: 999px; background: var(--scf-brand-tint, #eaf2f8); color: var(--scf-brand-dark, #1f4a6b); font-weight: 700; white-space: nowrap; }
.shop-tariff { margin: 0 0 2rem; padding: 1.5rem; border: 1px dashed var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px); }
.shop-tariff--recommended { border: 1px solid var(--scf-brand, #336a93); background: linear-gradient(180deg, var(--scf-brand-tint, #eaf2f8), #fff 60%); }
.shop-tariff__features { margin: .5rem 0 0; padding-left: 1.1rem; }
.shop-packages--compare { margin-bottom: 1rem; }

.shop-tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.shop-tariff-card {
    position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem 1.4rem 1.4rem;
    background: #fff; border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px);
}
.shop-tariff-card.is-recommended { border-color: var(--scf-brand-light, #abc2d2); }
.shop-tariff-card.is-current { border-color: var(--scf-brand, #336a93); box-shadow: 0 0 0 1px var(--scf-brand, #336a93); }
.shop-tariff-card h2 { margin: 0; font-size: 1.5rem; color: var(--scf-brand-deep, #12324a); }
.shop-tariff-card p { margin: 0; }
.shop-tariff-card__fee { font-size: 1.15rem; font-weight: 700; }
.shop-tariff-card__prices { list-style: none; margin: .5rem 0; padding: 0; border-top: 1px solid var(--scf-border, #dfe6ec); }
.shop-tariff-card__prices li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--scf-border, #dfe6ec); }
.shop-tariff-card__feature .fa { color: var(--scf-brand, #336a93); }
.shop-tariff-card__note { font-size: .88rem; color: var(--scf-text-soft, #526273); }
.shop-tariff-card__form { display: grid; gap: .6rem; margin-top: auto; padding-top: .75rem; }
.shop-check { display: grid; grid-template-columns: auto 1fr; gap: .5rem; align-items: start; font-weight: 400; font-size: .9rem; margin: 0; }
.shop-check input { margin-top: .2rem; }
.shop-content .shop-tariff-card__cancel { margin-top: auto; font-weight: 600; }
.shop-content .shop-nav .shop-nav__cancel { color: var(--scf-text-soft, #526273); font-size: .9rem; }
.shop-cancel dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 1rem 0; }
.shop-cancel dt { color: var(--scf-text-soft, #526273); font-weight: 500; }
.shop-cancel dd { margin: 0; font-weight: 600; }
@media (max-width: 767px) { .shop-cancel dl { grid-template-columns: 1fr; } .shop-cancel dd { margin-bottom: .5rem; } }

/* ===== Bootstrap-3-Altbestand modernisieren (alle Shop-Seiten) ===== */
/* Glyphicons-Schrift fehlt → auf Font Awesome abbilden */
.glyphicon { font-family: FontAwesome; font-style: normal; font-weight: normal; }
.glyphicon-lock:before { content: "\f023"; }
.glyphicon-user:before { content: "\f007"; }

.shop-content .panel { border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px); box-shadow: var(--scf-shadow, 0 8px 24px rgba(18, 50, 74, .08)); overflow: hidden; }
.shop-content .panel-heading { background: #fff !important; border-bottom: 1px solid var(--scf-border, #dfe6ec); padding: 1rem 1.25rem; font-size: 1.15rem; font-weight: 700; color: var(--scf-brand-deep, #12324a); }
.shop-content .panel-heading .glyphicon { color: var(--scf-brand, #336a93); margin-right: .35rem; }
.shop-content .panel-body { padding: 1.25rem; }
.shop-content .panel-footer { background: var(--scf-bg-alt, #f4f7fa); border-top: 1px solid var(--scf-border, #dfe6ec); padding: 1.1rem 1.25rem; }
.shop-content .panel-footer h4 { margin-top: 0; font-size: 1.05rem; }

.shop-content .form-control {
    height: auto; min-height: 2.75rem; padding: .55rem .8rem; font-size: 1rem;
    border: 1px solid var(--scf-border, #cfd9e2); border-radius: var(--scf-radius-sm, 8px); box-shadow: none;
}
.shop-content .form-control:focus { border-color: var(--scf-brand, #336a93); box-shadow: 0 0 0 3px rgba(51, 106, 147, .15); }
.shop-content .input-group-addon { background: var(--scf-bg-alt, #f4f7fa); border-color: var(--scf-border, #cfd9e2); border-radius: var(--scf-radius-sm, 8px) 0 0 var(--scf-radius-sm, 8px); color: var(--scf-text-soft, #526273); min-width: 2.75rem; }
.shop-content .input-group .form-control:last-child { border-radius: 0 var(--scf-radius-sm, 8px) var(--scf-radius-sm, 8px) 0; }
.shop-content .btn { border-radius: var(--scf-radius-sm, 8px); padding: .6rem 1.1rem; font-weight: 600; }
.shop-content .btn-sm { padding: .55rem 1rem; font-size: .95rem; }
.shop-content .btn-default { background: #fff; border-color: var(--scf-border, #cfd9e2); color: var(--scf-text, #14212e); }
.shop-content label, .shop-content .control-label, .shop-content .conrtol-label { font-weight: 600; color: var(--scf-text, #14212e); }
.shop-content .alert { border-radius: var(--scf-radius-sm, 8px); }
.shop-content .alert h4 { font-size: 1rem; margin: 0 0 .25rem; }
.shop-content .table { background: #fff; }
.shop-content .table > thead > tr > th, .shop-content .table > tbody > tr > th { background: var(--scf-bg-alt, #f4f7fa); }

@media (max-width: 767px) {
    .shop-content .col-md-offset-1, .shop-content [class*="col-md-offset"], .shop-content [class*="col-sm-offset"] { margin-left: 0; }
    .shop-content .panel-body, .shop-content .panel-footer { padding: 1rem; }
    .shop-content form .btn:not(.shop-stepper__btn):not(.close), .shop-content .panel-footer .btn { display: block; width: 100%; margin-bottom: .5rem; }
    .shop-content .pull-left, .shop-content .pull-right { float: none !important; }
    .shop-content .input-group.last .pull-right { margin-top: .75rem; text-align: center; }
    .shop-content .form-group.row { margin-left: 0; margin-right: 0; }
    .shop-content .form-group.row > [class*="col-"] { padding-left: 0; padding-right: 0; }

    /* Tabellen als gestapelte Karten (Spaltennamen setzt shop.js als data-label) */
    .shop-content table.shop-stack, .shop-content table.shop-stack tbody, .shop-content table.shop-stack tr, .shop-content table.shop-stack td { display: block; width: 100%; }
    .shop-content table.shop-stack { border: 0; background: transparent; }
    .shop-content table.shop-stack tr.shop-stack__head { display: none; }
    .shop-content table.shop-stack tr { margin-bottom: .75rem; border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius-sm, 8px); background: #fff; overflow: hidden; }
    .shop-content table.shop-stack tr:has(> td:only-child:empty) { display: none; }
    .shop-content table.shop-stack td { display: flex; justify-content: space-between; gap: 1rem; text-align: right !important; border: 0 !important; border-bottom: 1px solid var(--scf-border, #eef2f5) !important; padding: .55rem .8rem !important; }
    .shop-content table.shop-stack td:last-child { border-bottom: 0 !important; }
    .shop-content table.shop-stack td[data-label]::before { content: attr(data-label); font-weight: 600; text-align: left; color: var(--scf-text-soft, #526273); }
    .shop-content table.shop-stack td[colspan] { justify-content: flex-end; }
    .shop-content .table-responsive { border: 0; overflow: visible; }
}

/* AdminLTE-Kästen (.box) der alten Seiten als Karten */
.shop-content .box { background: #fff; border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px); padding: 1rem 1.25rem; margin-bottom: 1.25rem; box-shadow: none; }
.shop-content .box-header { padding: 0 0 .5rem; }
.shop-content .box-title { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--scf-brand-deep, #12324a); }
.shop-content .box-body { padding: 0; }
.shop-content .box-body.no-padding { padding: 0; }
.shop-content .box-footer { padding: .75rem 0 0; background: transparent; border: 0; }
.shop-content .form-label { font-weight: 600; padding-top: .55rem; }
.shop-choice--pay { margin-bottom: 1.5rem; max-width: 34rem; }
.shop-choice--pay .fa { color: var(--scf-brand, #336a93); }
.shop-dd-hint { border-radius: var(--scf-radius-sm, 8px); }

/* Konto-Übersicht */
.shop-account { display: grid; gap: 1.25rem; }
.shop-account__balance {
    display: grid; justify-items: start; gap: .2rem; padding: 1.5rem; border-radius: var(--scf-radius, 14px); color: #fff;
    background: linear-gradient(135deg, var(--scf-brand-deep, #12324a), var(--scf-brand, #336a93));
}
.shop-account__balance strong { font-size: 2.4rem; line-height: 1.1; }
.shop-account__balance span { color: rgba(255, 255, 255, .8); }
.shop-content .shop-account__balance .btn { margin-top: .9rem; background: #fff; color: var(--scf-brand-deep, #12324a); border-color: #fff; }
.shop-account__data { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px); }
.shop-account__data dt { color: var(--scf-text-soft, #526273); font-weight: 500; }
.shop-account__data dd { margin: 0; font-weight: 600; }
.shop-account__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.shop-content .shop-account__links a {
    display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding: 1rem; text-decoration: none;
    background: #fff; border: 1px solid var(--scf-border, #dfe6ec); border-radius: var(--scf-radius, 14px); color: var(--scf-text, #14212e); font-weight: 600;
}
.shop-content .shop-account__links a:hover { border-color: var(--scf-brand-light, #abc2d2); background: var(--scf-brand-tint, #eaf2f8); }
.shop-account__links .fa { font-size: 1.3rem; color: var(--scf-brand, #336a93); }
@media (max-width: 767px) { .shop-account__links { grid-template-columns: 1fr 1fr; } .shop-content .shop-account__balance .btn { width: 100%; } }
.shop-empty-note { padding: 1rem; text-align: center; color: var(--scf-text-soft, #526273); }
.shop-content .table:has(tbody > tr:only-child) { display: none; }
.shop-content .pagination > li > a { border-radius: var(--scf-radius-sm, 8px); margin: 0 .15rem; }
.shop-basket--readonly .shop-basket__item { grid-template-columns: 1fr auto; }
@media (max-width: 767px) { .shop-basket--readonly .shop-basket__total { grid-column: 2; grid-row: 1; text-align: right; } }
.shop-content .box .shop-basket { margin-top: .5rem; }
.shop-success { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; border-radius: var(--scf-radius, 14px); background: #e9f7ef; border: 1px solid #b7e3c7; }
.shop-success .fa { font-size: 1.8rem; color: #1e8e4e; }
.shop-success strong { display: block; font-size: 1.1rem; }
.shop-success span { color: var(--scf-text-soft, #526273); }
