/* [invizo_store] / [invizo_plans] — plan grid */

.invizo-store {
    max-width: 72rem;
    margin: 1.5rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #1d2327;
}

.invizo-store--notice {
    padding: 1rem 1.25rem;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}

.invizo-store__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--invizo-store-cols, 3), minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .invizo-store__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .invizo-store__grid {
        grid-template-columns: 1fr;
    }
}

.invizo-store__item {
    margin: 0;
}

.invizo-store__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.invizo-store__card:hover {
    border-color: #2271b1;
    box-shadow: 0 4px 14px rgba(34, 113, 177, 0.12);
}

.invizo-store__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #f0f0f1;
    overflow: hidden;
}

.invizo-store__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invizo-store__body {
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

.invizo-store__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.invizo-store__title a {
    color: #1d2327;
    text-decoration: none;
}

.invizo-store__title a:hover {
    color: #2271b1;
}

.invizo-store__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.invizo-store__amount {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.invizo-store__period {
    font-size: 0.95rem;
    color: #646970;
    font-weight: 600;
}

.invizo-store__desc {
    margin: 0;
    font-size: 0.9rem;
    color: #50575e;
    flex: 1;
}

.invizo-store__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: #646970;
}

.invizo-store__meta li + li {
    margin-top: 0.2rem;
}

.invizo-store__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
    padding: 0.65rem 1rem;
    background: #2271b1;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease;
}

.invizo-store__button:hover {
    background: #135e96;
    color: #fff !important;
}

.invizo-store__button--large {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

/* Single plan detail (?invizo_plan=ID) — editorial layout */
.invizo-store.invizo-plan-page {
    --invizo-pp-bg: #f9f9fa;
    --invizo-pp-surface: #ffffff;
    --invizo-pp-surface-low: #f2f4f5;
    --invizo-pp-surface-mid: #ebeef0;
    --invizo-pp-surface-high: #dde3e7;
    --invizo-pp-on: #2d3336;
    --invizo-pp-muted: #596063;
    --invizo-pp-outline: rgba(117, 124, 127, 0.15);
    --invizo-pp-cta: #0c0e0f;
    --invizo-pp-cta-text: #f9f9fc;
    --invizo-pp-accent: #5d5e61;

    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem 6rem;
    padding-top: 5.5rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--invizo-pp-on);
    background: var(--invizo-pp-bg);
    -webkit-font-smoothing: antialiased;
}

.invizo-store--notice .invizo-plan-page__back {
    color: #2271b1;
    font-weight: 600;
    text-decoration: none;
}

.invizo-store--notice .invizo-plan-page__back:hover {
    text-decoration: underline;
}

.invizo-plan-page__topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
    box-sizing: border-box;
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
    .invizo-plan-page__topbar {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .invizo-store.invizo-plan-page {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.invizo-plan-page__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--invizo-pp-on);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.invizo-plan-page__back:hover {
    opacity: 0.75;
}

.invizo-plan-page__back-arrow {
    font-size: 1rem;
    line-height: 1;
}

.invizo-plan-page__brand {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #18181b;
}

.invizo-plan-page__hero {
    margin-bottom: 5rem;
}

.invizo-plan-page__hero-grid {
    display: grid;
    gap: 2.5rem 4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .invizo-plan-page__hero-grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }
}

.invizo-plan-page__gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.invizo-plan-page__figure {
    aspect-ratio: 4 / 5;
    background: var(--invizo-pp-surface-mid);
    border-radius: 0.5rem;
    overflow: hidden;
}

