.eamm-store,
.eamm-member,
.eamm-checkout {
    --bg: #030b13;
    --panel: #071a2b;
    --panel-soft: #0a2236;
    --line: #17577b;
    --cyan: #19c8f6;
    --green: #54f49b;
    --gold: #ffd166;
    --red: #ff7190;
    --text: #f5f9ff;
    --muted: #a8bfd0;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    margin: 20px auto;
    max-width: 1200px;
    padding: 24px;
}

.eamm-store *,
.eamm-member *,
.eamm-checkout * {
    box-sizing: border-box;
}

.eamm-store-head,
.eamm-member-head,
.eamm-checkout-head {
    align-items: center;
    border-bottom: 2px solid var(--cyan);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 18px;
}

.eamm-store h1,
.eamm-member h1,
.eamm-checkout h1 {
    color: #fff;
    font-size: 34px;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 5px 0;
}

.eamm-store p,
.eamm-member p,
.eamm-checkout p {
    color: var(--muted);
}

.eamm-kicker,
.eamm-product-label {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.eamm-member-button,
.eamm-member-head > a,
.eamm-checkout-head > a,
.eamm-primary-link {
    background: var(--cyan);
    border-radius: 5px;
    color: #001621 !important;
    display: inline-block;
    font-weight: 900;
    padding: 12px 18px;
    text-decoration: none;
    white-space: nowrap;
}

.eamm-products {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
    margin-top: 24px;
}

.eamm-product {
    border-bottom: 1px solid var(--line);
    min-width: 0;
    padding: 4px 0 24px;
}

.eamm-product-title {
    align-items: center;
    display: flex;
    gap: 14px;
}

.eamm-product h2,
.eamm-order h2,
.eamm-auth-card h2,
.eamm-checkout h2 {
    color: #fff;
    font-size: 23px;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 2px 0 0;
}

.eamm-platform {
    background: #087ea5;
    border-radius: 4px;
    color: #fff;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 9px;
}

.eamm-description {
    color: #d5e3ee;
    min-height: 58px;
}

.eamm-packages,
.eamm-orders {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.eamm-package {
    align-items: center;
    background: var(--panel);
    border: 1px solid #164c6c;
    border-radius: 6px;
    display: grid;
    gap: 14px;
    grid-template-columns: 1.6fr 1fr;
    padding: 15px;
}

.eamm-package h3 {
    color: var(--green);
    font-size: 17px;
    letter-spacing: 0;
    margin: 0;
}

.eamm-package span {
    color: var(--muted);
    font-size: 13px;
}

.eamm-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.eamm-prices strong {
    color: #fff;
}

.eamm-buy-actions {
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
}

.eamm-buy-actions a,
.eamm-auth-card button,
.eamm-order-action a,
.eamm-payment a,
.eamm-checkout-submit {
    background: var(--green);
    border: 0;
    border-radius: 4px;
    color: #001d12 !important;
    cursor: pointer;
    display: inline-block;
    font-weight: 900;
    padding: 11px 13px;
    text-align: center;
    text-decoration: none;
}

.eamm-buy-actions .eamm-buy-idr {
    background: var(--cyan);
    color: #001621 !important;
}

.eamm-alert {
    border-radius: 5px;
    margin: 16px 0;
    padding: 13px;
}

.eamm-good {
    background: #0e3827;
    border: 1px solid var(--green);
    color: var(--green);
}

.eamm-bad {
    background: #421c27;
    border: 1px solid var(--red);
    color: #ffafc0;
}

.eamm-empty,
.eamm-payment,
.eamm-auth-card,
.eamm-order,
.eamm-checkout-summary,
.eamm-checkout-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 20px;
}

.eamm-payment {
    margin: 16px 0;
}

.eamm-payment h3 {
    color: var(--green);
    margin-top: 0;
}

.eamm-payment a {
    margin: 5px 8px 0 0;
}

.eamm-auth-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
}

.eamm-auth-card label,
.eamm-checkout-form label > span {
    color: #cfe0ec;
    display: block;
    font-weight: 700;
    margin: 12px 0 6px;
}

.eamm-auth-card input,
.eamm-checkout-form input,
.eamm-checkout-form select {
    background: #010a12;
    border: 1px solid #246c91;
    border-radius: 4px;
    color: #fff;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.eamm-checkout-form input:focus,
.eamm-checkout-form select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 2px rgba(25, 200, 246, 0.18);
    outline: none;
}

.eamm-member-bar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
}

.eamm-member-bar a,
.eamm-checkout-login a {
    color: var(--cyan);
}

.eamm-order {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 2fr 1.5fr 1fr;
}

.eamm-order-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eamm-order-action {
    text-align: right;
}

.eamm-order-action span {
    color: var(--muted);
}

.eamm-status {
    border-radius: 4px;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 8px;
    width: max-content;
}

.eamm-pending {
    background: #6b5315;
    color: #ffeaa3;
}

.eamm-active {
    background: #145c38;
    color: #8affbd;
}

.eamm-cancelled,
.eamm-expired {
    background: #662235;
    color: #ff9caf;
}

.eamm-checkout-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.4fr);
    margin-top: 22px;
}

.eamm-checkout-summary {
    align-self: start;
    border-color: #297699;
}

.eamm-checkout-summary h2 {
    margin-top: 14px;
}

.eamm-checkout-price {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    color: var(--green);
    font-size: 32px;
    font-weight: 900;
    margin: 18px 0;
    padding: 15px 0;
}

.eamm-checkout-summary dl {
    margin: 0;
}

.eamm-checkout-summary dl div {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 8px 0;
}

.eamm-checkout-summary dt {
    color: var(--muted);
}

.eamm-checkout-summary dd {
    color: #fff;
    font-weight: 700;
    margin: 0;
    text-align: right;
}

.eamm-field-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.eamm-honeypot {
    left: -10000px;
    position: absolute;
    top: auto;
}

.eamm-recaptcha {
    margin: 18px 0 12px;
    overflow: hidden;
}

.eamm-consent {
    align-items: flex-start;
    display: flex;
    gap: 9px;
    margin: 12px 0 16px;
}

.eamm-consent input {
    flex: 0 0 auto;
    margin-top: 3px;
    min-height: auto;
    width: auto;
}

.eamm-consent span {
    color: #cfe0ec;
    font-size: 13px;
    margin: 0 !important;
}

.eamm-checkout-submit {
    font-size: 16px;
    min-height: 48px;
    width: 100%;
}

.eamm-checkout-login {
    font-size: 13px;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 820px) {
    .eamm-products,
    .eamm-checkout-grid {
        grid-template-columns: 1fr;
    }

    .eamm-order {
        grid-template-columns: 1fr;
    }

    .eamm-order-action {
        text-align: left;
    }
}

@media (max-width: 620px) {
    .eamm-store,
    .eamm-member,
    .eamm-checkout {
        padding: 14px;
    }

    .eamm-store-head,
    .eamm-member-head,
    .eamm-checkout-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .eamm-store h1,
    .eamm-member h1,
    .eamm-checkout h1 {
        font-size: 27px;
    }

    .eamm-products,
    .eamm-auth-grid,
    .eamm-field-grid {
        grid-template-columns: 1fr;
    }

    .eamm-package {
        grid-template-columns: 1fr;
    }

    .eamm-prices {
        text-align: left;
    }
}

@media (max-width: 390px) {
    .eamm-buy-actions {
        grid-template-columns: 1fr;
    }

    .eamm-recaptcha .g-recaptcha {
        margin-bottom: -14px;
        transform: scale(0.82);
        transform-origin: left top;
    }
}
