/* CannaGreen Express content pages */

.cgx-info-page,
.cgx-error-page {
    width: min(100%, 1180px);
    margin-inline: auto;
    padding: 0 0 56px;
    color: #1d1d1b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cgx-info-hero,
.cgx-error-page__hero {
    margin: 0 0 22px;
}

.cgx-page-title-bar,
.cgx-error-page__title {
    margin: 0;
    padding: 20px 0 30px;
    color: #1d1d1b;
    font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.cgx-info-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 22px;
    padding: 7px 12px;
    border: 1px solid rgba(22, 63, 46, 0.12);
    border-radius: 999px;
    background: rgba(22, 63, 46, 0.06);
    color: #163f2e;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cgx-info-hero__intro,
.cgx-error-page__intro {
    max-width: 720px;
    margin: -8px 0 0;
    color: #5d625b;
    font-size: 16px;
    line-height: 1.65;
}

.cgx-info-page h2,
.cgx-info-page h3,
.cgx-error-page h2,
.cgx-error-page h3 {
    color: #163f2e;
    font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.025em;
}

.cgx-legal-layout {
    display: grid;
    gap: 12px;
}

.cgx-legal-section,
.cgx-note-card,
.cgx-payment-guide,
.cgx-notice-box,
.cgx-shipping-card,
.cgx-tier-card,
.cgx-error-card {
    border: 1px solid rgba(22, 63, 46, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 2px 12px rgba(16, 45, 33, 0.08);
}

.cgx-legal-section {
    padding: 24px;
}

.cgx-legal-section h2 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.cgx-legal-section p,
.cgx-note-card p,
.cgx-info-card p,
.cgx-shipping-card p,
.cgx-tier-card p,
.cgx-payment-guide p,
.cgx-notice-box p,
.cgx-error-card p {
    margin: 0;
    color: #5d625b;
    font-size: 15px;
    line-height: 1.65;
}

.cgx-legal-section p + p,
.cgx-note-card p + p,
.cgx-payment-guide p + p {
    margin-top: 12px;
}

.cgx-feature-grid {
    display: grid;
    gap: 14px;
    margin: 0 0 22px;
}

.cgx-feature-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cgx-feature-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cgx-info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 100%;
    padding: 20px;
    border: 1px solid rgba(22, 63, 46, 0.10);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(247,243,234,0.66));
    box-shadow: 0 2px 12px rgba(16, 45, 33, 0.07);
}

.cgx-info-card__icon,
.cgx-payment-guide__icon,
.cgx-error-page__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(22, 63, 46, 0.08);
    color: #163f2e;
}

.cgx-info-card__icon svg,
.cgx-payment-guide__icon svg,
.cgx-error-page__icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.cgx-info-card h3,
.cgx-shipping-card h3,
.cgx-note-card h3,
.cgx-payment-guide h2,
.cgx-tier-card strong,
.cgx-error-card h3 {
    margin: 0 0 8px;
    color: #163f2e;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.cgx-split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
    gap: 18px;
    align-items: stretch;
    margin: 22px 0;
}

.cgx-split-section--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cgx-split-section > div:first-child {
    padding: 26px;
    border: 1px solid rgba(22, 63, 46, 0.10);
    border-radius: 18px;
    background: rgba(247, 243, 234, 0.58);
}

.cgx-split-section h2 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 850;
    line-height: 1.2;
}

.cgx-split-section p {
    margin: 0;
    color: #5d625b;
    font-size: 15px;
    line-height: 1.68;
}

.cgx-split-section p + p {
    margin-top: 12px;
}

.cgx-note-card {
    padding: 24px;
}

.cgx-note-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
    color: #5d625b;
    font-size: 15px;
    line-height: 1.6;
}

.cgx-tier-grid,
.cgx-shipping-grid {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.cgx-tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cgx-shipping-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cgx-shipping-card:nth-child(-n + 2) {
    grid-column: span 3;
}

.cgx-shipping-card:nth-child(n + 3) {
    grid-column: span 2;
}

.cgx-tier-card,
.cgx-shipping-card {
    padding: 22px;
    overflow: hidden;
    position: relative;
}

.cgx-tier-card::before,
.cgx-shipping-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #163f2e;
}