.invizo-plan-page__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.invizo-plan-page__figure-placeholder {
    width: 100%;
    height: 100%;
    min-height: 12rem;
    background: linear-gradient(145deg, #e4e9ec 0%, #dde3e7 45%, #f2f4f5 100%);
}

.invizo-plan-page__gallery-desc {
    margin: 0;
    max-width: 36rem;
}

.invizo-plan-page__gallery-desc-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__gallery-desc--rich {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__gallery-desc--rich > *:first-child {
    margin-top: 0;
}

.invizo-plan-page__gallery-desc--rich > *:last-child {
    margin-bottom: 0;
}

.invizo-plan-page__gallery-desc--rich p,
.invizo-plan-page__gallery-desc--rich ul,
.invizo-plan-page__gallery-desc--rich ol {
    margin-top: 0.65em;
    margin-bottom: 0.65em;
}

.invizo-plan-page__gallery-desc--rich a {
    color: var(--invizo-pp-on);
    text-decoration: underline;
}

.invizo-plan-page__sticky {
    position: relative;
}

@media (min-width: 1024px) {
    .invizo-plan-page__sticky {
        position: sticky;
        top: 6.5rem;
    }
}

.invizo-plan-page__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__title {
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--invizo-pp-on);
}

.invizo-plan-page__price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.invizo-plan-page__price {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.invizo-plan-page__period {
    color: var(--invizo-pp-muted);
    font-size: 1rem;
}

.invizo-plan-page__card {
    padding: 1.75rem 2rem;
    margin-bottom: 2.25rem;
    background: var(--invizo-pp-surface-low);
    border-radius: 0.25rem;
}

.invizo-plan-page__card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.invizo-plan-page__card-row:last-of-type {
    margin-bottom: 0;
}

.invizo-plan-page__card-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__card-value {
    font-weight: 600;
}

.invizo-plan-page__card-blurb {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--invizo-pp-outline);
}

.invizo-plan-page__card-blurb p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--invizo-pp-cta-text) !important;
    text-decoration: none !important;
    background: var(--invizo-pp-cta);
    border-radius: 0.25rem;
    border: none;
    transition: opacity 0.2s ease;
}

.invizo-plan-page__cta:hover {
    opacity: 0.9;
    color: var(--invizo-pp-cta-text) !important;
}

.invizo-plan-page__cta-note {
    margin: 0;
    text-align: center;
    font-size: 0.6875rem;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__section {
    margin-bottom: 5rem;
}

.invizo-plan-page__section-title {
    margin: 0 0 2.75rem;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    text-transform: uppercase;
}

.invizo-plan-page__bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .invizo-plan-page__bento {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .invizo-plan-page__bento-item--wide {
        grid-column: span 2;
    }
}

.invizo-plan-page__bento-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem 2.5rem;
    background: var(--invizo-pp-surface-mid);
    border-radius: 0.75rem;
    min-height: 10rem;
}

.invizo-plan-page__bento-item--wide {
    background: var(--invizo-pp-surface);
    justify-content: space-between;
    min-height: 12rem;
    aspect-ratio: auto;
}

@media (min-width: 768px) {
    .invizo-plan-page__bento-item--wide {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }
}

.invizo-plan-page__bento-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.invizo-plan-page__benefits {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 5rem 1.5rem;
    background: var(--invizo-pp-surface-mid);
}

@media (min-width: 1024px) {
    .invizo-plan-page__benefits {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: max(1.5rem, calc(50vw - 40rem));
        padding-right: max(1.5rem, calc(50vw - 40rem));
    }
}

.invizo-plan-page__benefits-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .invizo-plan-page__benefits-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
        align-items: start;
    }
}

.invizo-plan-page__benefits-kicker {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__benefits-lead {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.invizo-plan-page__benefits-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .invizo-plan-page__benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.invizo-plan-page__benefit {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.invizo-plan-page__benefit-icon {
    display: flex;
    color: var(--invizo-pp-accent);
}

.invizo-plan-page__svg {
    display: block;
}

.invizo-plan-page__benefit-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.invizo-plan-page__benefit-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__faq {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.invizo-plan-page__faq-title {
    margin: 0 0 3.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
}

.invizo-plan-page__faq-list {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

.invizo-plan-page__faq-q {
    margin: 0 0 0.65rem;
    font-size: 1.0625rem;
    font-weight: 600;
}

.invizo-plan-page__faq-a {
    margin: 0;
    line-height: 1.65;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__prose {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--invizo-pp-muted);
}

.invizo-plan-page__prose > *:first-child {
    margin-top: 0;
}

.invizo-plan-page__prose > *:last-child {
    margin-bottom: 0;
}
