:root {
    --ecommerce-primary: #168447;
    --ecommerce-primary-dark: #0d6032;
    --ecommerce-primary-soft: #eaf7f0;
    --ecommerce-ink: #17211b;
    --ecommerce-muted: #617068;
    --ecommerce-surface: #ffffff;
    --ecommerce-canvas: #f5f8f6;
    --ecommerce-border: #dce5df;
    --ecommerce-radius: 18px;
    --ecommerce-shadow: 0 12px 34px rgba(21, 55, 36, 0.11);
}

.ecommerce-page-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.ecommerce-page-heading .ecommerce-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ecommerce-primary-soft);
    color: var(--ecommerce-primary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ecommerce-page-heading h1 {
    margin: 0 0 12px;
    color: var(--ecommerce-ink);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 750;
    line-height: 1.12;
}

.ecommerce-page-heading p {
    margin: 0;
    color: var(--ecommerce-muted);
    font-size: 18px;
    line-height: 1.6;
}

.ecommerce-plan-selection {
    min-height: calc(100vh - 270px);
    padding-top: 32px;
    background: linear-gradient(180deg, var(--ecommerce-canvas) 0, #fff 380px);
}

.ecommerce-plan-grid {
    display: flex;
    justify-content: center;
    row-gap: 30px;
}

.ecommerce-plan-column {
    display: flex;
}

.pricing-block .ecommerce-plan-card {
    display: flex;
    width: 100%;
    min-height: 510px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--ecommerce-radius);
    box-shadow: var(--ecommerce-shadow);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.pricing-block .ecommerce-plan-card:hover {
    box-shadow: 0 18px 46px rgba(21, 55, 36, 0.17);
    transform: translateY(-5px);
}

.ecommerce-plan-card .price-list {
    flex: 1 1 auto;
}

.ecommerce-plan-card .btn-one-outer {
    margin-top: auto;
}

.ecommerce-plan-action {
    width: 100%;
    max-width: 260px;
    text-align: center;
}

.ecommerce-empty-state {
    height: auto;
    min-height: 280px;
    padding: 64px 24px;
    border: 1px dashed var(--ecommerce-border);
    border-radius: var(--ecommerce-radius);
    background: var(--ecommerce-surface);
    text-align: center;
}

.ecommerce-empty-state .fa {
    margin-bottom: 18px;
    color: var(--ecommerce-primary);
    font-size: 46px;
}

.ecommerce-empty-state h2 {
    margin-bottom: 10px;
    color: var(--ecommerce-ink);
}

.totem-home {
    min-height: calc(100vh - 120px);
    padding: 28px 0 70px;
    background:
        radial-gradient(circle at 8% 10%, rgba(22, 132, 71, 0.2), transparent 28%),
        radial-gradient(circle at 92% 90%, rgba(13, 96, 50, 0.13), transparent 30%),
        #edf4ef;
}

.ecommerce-payment-actions {
    display: flex;
    margin-top: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

.ecommerce-payment-terms {
    margin: 0;
    line-height: 1.5;
}

.ecommerce-payment-submit {
    display: inline-flex;
    min-width: 132px;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.totem-logo-motion {
    position: relative;
    width: 92px;
    height: 76px;
    margin: -2px 8px 0 0;
    overflow: hidden;
    border-radius: 16px;
    perspective: 180px;
}

.totem-logo-motion::before {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(22, 132, 71, 0.12), transparent 64%);
    content: "";
}

.totem-logo-motion img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    object-fit: contain;
    opacity: 0;
    filter: blur(2px) drop-shadow(0 0 0 rgba(0, 255, 54, 0));
    transform: translateZ(-160px) scale(0.08);
    animation: totem-logo-approach 3.2s cubic-bezier(0.3, 0.05, 0.22, 1) infinite;
    will-change: transform, opacity, filter;
}

.totem-logo-motion-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border: 1px solid rgba(0, 255, 54, 0.28);
    border-radius: 50%;
    opacity: 0;
    animation: totem-logo-halo 3.2s ease-out infinite;
}

@keyframes totem-logo-approach {
    0%, 8% {
        opacity: 0;
        filter: blur(3px) drop-shadow(0 0 0 rgba(0, 255, 54, 0));
        transform: translateZ(-160px) scale(0.08);
    }
    18% {
        opacity: 0.5;
    }
    48% {
        opacity: 1;
        filter: blur(0) drop-shadow(0 0 8px rgba(0, 255, 54, 0.34));
        transform: translateZ(0) scale(0.82);
    }
    67% {
        opacity: 1;
        filter: blur(0) drop-shadow(0 0 14px rgba(0, 255, 54, 0.5));
        transform: translateZ(70px) scale(1.35);
    }
    84%, 100% {
        opacity: 0;
        filter: blur(1px) drop-shadow(0 0 26px rgba(0, 255, 54, 0.62));
        transform: translateZ(220px) scale(3.8);
    }
}

@keyframes totem-logo-halo {
    0%, 18% { opacity: 0; transform: scale(0.18); }
    48% { opacity: 0.48; transform: scale(0.9); }
    74% { opacity: 0.12; transform: scale(1.65); }
    100% { opacity: 0; transform: scale(2.1); }
}

.totem-fitness-motion {
    position: relative;
    width: 92px;
    height: 76px;
    margin: -2px 8px 0 0;
}

.totem-dumbbell {
    position: absolute;
    top: 24px;
    left: 8px;
    display: block;
    width: 76px;
    height: 26px;
    animation: totem-dumbbell-rep 1.7s ease-in-out infinite;
}

.totem-dumbbell::before {
    position: absolute;
    top: 10px;
    left: 12px;
    width: 52px;
    height: 6px;
    border-radius: 4px;
    background: #eefcf4;
    box-shadow: 0 0 12px rgba(66, 215, 127, 0.35);
    content: "";
}

.totem-dumbbell-plate,
.totem-dumbbell-grip {
    position: absolute;
    z-index: 2;
    display: block;
}

.totem-dumbbell-plate {
    top: 1px;
    width: 14px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-radius: 5px;
    background: linear-gradient(180deg, #4be088, #168447);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.totem-dumbbell-plate::after {
    position: absolute;
    top: 4px;
    width: 7px;
    height: 12px;
    border-radius: 3px;
    background: #29b867;
    content: "";
}

.totem-dumbbell-plate-left {
    left: 2px;
}

.totem-dumbbell-plate-left::after {
    left: -7px;
}

.totem-dumbbell-plate-right {
    right: 2px;
}

.totem-dumbbell-plate-right::after {
    right: -7px;
}

.totem-dumbbell-grip {
    top: 7px;
    left: 31px;
    width: 14px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    background: #17211b;
}

.totem-fitness-shadow {
    position: absolute;
    right: 21px;
    bottom: 4px;
    width: 50px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    filter: blur(3px);
    animation: totem-dumbbell-shadow 1.7s ease-in-out infinite;
}

.totem-fitness-effort {
    position: absolute;
    top: 8px;
    width: 13px;
    height: 2px;
    border-radius: 2px;
    background: #42d77f;
    opacity: 0;
    animation: totem-fitness-effort 1.7s ease-out infinite;
}

.totem-fitness-effort-left {
    left: 4px;
    transform: rotate(-35deg);
}

.totem-fitness-effort-right {
    right: 4px;
    transform: rotate(35deg);
}

@keyframes totem-dumbbell-rep {
    0%, 100% { transform: translateY(12px) rotate(-7deg); }
    48%, 55% { transform: translateY(-9px) rotate(5deg); }
}

@keyframes totem-dumbbell-shadow {
    0%, 100% { opacity: 0.65; transform: scaleX(1); }
    50% { opacity: 0.2; transform: scaleX(0.62); }
}

@keyframes totem-fitness-effort {
    0%, 25%, 100% { opacity: 0; }
    45%, 58% { opacity: 1; }
}

.totem-action-grid {
    display: grid;
    max-width: 1120px;
    margin: 0 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.totem-action-card {
    position: relative;
    display: flex;
    min-height: 178px;
    padding: 22px 20px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(23, 33, 27, 0.08);
    border-radius: 20px;
    background: var(--ecommerce-surface);
    box-shadow: var(--ecommerce-shadow);
    color: var(--ecommerce-ink);
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.totem-action-card::after {
    position: absolute;
    right: 18px;
    bottom: 14px;
    color: var(--ecommerce-primary);
    content: "\f105";
    font-family: FontAwesome;
    font-size: 20px;
    opacity: 0.7;
}

.totem-action-card:hover,
.totem-action-card:focus {
    border-color: var(--ecommerce-primary);
    box-shadow: 0 18px 46px rgba(21, 55, 36, 0.18);
    color: var(--ecommerce-ink);
    outline: none;
    transform: translateY(-4px);
}

.totem-action-card-featured {
    min-height: 260px;
    padding: 30px;
    align-items: flex-start;
    justify-content: flex-end;
    grid-column: span 2;
    border: 0;
    color: #fff;
    box-shadow: 0 18px 42px rgba(9, 37, 22, 0.22);
}

.totem-action-card-featured::before {
    position: absolute;
    top: -55px;
    right: -30px;
    width: 230px;
    height: 230px;
    border: 42px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
}

.totem-action-card-featured::after {
    display: none;
}

.totem-action-card-member {
    background: linear-gradient(135deg, #0b3f24 0%, #168447 100%);
}

.totem-action-card-new {
    background: linear-gradient(135deg, #181d1a 0%, #303b34 100%);
}

.totem-action-card-featured:hover,
.totem-action-card-featured:focus {
    color: #fff;
    box-shadow: 0 24px 54px rgba(9, 37, 22, 0.3);
}

.totem-action-card-featured .totem-action-icon {
    position: absolute;
    top: 26px;
    right: 28px;
    width: 74px;
    height: 74px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.totem-action-kicker {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.totem-action-cta {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
}

.totem-action-card-featured .totem-action-label {
    max-width: 66%;
    color: #fff;
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.08;
}

.totem-action-card-featured .totem-action-hint {
    max-width: 58%;
    padding-right: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.totem-action-card-quick {
    align-items: flex-start;
    justify-content: center;
}

.totem-action-card:focus-visible {
    outline: 4px solid rgba(22, 132, 71, 0.22);
    outline-offset: 3px;
}

.totem-action-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(145deg, var(--ecommerce-primary), var(--ecommerce-primary-dark));
}

.totem-action-icon img,
.container-centered .totem-action-icon img {
    width: 34px;
    height: 34px;
    margin: 0;
    object-fit: contain;
}

.totem-action-label {
    display: block;
    margin-bottom: 7px;
    color: var(--ecommerce-ink);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}

.totem-action-hint {
    display: block;
    max-width: 230px;
    color: var(--ecommerce-muted);
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .totem-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .totem-action-card-featured {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .ecommerce-plan-selection,
    .totem-home {
        padding-top: 20px;
    }

    .ecommerce-page-heading {
        margin-bottom: 28px;
    }

    .ecommerce-page-heading p {
        font-size: 16px;
    }

    .pricing-block .ecommerce-plan-card {
        min-height: 0;
    }

    .totem-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .totem-action-card-featured {
        min-height: 245px;
        padding: 24px;
        grid-column: span 2;
    }

    .totem-action-card-featured .totem-action-icon {
        top: 22px;
        right: 22px;
        width: 64px;
        height: 64px;
    }

    .totem-action-card-featured .totem-action-label {
        max-width: 72%;
    }

    .totem-action-card-featured .totem-action-hint {
        max-width: 62%;
    }

    .totem-action-cta {
        right: 24px;
        bottom: 24px;
    }

    .totem-action-card-quick {
        min-height: 160px;
    }
}

@media (max-width: 480px) {
    .totem-action-grid {
        grid-template-columns: 1fr;
    }

    .totem-action-card-featured {
        grid-column: span 1;
    }

    .totem-action-card-quick {
        min-height: 116px;
        padding: 16px 48px 16px 16px;
        align-items: center;
        flex-direction: row;
    }

    .totem-action-card-quick .totem-action-icon {
        min-width: 54px;
        margin: 0 15px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecommerce-plan-card,
    .totem-action-card {
        transition: none;
    }

    .totem-logo-motion img,
    .totem-logo-motion-halo {
        animation-duration: 12s;
    }
}

/* Totem flow pages */
.totem-flow-page {
    min-height: calc(100vh - 120px);
    padding: 46px 0 72px;
    background: var(--ecommerce-canvas);
}

.totem-flow-container {
    display: block;
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
    padding: 0;
}

.totem-flow-page .billing-details,
.totem-flow-page .shop-form {
    width: 100%;
}

.totem-flow-page .shop-form {
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid var(--ecommerce-border);
    border-radius: 22px;
    background: var(--ecommerce-surface);
    box-shadow: var(--ecommerce-shadow);
}

.totem-flow-page .sec-title {
    margin-bottom: 24px;
}

.totem-flow-page .sec-title h2 {
    color: var(--ecommerce-ink);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 750;
    line-height: 1.2;
    text-transform: none;
}

.totem-flow-page .field-label {
    margin-bottom: 7px;
    color: var(--ecommerce-ink);
    font-size: 15px;
    font-weight: 700;
}

.totem-flow-page .shop-form input,
.totem-flow-page .shop-form select,
.totem-flow-page .shop-form textarea,
.totem-flow-page .form-control {
    min-height: 52px;
    border: 1px solid #cdd8d1;
    border-radius: 12px;
    background-color: #fff;
    color: var(--ecommerce-ink);
    font-size: 16px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.totem-flow-page .shop-form textarea {
    min-height: 110px;
    padding: 14px 16px;
    resize: vertical;
}

.totem-flow-page .shop-form input:focus,
.totem-flow-page .shop-form select:focus,
.totem-flow-page .shop-form textarea:focus,
.totem-flow-page .form-control:focus {
    border-color: var(--ecommerce-primary);
    box-shadow: 0 0 0 4px rgba(22, 132, 71, 0.13);
    outline: none;
}

.totem-flow-page .theme-btn {
    min-height: 50px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 750;
}

.totem-flow-page .theme-btn .txt {
    padding: 0 22px;
}

.totem-flow-page #pnlLogin,
.totem-flow-page #pnlLoginRegister {
    display: grid;
    margin: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
}

.totem-flow-page #pnlLogin > .form-group,
.totem-flow-page #pnlLoginRegister > .form-group {
    width: auto;
    margin: 0;
    padding: 0;
}

.totem-flow-page #pnlLogin > .form-group:first-child,
.totem-flow-page #pnlLogin > .form-group:last-child,
.totem-flow-page #pnlLoginRegister > .form-group:first-child,
.totem-flow-page #pnlLoginRegister > .form-group:last-child {
    grid-column: 1 / -1;
}

.totem-flow-page #pnlLogin .margin-top-30-pc,
.totem-flow-page #pnlLoginRegister .margin-top-30-pc {
    margin-top: 0 !important;
}

.totem-form-actions {
    display: flex;
    margin-top: 20px;
    padding-right: 0;
    justify-content: flex-end;
}

.totem-navigation-actions {
    display: flex;
    width: 100%;
    margin-top: 24px;
    padding: 0;
    justify-content: flex-start;
}

.totem-card-action {
    margin: 0 0 0 auto;
    align-self: center;
}

.totem-workout-actions-shell {
    display: flex;
    align-items: stretch;
    flex-direction: column;
}

.totem-workout-actions {
    display: flex;
    min-height: 64px;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
}

.totem-workout-actions .theme-btn {
    display: inline-flex;
    height: 52px;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.totem-content-panel {
    width: 100%;
    padding: clamp(18px, 3vw, 32px) !important;
    border: 1px solid var(--ecommerce-border);
    border-radius: var(--ecommerce-radius);
    background: #fbfcfb;
}

.totem-service-grid {
    width: 100%;
    padding: 18px 0 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px !important;
}

#pnlOpcoesAluno[style*="display: flex"] {
    display: grid !important;
}

.totem-service-card {
    display: flex;
    min-height: 190px;
    padding: 22px 16px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 55, 36, 0.1);
    color: var(--ecommerce-ink);
    text-align: center;
    transition: border-color 150ms ease, transform 150ms ease;
}

.totem-service-card:hover,
.totem-service-card:focus {
    border-color: var(--ecommerce-primary);
    color: var(--ecommerce-ink);
    outline: none;
    transform: translateY(-3px);
}

.totem-service-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--ecommerce-primary), var(--ecommerce-primary-dark));
}

.totem-service-icon img,
.container-centered .totem-service-icon img {
    width: 44px;
    height: 44px;
    margin: 0;
    object-fit: contain;
}

.totem-service-label {
    color: var(--ecommerce-ink);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}

.totem-flow-page .card-plano,
.totem-flow-page .card-parcela,
.totem-flow-page .card-treino,
.totem-flow-page #cardCheckinsAtivos {
    width: 100% !important;
    margin: 12px 0 !important;
    padding: clamp(18px, 3vw, 28px) !important;
    border: 1px solid var(--ecommerce-border) !important;
    border-radius: var(--ecommerce-radius) !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(21, 55, 36, 0.08) !important;
}

.totem-flow-page .card-plano {
    align-items: center;
    gap: 20px;
}

.totem-flow-page .card-plano .theme-btn {
    margin: 0 0 0 auto !important;
}

.totem-flow-page .table {
    overflow: hidden;
    border: 1px solid var(--ecommerce-border);
    border-radius: 12px;
    background: #fff;
}

.totem-flow-page .table th {
    border-color: var(--ecommerce-border);
    background: var(--ecommerce-primary-soft);
    color: var(--ecommerce-primary-dark);
    font-size: 14px;
    font-weight: 750;
}

.totem-flow-page .table td {
    border-color: var(--ecommerce-border);
    color: var(--ecommerce-ink);
    vertical-align: middle;
}

.totem-flow-page .default-links,
.totem-flow-page #area-unlogged,
.totem-flow-page #area-logged {
    border-radius: 12px;
}

.totem-flow-page [id*="Mensagem"],
.totem-flow-page [id*="mensagem"] {
    border-radius: 12px;
}

.totem-empty-panel,
.totem-placeholder-card {
    align-items: center;
    text-align: center;
}

.totem-placeholder-card {
    max-width: 680px;
    margin: 40px auto;
    padding: clamp(38px, 6vw, 72px);
    border: 1px solid var(--ecommerce-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--ecommerce-shadow);
}

.totem-placeholder-icon {
    display: grid;
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    place-items: center;
    border-radius: 26px;
    background: var(--ecommerce-primary-soft);
    color: var(--ecommerce-primary);
    font-size: 40px;
}

.totem-placeholder-card h1 {
    margin-bottom: 12px;
    color: var(--ecommerce-ink);
    font-size: clamp(28px, 4vw, 42px);
}

.totem-placeholder-card p {
    margin-bottom: 28px;
    color: var(--ecommerce-muted);
    font-size: 17px;
    line-height: 1.6;
}

.totem-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.totem-section-heading {
    width: 100%;
}

.totem-partner-grid {
    width: 100%;
    margin: 0;
    justify-content: center;
    row-gap: 28px;
}

.totem-partners-page .pricing-block {
    display: flex;
    justify-content: center;
}

.totem-partners-page .totem-banner {
    width: min(100%, 290px);
    height: 440px;
    border: 1px solid var(--ecommerce-border);
    border-radius: var(--ecommerce-radius);
    box-shadow: var(--ecommerce-shadow);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.totem-partners-page a:hover .totem-banner,
.totem-partners-page a:focus .totem-banner {
    box-shadow: 0 18px 46px rgba(21, 55, 36, 0.18);
    transform: translateY(-4px);
}

@media (max-width: 991px) {
    .totem-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .totem-flow-page .input-suspensao,
    .totem-flow-page .txtInfoFicha,
    .totem-flow-page .area-buttons {
        height: auto !important;
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .totem-flow-page .divButtonsEInfo {
        align-items: stretch !important;
    }
}

@media (max-width: 575px) {
	.ecommerce-payment-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ecommerce-payment-submit {
		width: 100%;
	}

	.totem-flow-page #pnlLogin,
	.totem-flow-page #pnlLoginRegister {
		grid-template-columns: 1fr;
	}

	.totem-flow-page #pnlLogin > .form-group,
	.totem-flow-page #pnlLoginRegister > .form-group {
		grid-column: 1;
	}

	.totem-flow-page #pnlLogin .theme-btn,
	.totem-flow-page #pnlLoginRegister .theme-btn,
	.totem-form-actions .theme-btn,
	.totem-navigation-actions .theme-btn {
		width: 100%;
	}

	.totem-workout-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.totem-workout-actions > div,
	.totem-workout-actions select,
	.totem-workout-actions .theme-btn {
		width: 100% !important;
	}
    .totem-flow-container {
        width: min(100% - 20px, 1120px);
    }

    .totem-flow-page .shop-form {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .totem-content-panel {
        padding: 16px 12px !important;
    }

    .totem-service-grid {
        grid-template-columns: 1fr;
    }

    .totem-service-card {
        min-height: 112px;
        padding: 16px 48px 16px 16px;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .totem-service-icon {
        width: 62px;
        min-width: 62px;
        height: 62px;
        margin: 0 16px 0 0;
        border-radius: 18px;
    }

    .totem-service-icon img,
    .container-centered .totem-service-icon img {
        width: 36px;
        height: 36px;
    }

    .totem-flow-page .card-plano {
        align-items: stretch;
        flex-direction: column !important;
    }

    .totem-flow-page .card-plano .theme-btn {
        width: 100%;
        margin: 0 !important;
    }
}

/* Totem payment experience */
.totem-payment-shell,
.totem-payment-summary,
.totem-payment-methods {
    width: 100%;
}

.totem-payment-heading {
    display: flex;
    margin-bottom: 22px;
    align-items: center;
    justify-content: space-between;
}

.totem-payment-heading .ecommerce-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--ecommerce-primary-soft);
    color: var(--ecommerce-primary-dark);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.totem-payment-heading h2 {
    margin: 0;
    color: var(--ecommerce-ink);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 750;
}

.totem-payment-heading-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 16px;
    background: var(--ecommerce-primary-soft);
    color: var(--ecommerce-primary);
    font-size: 25px;
}

.totem-flow-page .totem-installment-card {
    position: relative;
    overflow: hidden;
    border: 0 !important;
    background: linear-gradient(135deg, #183f2a 0%, #0d6032 100%) !important;
    color: #fff;
    box-shadow: 0 14px 32px rgba(13, 96, 50, 0.22) !important;
}

.totem-installment-card::after {
    position: absolute;
    top: -50px;
    right: -45px;
    width: 180px;
    height: 180px;
    border: 30px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
}

.totem-installment-plan {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
}

.totem-installment-plan > span,
.totem-installment-details p > span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.totem-installment-details {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 14px;
}

.totem-installment-details p {
    min-height: 74px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    font-weight: 650;
}

.totem-installment-details .totem-installment-value {
    background: #fff;
    color: var(--ecommerce-primary-dark);
    font-size: 22px;
    font-weight: 800;
}

.totem-installment-details .totem-installment-value > span {
    color: var(--ecommerce-muted);
}

.totem-payment-methods {
    margin: 26px 0 0;
}

.totem-card-payment {
    margin: 0 !important;
    padding: clamp(20px, 3vw, 30px) !important;
    border: 1px solid var(--ecommerce-border);
    border-radius: var(--ecommerce-radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 55, 36, 0.07);
}

.totem-card-payment-heading {
    display: flex;
    margin-bottom: 24px;
    align-items: center;
    gap: 14px;
}

.totem-card-payment-heading strong,
.totem-card-payment-heading small {
    display: block;
}

.totem-card-payment-heading strong {
    color: var(--ecommerce-ink);
    font-size: 22px;
    font-weight: 750;
}

.totem-card-payment-heading small {
    margin-top: 2px;
    color: var(--ecommerce-muted);
    font-size: 13px;
}

.totem-card-payment-icon {
    display: grid;
    width: 52px;
    min-width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 14px;
    background: var(--ecommerce-primary-soft);
    color: var(--ecommerce-primary);
    font-size: 22px;
}

.totem-card-fields {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.totem-card-fields table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.totem-card-fields .form-group {
    margin-bottom: 18px;
}

.totem-checkbox-field {
    display: flex;
    min-height: 72px;
    margin: 2px 0 20px !important;
    padding: 13px 16px;
    align-items: center;
    border: 1px solid var(--ecommerce-border);
    border-radius: 12px;
    background: #f8faf8;
}

.totem-checkbox-field > span {
    display: flex;
    align-items: center;
}

.totem-checkbox-field input[type="checkbox"] {
    width: 24px !important;
    min-width: 24px;
    height: 24px !important;
    min-height: 24px !important;
    margin: 0;
    border: 2px solid #9bad9f;
    border-radius: 6px;
    accent-color: var(--ecommerce-primary);
    cursor: pointer;
}

.totem-checkbox-field label {
    margin: 0 0 0 12px !important;
    color: var(--ecommerce-ink);
    cursor: pointer;
    line-height: 1.35;
}

.totem-checkbox-field label span,
.totem-checkbox-field label small {
    display: block;
}

.totem-checkbox-field label span {
    font-size: 15px;
    font-weight: 700;
}

.totem-checkbox-field label small {
    margin-top: 2px;
    color: var(--ecommerce-muted);
    font-size: 12px;
}

.totem-flow-page .totem-payment-submit {
    width: 100%;
    min-height: 56px;
    margin: 0 !important;
    padding: 0 28px !important;
    border: 0;
    border-radius: 12px !important;
    background: var(--ecommerce-primary);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    text-transform: none;
}

.totem-flow-page .totem-payment-submit:hover,
.totem-flow-page .totem-payment-submit:focus {
    background: var(--ecommerce-primary-dark);
    box-shadow: 0 8px 20px rgba(13, 96, 50, 0.2);
}

.totem-payment-empty {
    width: 100%;
    max-width: 680px;
    margin: 20px auto;
    padding: clamp(38px, 6vw, 68px) clamp(22px, 5vw, 54px);
    border: 1px solid var(--ecommerce-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0, rgba(22, 132, 71, 0.12), transparent 42%),
        #fff;
    box-shadow: var(--ecommerce-shadow);
    text-align: center;
}

.totem-payment-empty-art {
    position: relative;
    display: grid;
    width: 112px;
    height: 112px;
    margin: 0 auto 26px;
    place-items: center;
    border-radius: 34px;
    background: linear-gradient(145deg, var(--ecommerce-primary-soft), #d7f0e2);
    color: var(--ecommerce-primary);
    font-size: 54px;
    transform: rotate(-3deg);
}

.totem-payment-empty-check {
    position: absolute;
    right: -8px;
    bottom: -8px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--ecommerce-primary);
    color: #fff;
    font-size: 17px;
}

.totem-payment-empty .ecommerce-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ecommerce-primary-soft);
    color: var(--ecommerce-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.totem-payment-empty h2 {
    margin-bottom: 12px;
    color: var(--ecommerce-ink);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
}

.totem-payment-empty p {
    max-width: 500px;
    margin: 0 auto;
    color: var(--ecommerce-muted);
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 700px) {
    .totem-installment-details {
        grid-template-columns: 1fr 1fr;
    }

    .totem-installment-details .totem-installment-value {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .totem-payment-heading-icon {
        display: none;
    }

    .totem-installment-details {
        grid-template-columns: 1fr;
    }

    .totem-installment-details .totem-installment-value {
        grid-column: auto;
    }

    .totem-card-payment {
        padding: 18px 14px !important;
    }

    .totem-card-fields td {
        display: block;
        width: 100%;
        padding-left: 0 !important;
    }
}