.cgx-tier-card__label,
.cgx-shipping-card span {
    display: block;
    margin-bottom: 12px;
    color: #9a7a3c;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.cgx-tier-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.14;
}

.cgx-tier-card--silver::before { background: #94a3a4; }
.cgx-tier-card--gold::before { background: #c8a96a; }
.cgx-tier-card--platinum::before { background: #163f2e; }

.cgx-shipping-card h3 {
    font-size: 17px;
}

.cgx-shipping-card p + p {
    margin-top: 6px;
}

.cgx-notice-box {
    margin: 22px 0;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.78);
}

.cgx-notice-box strong {
    display: block;
    margin-bottom: 7px;
    color: #163f2e;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.cgx-notice-box--important {
    border-color: rgba(154, 122, 60, 0.30);
    background: rgba(248, 241, 221, 0.74);
}

.cgx-payment-guide {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    margin: 22px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(22, 63, 46, 0.06), rgba(255, 255, 255, 0.82));
}

.cgx-payment-guide dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.cgx-payment-guide dl > div {
    padding: 13px 14px;
    border: 1px solid rgba(22, 63, 46, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
}

.cgx-payment-guide dt {
    margin: 0 0 4px;
    color: #71786f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cgx-payment-guide dd {
    margin: 0;
    color: #163f2e;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.3;
}

.cgx-payment-guide__privacy {
    padding-top: 12px;
    border-top: 1px solid rgba(22, 63, 46, 0.10);
}

.cgx-error-page {
    min-height: 54vh;
    padding-top: 28px;
}

.cgx-error-page__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: stretch;
}

.cgx-error-page__main {
    padding: 32px;
    border: 1px solid rgba(22, 63, 46, 0.10);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(247, 243, 234, 0.90), rgba(255, 255, 255, 0.72));
    box-shadow: 0 2px 12px rgba(16, 45, 33, 0.08);
}

.cgx-error-page__code {
    display: inline-flex;
    margin-bottom: 14px;
    color: rgba(22, 63, 46, 0.18);
    font-size: clamp(70px, 13vw, 160px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.08em;
}

.cgx-error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.cgx-error-page__button,
.cgx-error-page__button--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid #163f2e;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none !important;
}

.cgx-error-page__button {
    background: #163f2e;
    color: #fff;
}

.cgx-error-page__button--secondary {
    background: rgba(255, 255, 255, 0.78);
    color: #163f2e;
}

.cgx-error-page__side {
    display: grid;
    gap: 12px;
}

.cgx-error-card {
    padding: 20px;
}

.cgx-error-card a {
    color: #163f2e;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 900px) {
    .cgx-feature-grid--three,
    .cgx-feature-grid--four,
    .cgx-tier-grid,
    .cgx-shipping-grid,
    .cgx-split-section,
    .cgx-split-section--reverse,
    .cgx-error-page__panel {
        grid-template-columns: 1fr;
    }

    .cgx-shipping-card:nth-child(-n + 2),
    .cgx-shipping-card:nth-child(n + 3) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .cgx-info-page,
    .cgx-error-page {
        padding-bottom: 38px;
    }

    .cgx-page-title-bar,
    .cgx-error-page__title {
        padding: 24px 0;
        font-size: 24px;
    }

    .cgx-legal-section,
    .cgx-note-card,
    .cgx-payment-guide,
    .cgx-notice-box,
    .cgx-shipping-card,
    .cgx-tier-card,
    .cgx-info-card,
    .cgx-error-page__main,
    .cgx-error-card {
        border-radius: 14px;
        padding: 18px;
    }

    .cgx-payment-guide {
        grid-template-columns: 1fr;
    }

    .cgx-payment-guide dl {
        grid-template-columns: 1fr;
    }

    .cgx-info-card {
        gap: 12px;
    }
}
