﻿.store-tariff-page {
    min-height: calc(100vh - 96px);
    padding: 34px 0 50px;
    background: #f6f8fb;
}

.store-tariff-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

.store-tariff-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}

.store-tariff-hero__main {
    border: 1px solid #dbe6f5;
    border-radius: 24px;
    padding: 26px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.store-tariff-hero__side {
    border: 1px solid #d1fae5;
    border-radius: 24px;
    padding: 22px;
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.store-tariff-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.store-tariff-label--green {
    border-color: #bbf7d0;
    color: #047857;
}

.store-tariff-label--orange {
    border-color: #fed7aa;
    color: #c2410c;
}

.store-tariff-hero h1 {
    margin: 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.16;
    font-weight: 900;
}

.store-tariff-hero p {
    max-width: 680px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.55;
}

.store-tariff-steps {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.store-tariff-step {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
}

    .store-tariff-step span {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #2563eb;
        color: #ffffff;
        font-size: 12px;
        font-weight: 900;
    }

.store-tariff-current {
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    padding: 18px;
    background: #ffffff;
    margin-bottom: 18px;
    text-align: left;
}

    .store-tariff-current h3 {
        margin: 0 0 8px;
        color: #064e3b;
        font-size: 19px;
        font-weight: 900;
    }

    .store-tariff-current p {
        margin: 0 0 14px;
        color: #475569;
        line-height: 1.45;
    }

.store-tariff-section {
    margin-top: 18px;
}

.store-tariff-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

    .store-tariff-section__head h2 {
        margin: 0;
        color: #0f172a;
        font-size: 24px;
        font-weight: 900;
    }

    .store-tariff-section__head p {
        margin: 5px 0 0;
        color: #64748b;
        font-size: 15px;
    }

.store-tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.store-tariff-card {
    position: relative;
    min-height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    background: #ffffff;
    text-align: left;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

    .store-tariff-card:hover {
        border-color: #93c5fd;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
    }

.store-tariff-card--free {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.store-tariff-card--combo {
    border-color: #fed7aa;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.store-tariff-card--popular {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.store-tariff-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 900;
}

.store-tariff-card__badge--free {
    background: #dcfce7;
    color: #047857;
}

.store-tariff-card__badge--combo {
    background: #ffedd5;
    color: #c2410c;
}

.store-tariff-card__top {
    padding-right: 82px;
}

.store-tariff-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
}

.store-tariff-card__desc {
    min-height: 40px;
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

.store-tariff-price {
    margin: 18px 0 14px;
    color: #0f172a;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

    .store-tariff-price span {
        font-size: 16px;
    }

.store-tariff-options {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

    .store-tariff-options li {
        position: relative;
        min-height: 24px;
        padding-left: 32px;
        color: #334155;
        font-size: 14px;
        line-height: 1.35;
    }

        .store-tariff-options li:before {
            content: "✓";
            position: absolute;
            left: 0;
            top: -1px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #eff6ff;
            color: #2563eb;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 900;
        }

.store-tariff-options--green li:before {
    background: #dcfce7;
    color: #047857;
}

.store-tariff-options--orange li:before {
    background: #ffedd5;
    color: #c2410c;
}

.store-tariff-card__bottom {
    margin-top: auto;
}

.store-tariff-card .store-btn {
    width: 100%;
}

.store-tariff-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 26px;
    background: #ffffff;
    color: #64748b;
    text-align: center;
}

.store-payment-page {
    min-height: calc(100vh - 96px);
    padding: 42px 16px;
    background: #f6f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-payment-card {
    width: 100%;
    max-width: 520px;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 30px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.store-payment-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #ffba17, #ff9900);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 900;
}

.store-payment-icon--success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.store-payment-icon--error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.store-payment-card h1 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.store-payment-card p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.55;
}

.store-payment-box {
    margin: 22px 0 0;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    background: #f8fafc;
    text-align: left;
}

.store-payment-box__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #334155;
    font-size: 14px;
    padding: 8px 0;
}

    .store-payment-box__row + .store-payment-box__row {
        border-top: 1px solid #e2e8f0;
    }

    .store-payment-box__row b {
        color: #0f172a;
    }

.store-payment-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.store-tariff-modal-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.store-tariff-modal-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 12px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    background: #ffffff;
    text-align: left;
}

    .store-tariff-modal-item b {
        color: #0f172a;
    }

    .store-tariff-modal-item p {
        margin: 4px 0;
        color: #64748b;
        font-size: 14px;
    }

    .store-tariff-modal-item span {
        color: #64748b;
        font-size: 13px;
    }

.store-tariff-modal-item__side {
    text-align: right;
}

.store-tariff-modal-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 8px;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .store-tariff-hero {
        grid-template-columns: 1fr;
    }

    .store-tariff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .store-tariff-page {
        padding: 22px 0 34px;
    }

    .store-tariff-wrap {
        padding: 0 16px;
    }

    .store-tariff-hero__main,
    .store-tariff-hero__side,
    .store-payment-card {
        border-radius: 20px;
        padding: 20px;
    }

    .store-tariff-hero h1 {
        font-size: 26px;
    }

    .store-tariff-section__head {
        display: block;
    }

    .store-tariff-grid {
        grid-template-columns: 1fr;
    }

    .store-tariff-modal-item {
        grid-template-columns: 1fr;
    }

    .store-tariff-modal-item__side {
        text-align: left;
    }

    .store-payment-actions {
        flex-direction: column;
    }

        .store-payment-actions .store-btn,
        .store-payment-actions .store-link {
            width: 100%;
        }
}
.store-tariff-alert {
    border-radius: 16px;
    padding: 16px 18px;
    margin: 18px 0;
    font-size: 15px;
    font-weight: 800;
}

.store-tariff-alert--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.store-tariff-card__note {
    margin-top: 10px;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.store-btn--disabled,
.store-btn--disabled:hover {
    background: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
}