/* =========================================================
   OMNIMDT SHOP — V3.2 MONOCHROME FIX
   ========================================================= */

:root {
    --background: #090909;
    --surface: #0f0f10;
    --surface-hover: #131315;
    --text: #f5f5f5;
    --muted: #8c8c90;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --accent: #7567e8;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--background);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
}

button,
a {
    font: inherit;
}

.shop-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 96px;
}

.shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 54px;
}

.shop-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.shop-brand img {
    display: block;
    width: auto;
    height: 34px;
    object-fit: contain;
}

.shop-back {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    transition: color .16s ease;
}

.shop-back:hover {
    color: var(--text);
}

.shop-hero {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.shop-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: rgba(245, 245, 245, .58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.shop-hero h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 700;
}

.shop-hero p {
    max-width: 590px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 510px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

.plan-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.plan-card.featured {
    border-color: rgba(255, 255, 255, .24);
}

.recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 9px;
    background: var(--text);
    color: var(--background);
    border-radius: 5px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    white-space: nowrap;
}

.plan-badge {
    display: inline-flex;
    margin-bottom: 15px;
    color: rgba(245, 245, 245, .54);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.plan-header h2 {
    margin: 0 0 24px;
    color: var(--text);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-price strong {
    color: var(--text);
    font-size: 38px;
    line-height: 1;
    letter-spacing: -.045em;
}

.plan-price span {
    color: var(--muted);
    font-size: 12px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 24px 0 0;
    margin: 28px 0 34px;
    border-top: 1px solid var(--border);
    list-style: none;
}

.plan-features li {
    position: relative;
    padding-left: 19px;
    color: rgba(245, 245, 245, .72);
    font-size: 12px;
    line-height: 1.45;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(245, 245, 245, .9);
    font-weight: 700;
}

.plan-button {
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 11px 16px;
    border: 1px solid var(--text);
    border-radius: 7px;
    background: var(--text);
    color: var(--background);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition:
        background .16s ease,
        color .16s ease,
        border-color .16s ease,
        transform .16s ease,
        opacity .16s ease;
}

.plan-button:hover:not(:disabled) {
    background: transparent;
    color: var(--text);
    transform: translateY(-1px);
}

.plan-button.secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}

.plan-button.secondary:hover:not(:disabled) {
    border-color: var(--text);
}

.plan-button:disabled {
    cursor: default;
    opacity: .42;
    transform: none;
}

.shop-message {
    max-width: 640px;
    margin: 26px auto 0;
    padding: 14px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.shop-message.error {
    color: #ffb0b0;
    border-color: rgba(255, 100, 100, .24);
}

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .shop-page {
        width: min(100% - 28px, 1180px);
        padding: 24px 0 54px;
    }

    .shop-topbar {
        margin-bottom: 42px;
    }

    .shop-brand img {
        height: 28px;
    }

    .shop-hero {
        margin-bottom: 34px;
    }

    .shop-hero h1 {
        font-size: 36px;
    }

    .plan-card {
        padding: 22px;
    }
}