/* =========================================================
   ÁREA DO CLIENTE
   LUXURY / PREMIUM / CLEAN / RESPONSIVO
   NÃO AFETA O CARDÁPIO PÚBLICO
========================================================= */

:root {

    --cliente-bg: #f7f5f1;

    --cliente-bg-soft: #fbfaf8;

    --cliente-surface: #ffffff;

    --cliente-surface-soft: #f4f1eb;

    --cliente-gold: #b18a45;

    --cliente-gold-light: #d1b16c;

    --cliente-gold-dark: #806229;

    --cliente-text: #171717;

    --cliente-text-soft: #3f3b35;

    --cliente-muted: #817b72;

    --cliente-muted-light: #a29c93;

    --cliente-border: rgba(42, 36, 27, .09);

    --cliente-border-gold: rgba(177, 138, 69, .25);

    --cliente-sidebar: #181715;

    --cliente-sidebar-soft: #211f1b;

    --cliente-radius: 20px;

}


/* =========================================================
   RESET DA ÁREA DO CLIENTE
========================================================= */

.cliente-app,
.cliente-app * {

    box-sizing: border-box;

}


.cliente-app {

    width: 100%;

    min-height: 100vh;

    overflow-x: hidden;

    color: var(--cliente-text);

    background:

        radial-gradient(
            circle at 85% 0%,
            rgba(177,138,69,.08),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #fbfaf8 0%,
            #f5f2ed 100%
        );

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

}


.cliente-app a {

    -webkit-tap-highlight-color: transparent;

}


/* =========================================================
   SIDEBAR
========================================================= */

.cliente-sidebar {

    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 100;

    width: 260px;

    display: flex;

    flex-direction: column;

    padding: 24px 18px;

    overflow-y: auto;

    background:

        linear-gradient(
            180deg,
            #191816 0%,
            #121210 100%
        );

    border-right:
        1px solid
        rgba(255,255,255,.055);

    box-shadow:
        12px 0 40px rgba(0,0,0,.08);

}


/* =========================================================
   BRAND
========================================================= */

.cliente-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        0 8px 24px;

    border-bottom:
        1px solid
        rgba(255,255,255,.07);

}


.cliente-brand-icon {

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #191713;

    background:

        linear-gradient(
            145deg,
            #dfc583,
            #b18a45
        );

    font-size: 18px;

    box-shadow:
        0 8px 22px
        rgba(177,138,69,.20);

}


.cliente-brand strong {

    display: block;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;

    font-weight: 400;

    letter-spacing: -.01em;

}


.cliente-brand span {

    display: block;

    margin-top: 3px;

    color: #77736c;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: .12em;

}


/* =========================================================
   USUÁRIO
========================================================= */

.cliente-user {

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        23px 8px;

}


.cliente-avatar {

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(209,177,108,.45);

    border-radius: 50%;

    color: #d9bd7b;

    background:
        rgba(177,138,69,.08);

    font-size: 13px;

    font-weight: 600;

}


.cliente-user strong {

    display: block;

    max-width: 150px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #f4f2ed;

    font-size: 12px;

    font-weight: 650;

}


.cliente-user span {

    display: block;

    margin-top: 4px;

    color: #77736c;

    font-size: 9px;

}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.cliente-navigation {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.cliente-navigation a {

    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 44px;

    padding:
        0 13px;

    border-radius: 12px;

    color: #77746e;

    text-decoration: none;

    font-size: 11px;

    font-weight: 500;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;

}


.cliente-navigation a span {

    width: 20px;

    color: #716e68;

    text-align: center;

    font-size: 15px;

    transition:
        color .25s ease;

}


.cliente-navigation a:hover {

    color: #e9e4d9;

    background:
        rgba(255,255,255,.045);

}


.cliente-navigation a:hover span {

    color: #d1b16c;

}


.cliente-navigation a.active {

    color: #e3c986;

    background:

        linear-gradient(
            90deg,
            rgba(177,138,69,.15),
            rgba(177,138,69,.035)
        );

}


.cliente-navigation a.active::before {

    content: "";

    position: absolute;

    left: 0;

    top: 9px;
    bottom: 9px;

    width: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #dfc583,
            #9e7836
        );

}


.cliente-navigation a.active span {

    color: #d6b86f;

}


/* =========================================================
   BOTTOM SIDEBAR
========================================================= */

.cliente-sidebar-bottom {

    margin-top: auto;

    padding-top: 20px;

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.cliente-menu-link,
.cliente-logout {

    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 40px;

    padding:
        0 12px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 10px;

    transition:
        background .25s ease,
        color .25s ease;

}


.cliente-menu-link {

    color: #77736c;

}


.cliente-menu-link:hover {

    color: #d7c99e;

    background:
        rgba(255,255,255,.035);

}


.cliente-logout {

    color: #77736c;

}


.cliente-logout:hover {

    color: #d99696;

    background:
        rgba(180,70,70,.06);

}


/* =========================================================
   MAIN
   CORREÇÃO IMPORTANTE:
   NÃO USAR width:100% COM margin-left
========================================================= */

.cliente-main {

    width:
        calc(100% - 260px);

    min-width: 0;

    min-height: 100vh;

    margin-left: 260px;

    overflow-x: hidden;

}


/* =========================================================
   CONTEÚDO
========================================================= */

.cliente-content {

    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    padding:
        58px 42px 90px;

}


/* =========================================================
   MOBILE HEADER
========================================================= */

.cliente-mobile-header {

    display: none;

}


/* =========================================================
   CABEÇALHO DA PÁGINA
========================================================= */

.cliente-page-header {

    width: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 32px;

}


.cliente-page-header > div {

    min-width: 0;

}


.cliente-page-eyebrow {

    display: block;

    margin-bottom: 9px;

    color:
        var(--cliente-gold-dark);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .28em;

}


.cliente-page-header h1 {

    margin: 0;

    color:
        #171512;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(38px, 4.5vw, 58px);

    line-height: 1.02;

    font-weight: 400;

    letter-spacing:
        -.045em;

}


.cliente-page-header p {

    margin:
        10px 0 0;

    color:
        var(--cliente-muted);

    font-size: 13px;

    line-height: 1.6;

}


/* =========================================================
   BOTÃO HEADER
========================================================= */

.cliente-header-button {

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 43px;

    padding:
        0 18px;

    border:
        1px solid
        var(--cliente-border-gold);

    border-radius: 11px;

    color:
        #765a29;

    background:
        rgba(255,255,255,.75);

    box-shadow:
        0 8px 24px
        rgba(80,65,40,.06);

    text-decoration: none;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .10em;

    text-transform: uppercase;

    white-space: nowrap;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        color .25s ease;

}


.cliente-header-button:hover {

    transform:
        translateY(-2px);

    color:
        #ffffff;

    background:
        linear-gradient(
            135deg,
            #c7a762,
            #9d7738
        );

    box-shadow:
        0 12px 28px
        rgba(120,90,35,.16);

}


/* =========================================================
   ALERTAS
========================================================= */

.cliente-alert {

    width: 100%;

    margin-bottom: 22px;

    padding:
        13px 17px;

    border-radius: 12px;

    font-size: 12px;

}


.cliente-alert-success {

    color: #51745b;

    border:
        1px solid
        rgba(81,116,91,.18);

    background:
        rgba(81,116,91,.06);

}


.cliente-alert-error {

    color: #985e5e;

    border:
        1px solid
        rgba(152,94,94,.18);

    background:
        rgba(152,94,94,.06);

}


/* =========================================================
   SACOLA NO DASHBOARD
========================================================= */

.cliente-bag-card {

    position: relative;

    width: 100%;

    min-height: 94px;

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;

    padding:
        16px 18px;

    overflow: hidden;

    border:
        1px solid
        rgba(177,138,69,.25);

    border-radius:
        var(--cliente-radius);

    background:

        linear-gradient(
            135deg,
            #24221d 0%,
            #191815 65%,
            #211e18 100%
        );

    box-shadow:
        0 18px 40px
        rgba(40,33,22,.12);

}


.cliente-bag-card::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    top: -100px;

    border-radius: 50%;

    background:
        rgba(209,177,108,.07);

}


.cliente-bag-icon {

    position: relative;

    z-index: 1;

    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(209,177,108,.35);

    border-radius: 13px;

    color: #d8bc79;

    background:
        rgba(209,177,108,.08);

    font-size: 17px;

}


.cliente-bag-content {

    position: relative;

    z-index: 1;

    min-width: 0;

    flex: 1;

}


.cliente-bag-content span {

    display: block;

    margin-bottom: 3px;

    color:
        #bba06a;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .24em;

}


.cliente-bag-content strong {

    display: block;

    color: #ffffff;

    font-family:
        Georgia,
        serif;

    font-size: 18px;

    font-weight: 400;

}


.cliente-bag-content p {

    margin:
        2px 0 0;

    color:
        #8f8a80;

    font-size: 9px;

}


.cliente-bag-button {

    position: relative;

    z-index: 2;

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 34px;

    padding:
        0 14px;

    border:
        1px solid
        rgba(209,177,108,.35);

    border-radius: 9px;

    color:
        #d9bd7b;

    background:
        rgba(255,255,255,.025);

    text-decoration: none;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

    white-space: nowrap;

    transition:
        background .25s ease,
        color .25s ease;

}


.cliente-bag-button:hover {

    color: #211d15;

    background:
        #d4b56f;

}


/* =========================================================
   ESTATÍSTICAS
========================================================= */

.cliente-stats {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 54px;

}


.cliente-stat-card {

    position: relative;

    min-width: 0;

    min-height: 112px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding:
        20px;

    overflow: hidden;

    border:
        1px solid
        var(--cliente-border);

    border-radius:
        var(--cliente-radius);

    background:
        rgba(255,255,255,.86);

    box-shadow:
        0 12px 35px
        rgba(55,46,32,.055);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


.cliente-stat-card::after {

    content: "";

    position: absolute;

    right: -35px;
    bottom: -45px;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background:
        rgba(177,138,69,.07);

}


.cliente-stat-card:hover {

    transform:
        translateY(-3px);

    border-color:
        var(--cliente-border-gold);

    box-shadow:
        0 18px 45px
        rgba(55,46,32,.09);

}


.cliente-stat-icon {

    position: relative;

    z-index: 1;

    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(177,138,69,.22);

    border-radius: 13px;

    color:
        var(--cliente-gold-dark);

    background:
        linear-gradient(
            145deg,
            #faf7ef,
            #f2ecdf
        );

    font-size: 17px;

}


.cliente-stat-card > div {

    position: relative;

    z-index: 1;

    min-width: 0;

}


.cliente-stat-card strong {

    display: block;

    max-width: 100%;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color:
        #171512;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    line-height: 1.1;

    font-weight: 400;

}


.cliente-stat-card span:not(
    .cliente-stat-icon
) {

    display: block;

    margin-top: 5px;

    color:
        #858078;

    font-size: 9px;

    line-height: 1.4;

}


/* =========================================================
   TÍTULO DA SEÇÃO
========================================================= */

.cliente-section-title {

    width: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;

}


.cliente-section-title > div {

    min-width: 0;

}


.cliente-section-title > div > span {

    display: block;

    color:
        var(--cliente-gold-dark);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .25em;

}


.cliente-section-title h2 {

    margin:
        6px 0 0;

    color:
        #171512;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 29px;

    line-height: 1.1;

    font-weight: 400;

    letter-spacing:
        -.025em;

}


.cliente-section-title > a {

    flex: 0 0 auto;

    color:
        var(--cliente-gold-dark);

    text-decoration: none;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

}


.cliente-section-title > a:hover {

    color:
        #5f461d;

}


/* =========================================================
   PEDIDOS
========================================================= */

.cliente-order-list {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 9px;

}


.cliente-order-card {

    width: 100%;

    min-width: 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        17px 19px;

    border:
        1px solid
        var(--cliente-border);

    border-radius: 15px;

    color:
        inherit;

    background:
        rgba(255,255,255,.75);

    box-shadow:
        0 7px 22px
        rgba(55,46,32,.035);

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}


.cliente-order-card:hover {

    transform:
        translateX(3px);

    border-color:
        var(--cliente-border-gold);

    background:
        #ffffff;

    box-shadow:
        0 12px 30px
        rgba(55,46,32,.07);

}


.cliente-order-card > div {

    min-width: 0;

}


.cliente-order-number {

    display: block;

    margin-bottom: 4px;

    color:
        var(--cliente-gold-dark);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .15em;

}


.cliente-order-card strong {

    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color:
        #292722;

    font-size: 12px;

    font-weight: 600;

}


.cliente-order-arrow {

    flex: 0 0 auto;

    color:
        var(--cliente-gold);

    font-size: 18px;

}


/* =========================================================
   ESTADO VAZIO
========================================================= */

.cliente-empty {

    width: 100%;

    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding:
        50px 25px;

    text-align: center;

    border:
        1px solid
        var(--cliente-border);

    border-radius:
        24px;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(177,138,69,.07),
            transparent 40%
        ),

        rgba(255,255,255,.72);

    box-shadow:
        0 18px 50px
        rgba(55,46,32,.045);

}


.cliente-empty-icon {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border:
        1px solid
        rgba(177,138,69,.24);

    border-radius: 17px;

    color:
        var(--cliente-gold-dark);

    background:
        #faf7ef;

    font-size: 28px;

}


.cliente-empty h3 {

    margin: 0;

    color:
        #1b1916;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;

    line-height: 1.2;

    font-weight: 400;

}


.cliente-empty p {

    max-width: 430px;

    margin:
        9px auto 22px;

    color:
        #817c73;

    font-size: 11px;

    line-height: 1.7;

}


/* =========================================================
   BOTÃO PRINCIPAL
========================================================= */

.cliente-primary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 43px;

    padding:
        0 20px;

    border:
        1px solid
        #b18a45;

    border-radius: 11px;

    color:
        #ffffff;

    background:

        linear-gradient(
            135deg,
            #c7a762,
            #a27b3b
        );

    box-shadow:
        0 10px 25px
        rgba(130,96,38,.14);

    text-decoration: none;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.cliente-primary-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 15px 32px
        rgba(130,96,38,.20);

}


/* =========================================================
   AUTH
========================================================= */

.cliente-auth-page {

    width: 100%;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(177,138,69,.10),
            transparent 35%
        ),

        #f6f3ed;

}


.cliente-auth-card {

    width:
        min(460px, 100%);

    padding: 42px;

    border:
        1px solid
        rgba(177,138,69,.20);

    border-radius: 25px;

    background:
        rgba(255,255,255,.92);

    box-shadow:
        0 30px 90px
        rgba(48,40,28,.12);

}


.cliente-auth-card-large {

    width:
        min(620px, 100%);

}


/* =========================================================
   AUTH LOGO
========================================================= */

.cliente-auth-logo {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 16px;

    color:
        #211c13;

    background:

        linear-gradient(
            145deg,
            #dfc583,
            #b18a45
        );

    font-size: 22px;

    box-shadow:
        0 10px 25px
        rgba(177,138,69,.16);

}


.cliente-auth-eyebrow {

    color:
        var(--cliente-gold-dark);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .3em;

}


.cliente-auth-card h1 {

    margin:
        9px 0 0;

    color:
        #191714;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 40px;

    font-weight: 400;

}


.cliente-auth-description {

    margin:
        10px 0 28px;

    color:
        #807a71;

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   FORM
========================================================= */

.cliente-auth-form {

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.cliente-field {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.cliente-field label {

    color:
        #5f5a52;

    font-size: 10px;

    font-weight: 650;

}


.cliente-field input {

    width: 100%;

    height: 48px;

    padding:
        0 14px;

    outline: none;

    border:
        1px solid
        rgba(45,39,29,.10);

    border-radius: 11px;

    color:
        #27241f;

    background:
        #fbfaf8;

    font-size: 12px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}


.cliente-field input:focus {

    border-color:
        rgba(177,138,69,.55);

    background:
        #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(177,138,69,.08);

}


.cliente-field input::placeholder {

    color:
        #aaa49b;

}


.cliente-auth-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

}


.cliente-auth-form
.cliente-primary-button {

    width: 100%;

    margin-top: 4px;

}


.cliente-secondary-button {

    width: 100%;

    min-height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 9px;

    border:
        1px solid
        rgba(45,39,29,.10);

    border-radius: 10px;

    color:
        #716b62;

    background:
        #ffffff;

    text-decoration: none;

    font-size: 9px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .08em;

}


.cliente-secondary-button:hover {

    color:
        var(--cliente-gold-dark);

    border-color:
        var(--cliente-border-gold);

}


.cliente-auth-divider {

    display: flex;

    align-items: center;

    gap: 14px;

    margin:
        23px 0 3px;

    color:
        #aaa49a;

    font-size: 9px;

}


.cliente-auth-divider::before,
.cliente-auth-divider::after {

    content: "";

    flex: 1;

    height: 1px;

    background:
        rgba(45,39,29,.08);

}


.cliente-auth-bottom {

    margin-top: 22px;

    color:
        #8b857c;

    text-align: center;

    font-size: 11px;

}


.cliente-auth-bottom a {

    color:
        var(--cliente-gold-dark);

    text-decoration: none;

}


.cliente-back-link {

    display: block;

    margin-top: 22px;

    color:
        #99938a;

    text-align: center;

    text-decoration: none;

    font-size: 10px;

}


.cliente-back-link:hover {

    color:
        var(--cliente-gold-dark);

}


/* =========================================================
   PERFIL
========================================================= */

.cliente-profile-layout {

    display: grid;

    grid-template-columns:
        270px
        minmax(0, 1fr);

    gap: 18px;

}


.cliente-profile-card,
.cliente-form-card {

    min-width: 0;

    padding: 28px;

    border:
        1px solid
        var(--cliente-border);

    border-radius:
        var(--cliente-radius);

    background:
        rgba(255,255,255,.86);

    box-shadow:
        0 15px 40px
        rgba(55,46,32,.05);

}


.cliente-profile-card {

    text-align: center;

}


.cliente-profile-avatar {

    width: 84px;
    height: 84px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        4px auto 18px;

    border:
        1px solid
        rgba(177,138,69,.35);

    border-radius: 50%;

    color:
        var(--cliente-gold-dark);

    background:
        #faf7ef;

    font-size: 29px;

    font-weight: 600;

}


.cliente-profile-card h2 {

    margin: 0;

    color:
        #1d1a16;

    font-family:
        Georgia,
        serif;

    font-size: 22px;

    font-weight: 400;

}


.cliente-profile-card p {

    margin:
        7px 0 18px;

    color:
        #858077;

    font-size: 10px;

    word-break: break-word;

}


.cliente-profile-status {

    color:
        #5d8865;

    font-size: 9px;

}


.cliente-form-card-header {

    margin-bottom: 22px;

}


.cliente-form-card-header span {

    color:
        var(--cliente-gold-dark);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .22em;

}


.cliente-form-card-header h2 {

    margin:
        7px 0 0;

    color:
        #1b1814;

    font-family:
        Georgia,
        serif;

    font-size: 24px;

    font-weight: 400;

}


.cliente-form-card form {

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.cliente-form-actions {

    margin-top: 4px;

}


/* =========================================================
   PEDIDO
========================================================= */

.cliente-pedido-card {

    width: 100%;

    max-width: 800px;

    padding: 32px;

    border:
        1px solid
        var(--cliente-border);

    border-radius:
        var(--cliente-radius);

    background:
        rgba(255,255,255,.88);

    box-shadow:
        0 18px 50px
        rgba(55,46,32,.06);

}


.cliente-pedido-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.cliente-pedido-header span,
.cliente-pedido-info span,
.cliente-pedido-observacao span {

    display: block;

    color:
        var(--cliente-gold-dark);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .18em;

}


.cliente-pedido-header h2 {

    margin:
        7px 0 0;

    color:
        #1b1814;

    font-family:
        Georgia,
        serif;

    font-size: 28px;

    font-weight: 400;

}


.cliente-pedido-status-icon {

    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(91,139,101,.25);

    border-radius: 50%;

    color:
        #5f8c68;

    background:
        rgba(91,139,101,.06);

}


.cliente-pedido-divider {

    height: 1px;

    margin:
        27px 0;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(177,138,69,.25),
            transparent
        );

}


.cliente-pedido-info {

    display: flex;

    gap: 70px;

    flex-wrap: wrap;

}


.cliente-pedido-info strong {

    display: block;

    margin-top: 7px;

    color:
        #29251f;

    font-size: 17px;

    font-weight: 550;

}


.cliente-pedido-observacao {

    margin-top: 32px;

    padding-top: 23px;

    border-top:
        1px solid
        rgba(45,39,29,.07);

}


.cliente-pedido-observacao p {

    margin:
        9px 0 0;

    color:
        #7c766d;

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 1100px) {

    .cliente-sidebar {

        width: 235px;

    }


    .cliente-main {

        width:
            calc(100% - 235px);

        margin-left: 235px;

    }


    .cliente-content {

        padding:
            48px 30px 75px;

    }


    .cliente-page-header h1 {

        font-size:
            clamp(36px, 5vw, 50px);

    }


    .cliente-stats {

        gap: 12px;

    }


    .cliente-stat-card {

        padding: 17px;

    }


    .cliente-profile-layout {

        grid-template-columns:
            230px
            minmax(0, 1fr);

    }

}


/* =========================================================
   TABLET PEQUENO
========================================================= */

@media (max-width: 850px) {

    .cliente-sidebar {

        display: none;

    }


    .cliente-main {

        width: 100%;

        margin-left: 0;

    }


    .cliente-mobile-header {

        position: sticky;

        top: 0;

        z-index: 90;

        width: 100%;

        height: 64px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        padding:
            0 22px;

        border-bottom:
            1px solid
            rgba(45,39,29,.08);

        background:
            rgba(251,250,248,.94);

        backdrop-filter:
            blur(18px);

    }


    .cliente-mobile-brand {

        color:
            #29251f;

        font-family:
            Georgia,
            serif;

        font-size: 17px;

        font-weight: 400;

    }


    .cliente-mobile-logout {

        color:
            var(--cliente-gold-dark);

        text-decoration: none;

        font-size: 9px;

        font-weight: 700;

        text-transform: uppercase;

        letter-spacing: .08em;

    }


    .cliente-content {

        width: 100%;

        padding:
            38px 25px 65px;

    }


    .cliente-stats {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }


    .cliente-profile-layout {

        grid-template-columns: 1fr;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .cliente-content {

        padding:
            30px 18px 55px;

    }


    .cliente-page-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 18px;

        margin-bottom: 25px;

    }


    .cliente-page-header h1 {

        font-size: 38px;

    }


    .cliente-page-header p {

        font-size: 12px;

    }


    .cliente-header-button {

        width: 100%;

    }


    /* SACOLA */

    .cliente-bag-card {

        align-items: flex-start;

        gap: 13px;

        min-height: auto;

        padding: 15px;

    }


    .cliente-bag-content {

        padding-right: 0;

    }


    .cliente-bag-button {

        position: absolute;

        right: 14px;

        bottom: 14px;

    }


    .cliente-bag-content p {

        max-width: 180px;

        padding-bottom: 35px;

    }


    /* STATS */

    .cliente-stats {

        grid-template-columns: 1fr;

        gap: 10px;

        margin-bottom: 42px;

    }


    .cliente-stat-card {

        min-height: 88px;

        padding: 16px;

    }


    .cliente-stat-icon {

        width: 42px;
        height: 42px;

        flex-basis: 42px;

    }


    .cliente-stat-card strong {

        font-size: 18px;

    }


    /* SECTION */

    .cliente-section-title {

        align-items: flex-start;

        flex-direction: column;

        gap: 9px;

    }


    .cliente-section-title h2 {

        font-size: 27px;

    }


    /* EMPTY */

    .cliente-empty {

        min-height: 260px;

        padding:
            38px 18px;

    }


    .cliente-empty h3 {

        font-size: 21px;

    }


    /* PEDIDO */

    .cliente-pedido-card {

        padding: 23px;

    }


    .cliente-pedido-info {

        gap: 30px;

    }


    /* AUTH */

    .cliente-auth-page {

        padding: 16px;

    }


    .cliente-auth-card {

        padding:
            30px 22px;

        border-radius: 21px;

    }


    .cliente-auth-grid {

        grid-template-columns: 1fr;

    }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {

    .cliente-content {

        padding:
            27px 13px 48px;

    }


    .cliente-page-header h1 {

        font-size: 34px;

    }


    .cliente-bag-card {

        padding: 13px;

    }


    .cliente-bag-icon {

        width: 39px;
        height: 39px;

        flex-basis: 39px;

    }


    .cliente-bag-content strong {

        font-size: 16px;

    }


    .cliente-bag-button {

        right: 12px;
        bottom: 12px;

        min-height: 31px;

        padding:
            0 10px;

        font-size: 7px;

    }


    .cliente-stat-card {

        padding: 14px;

    }


    .cliente-order-card {

        padding:
            15px;

    }


    .cliente-empty {

        padding:
            35px 15px;

    }


    .cliente-empty h3 {

        font-size: 19px;

    }

}


/* =========================================================
   ACESSIBILIDADE / MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cliente-app *,
    .cliente-app *::before,
    .cliente-app *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;

    }

}

/* =========================================================
   SACOLA
   ========================================================= */

.public-cart-page {
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 193, 7, .08),
            transparent 32%
        ),
        #f7f8fa;
    color: #17191c;
    box-sizing: border-box;
}

.public-cart-page *,
.public-cart-page *::before,
.public-cart-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.public-cart-container {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.public-cart-header {
    padding: 42px 0 48px;
    background: #ffffff;
    border-bottom: 1px solid #eceef1;
}

.public-cart-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 36px;

    color: #555b63;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        color .2s ease,
        transform .2s ease;
}

.public-cart-back:hover {
    color: #111;
    transform: translateX(-3px);
}

.public-cart-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid #e1e4e8;
    border-radius: 10px;

    background: #fff;

    font-size: 18px;
}

.public-cart-title {
    max-width: 720px;
}

.public-cart-eyebrow {
    display: block;

    margin-bottom: 9px;

    color: #9b7a22;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.public-cart-title h1 {
    margin: 0;

    font-size: clamp(
        34px,
        5vw,
        54px
    );

    line-height: 1.05;
    letter-spacing: -.045em;

    font-weight: 800;
}

.public-cart-title h1 strong {
    font-weight: 800;
}

.public-cart-title p {
    margin: 15px 0 0;

    color: #747a82;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   MAIN
   ========================================================= */

.public-cart-main {
    padding: 48px 0 80px;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.public-cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        360px;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   PRODUTOS
   ========================================================= */

.public-cart-products {
    min-width: 0;

    padding: 30px;

    background: #fff;

    border: 1px solid #e8eaed;
    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, .05);
}

.public-cart-section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 25px;

    border-bottom: 1px solid #eceef1;
}

.public-cart-section-header h2 {
    margin: 0;

    font-size: 25px;
    letter-spacing: -.025em;
}

.public-cart-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 0 13px;

    border-radius: 999px;

    background: #f2f3f5;

    color: #555b63;

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   ITEM
   ========================================================= */

.public-cart-items {
    display: flex;
    flex-direction: column;
}

.public-cart-item {
    display: grid;

    grid-template-columns:
        100px
        minmax(0, 1fr)
        auto;

    gap: 20px;

    align-items: center;

    padding: 24px 0;

    border-bottom: 1px solid #eceef1;
}


/* =========================================================
   IMAGEM
   ========================================================= */

.public-cart-item-image {
    width: 100px;
    height: 100px;

    overflow: hidden;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #f5f5f5,
            #e9eaec
        );
}

.public-cart-item-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.public-cart-item-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 34px;
}


/* =========================================================
   INFORMAÇÕES
   ========================================================= */

.public-cart-item-info {
    min-width: 0;
}

.public-cart-item-label {
    display: block;

    margin-bottom: 6px;

    color: #a0a5ac;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .14em;
}

.public-cart-item-info h3 {
    margin: 0 0 8px;

    color: #17191c;

    font-size: 18px;
    line-height: 1.3;

    font-weight: 750;

    overflow-wrap: anywhere;
}

.public-cart-item-price {
    color: #777d85;

    font-size: 14px;
}


/* =========================================================
   AÇÕES
   ========================================================= */

.public-cart-item-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 18px;
}


/* =========================================================
   QUANTIDADE
   ========================================================= */

.public-cart-quantity {
    display: inline-flex;

    align-items: center;

    height: 42px;

    border: 1px solid #e0e3e7;
    border-radius: 12px;

    overflow: hidden;

    background: #fff;
}

.public-cart-quantity button {
    width: 38px;
    height: 42px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #222;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.public-cart-quantity button:hover {
    background: #f3f4f6;
}

.public-cart-quantity strong {
    min-width: 34px;

    text-align: center;

    font-size: 14px;
}


/* =========================================================
   SUBTOTAL
   ========================================================= */

.public-cart-item-subtotal {
    min-width: 100px;

    text-align: right;

    font-size: 15px;
}


/* =========================================================
   REMOVER
   ========================================================= */

.public-cart-remove-form {
    margin: 0;
}

.public-cart-remove {
    padding: 0;

    border: 0;

    background: transparent;

    color: #9a6060;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.public-cart-remove:hover {
    color: #b32626;
    text-decoration: underline;
}


/* =========================================================
   PARTE INFERIOR
   ========================================================= */

.public-cart-bottom-actions {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;
}

.public-cart-continue {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #30343a;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.public-cart-continue span {
    font-size: 18px;
}

.public-cart-continue:hover {
    text-decoration: underline;
}

.public-cart-clear {
    padding: 0;

    border: 0;

    background: transparent;

    color: #999fa6;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.public-cart-clear:hover {
    color: #b32626;
}


/* =========================================================
   RESUMO
   ========================================================= */

.public-cart-summary {
    position: sticky;
    top: 25px;

    min-width: 0;
}

.public-cart-summary-inner {
    padding: 30px;

    border-radius: 22px;

    background: #17191c;
    color: #fff;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, .15);
}

.public-cart-summary-label {
    display: block;

    margin-bottom: 8px;

    color: #aaaeb4;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .16em;
}

.public-cart-summary h2 {
    margin: 0 0 30px;

    font-size: 25px;
    letter-spacing: -.025em;
}


/* =========================================================
   LINHAS
   ========================================================= */

.public-cart-summary-line {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 18px;

    color: #c8cbd0;

    font-size: 13px;
}

.public-cart-summary-line strong {
    color: #fff;

    text-align: right;

    font-size: 13px;
}

.public-cart-summary-muted {
    max-width: 155px;

    color: #858a91 !important;

    font-weight: 500;
    line-height: 1.45;
}


/* =========================================================
   DIVISOR
   ========================================================= */

.public-cart-summary-divider {
    width: 100%;
    height: 1px;

    margin: 25px 0;

    background: rgba(255, 255, 255, .10);
}


/* =========================================================
   TOTAL
   ========================================================= */

.public-cart-total {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;
}

.public-cart-total span {
    color: #b7bbc1;

    font-size: 12px;
}

.public-cart-total strong {
    color: #fff;

    font-size: 27px;
    letter-spacing: -.035em;
}


/* =========================================================
   FINALIZAR
   ========================================================= */

.public-cart-checkout {
    width: 100%;
    min-height: 56px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 0 20px;

    border: 0;
    border-radius: 14px;

    background: #fff;

    color: #17191c;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.public-cart-checkout:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .20);
}

.public-cart-checkout strong {
    font-size: 20px;
}


/* =========================================================
   SEGURANÇA
   ========================================================= */

.public-cart-security {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 22px;
}

.public-cart-security > span {
    font-size: 15px;
}

.public-cart-security p {
    margin: 0;

    color: #858a91;

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   SACOLA VAZIA
   ========================================================= */

.public-cart-empty {
    max-width: 600px;

    margin: 40px auto 0;

    padding: 70px 30px;

    text-align: center;

    background: #fff;

    border: 1px solid #e8eaed;
    border-radius: 24px;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, .05);
}

.public-cart-empty-icon {
    width: 78px;
    height: 78px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 22px;

    background: #f3f4f6;

    font-size: 34px;
}

.public-cart-empty h2 {
    margin: 0 0 10px;

    font-size: 26px;

    letter-spacing: -.03em;
}

.public-cart-empty p {
    max-width: 420px;

    margin: 0 auto 28px;

    color: #777d85;

    font-size: 14px;
    line-height: 1.6;
}

.public-cart-empty-button {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 13px;

    background: #17191c;

    color: #fff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.public-cart-empty-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .16);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .public-cart-layout {
        grid-template-columns:
            minmax(0, 1fr)
            320px;

        gap: 20px;
    }

    .public-cart-item {
        grid-template-columns:
            82px
            minmax(0, 1fr);
    }

    .public-cart-item-image {
        width: 82px;
        height: 82px;
    }

    .public-cart-item-actions {
        grid-column: 1 / -1;

        justify-content: space-between;

        padding-top: 5px;
    }

    .public-cart-item-subtotal {
        margin-left: auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .public-cart-container {
        width: min(
            100% - 28px,
            600px
        );
    }

    .public-cart-header {
        padding: 28px 0 34px;
    }

    .public-cart-back {
        margin-bottom: 28px;
    }

    .public-cart-title h1 {
        font-size: 38px;
    }

    .public-cart-main {
        padding: 28px 0 55px;
    }

    .public-cart-layout {
        display: flex;
        flex-direction: column;
    }

    .public-cart-products {
        width: 100%;

        padding: 20px;

        border-radius: 18px;
    }

    .public-cart-section-header {
        align-items: center;
    }

    .public-cart-section-header h2 {
        font-size: 21px;
    }

    .public-cart-item {
        grid-template-columns:
            76px
            minmax(0, 1fr);

        gap: 14px;

        padding: 20px 0;
    }

    .public-cart-item-image {
        width: 76px;
        height: 76px;

        border-radius: 13px;
    }

    .public-cart-item-info h3 {
        font-size: 16px;
    }

    .public-cart-item-actions {
        display: grid;

        grid-template-columns:
            auto
            1fr
            auto;

        align-items: center;

        gap: 10px;

        width: 100%;

        padding-left: 90px;
    }

    .public-cart-quantity {
        height: 38px;
    }

    .public-cart-quantity button {
        width: 34px;
        height: 38px;
    }

    .public-cart-item-subtotal {
        min-width: 0;

        text-align: center;

        font-size: 14px;
    }

    .public-cart-remove {
        font-size: 11px;
    }

    .public-cart-bottom-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .public-cart-continue {
        justify-content: center;

        min-height: 44px;

        border: 1px solid #e3e5e8;
        border-radius: 12px;
    }

    .public-cart-clear {
        padding: 10px;

        text-align: center;
    }

    .public-cart-summary {
        position: static;

        width: 100%;
    }

    .public-cart-summary-inner {
        padding: 24px;

        border-radius: 18px;
    }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 430px) {

    .public-cart-container {
        width: calc(100% - 20px);
    }

    .public-cart-title h1 {
        font-size: 34px;
    }

    .public-cart-title p {
        font-size: 13px;
    }

    .public-cart-products {
        padding: 16px;
    }

    .public-cart-section-header {
        gap: 10px;
    }

    .public-cart-counter {
        min-height: 30px;

        padding: 0 9px;

        font-size: 10px;
    }

    .public-cart-item {
        grid-template-columns:
            65px
            minmax(0, 1fr);

        gap: 12px;
    }

    .public-cart-item-image {
        width: 65px;
        height: 65px;
    }

    .public-cart-item-actions {
        padding-left: 77px;

        grid-template-columns:
            auto
            1fr;

    }

    .public-cart-item-subtotal {
        text-align: right;
    }

    .public-cart-remove-form {
        grid-column: 1 / -1;
    }

    .public-cart-remove {
        width: 100%;

        padding: 8px;

        border: 1px solid #eee1e1;
        border-radius: 9px;

        background: #fff8f8;
    }

    .public-cart-total strong {
        font-size: 23px;
    }

}
/* ============================================================
   PEDIDO / FINALIZAÇÃO
   RESTAURANTE
   ============================================================ */


/* ============================================================
   VARIÁVEIS
   ============================================================ */

:root {

    --pedido-bg: #f5f7fb;
    --pedido-card: #ffffff;

    --pedido-text: #151923;
    --pedido-text-soft: #687080;
    --pedido-muted: #9299a8;

    --pedido-border: #e7eaf0;

    --pedido-primary: #111827;
    --pedido-primary-hover: #000000;

    --pedido-accent: #f59e0b;
    --pedido-accent-soft: #fff7e6;

    --pedido-success: #16a34a;
    --pedido-success-soft: #ecfdf3;

    --pedido-danger: #dc2626;
    --pedido-danger-soft: #fef2f2;

    --pedido-radius: 22px;
    --pedido-radius-small: 14px;

    --pedido-shadow:
        0 20px 60px rgba(15, 23, 42, .08);

    --pedido-shadow-hover:
        0 25px 70px rgba(15, 23, 42, .13);

}


/* ============================================================
   PÁGINA
   ============================================================ */

.pedido-finalizar {

    width: 100%;

    min-height: 100vh;

    padding: 55px 20px 80px;

    background:
        radial-gradient(
            circle at top left,
            rgba(245, 158, 11, .08),
            transparent 32%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(17, 24, 39, .05),
            transparent 35%
        ),
        var(--pedido-bg);

    color: var(--pedido-text);

    box-sizing: border-box;

}


/* ============================================================
   CONTAINER
   ============================================================ */

.pedido-container {

    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

}


/* ============================================================
   CABEÇALHO
   ============================================================ */

.pedido-header {

    margin-bottom: 38px;

}


.pedido-voltar {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 28px;

    color: var(--pedido-text);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition:
        color .2s ease,
        transform .2s ease;

}


.pedido-voltar span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    border-radius: 10px;

    background: #ffffff;

    border: 1px solid var(--pedido-border);

    transition:
        background .2s ease,
        transform .2s ease;

}


.pedido-voltar:hover {

    color: var(--pedido-accent);

}


.pedido-voltar:hover span {

    transform: translateX(-3px);

}


.pedido-eyebrow {

    display: block;

    margin-bottom: 8px;

    color: var(--pedido-accent);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

}


.pedido-header h1 {

    margin: 0 0 12px;

    font-size: clamp(34px, 5vw, 54px);

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -2px;

}


.pedido-header p {

    max-width: 650px;

    margin: 0;

    color: var(--pedido-text-soft);

    font-size: 16px;

    line-height: 1.7;

}


/* ============================================================
   ALERTA
   ============================================================ */

.pedido-alert {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

    padding: 16px 20px;

    border-radius: 15px;

    border: 1px solid #fecaca;

    background: var(--pedido-danger-soft);

    color: var(--pedido-danger);

    font-size: 14px;

}


/* ============================================================
   GRID
   ============================================================ */

.pedido-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(380px, .85fr);

    gap: 28px;

    align-items: start;

}


/* ============================================================
   CARD
   ============================================================ */

.pedido-card {

    position: relative;

    background: var(--pedido-card);

    border: 1px solid rgba(226, 229, 235, .9);

    border-radius: var(--pedido-radius);

    box-shadow: var(--pedido-shadow);

    overflow: hidden;

}


.pedido-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--pedido-accent),
            transparent
        );

}


/* ============================================================
   CABEÇALHO DO CARD
   ============================================================ */

.pedido-card-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    padding: 30px 30px 25px;

    border-bottom: 1px solid var(--pedido-border);

}


.pedido-card-label {

    display: block;

    margin-bottom: 7px;

    color: var(--pedido-accent);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.8px;

}


.pedido-card-header h2 {

    margin: 0;

    color: var(--pedido-text);

    font-size: 25px;

    font-weight: 900;

    letter-spacing: -.5px;

}


.pedido-card-count {

    flex-shrink: 0;

    padding: 9px 13px;

    border-radius: 999px;

    background: #f5f6f8;

    color: var(--pedido-text-soft);

    font-size: 12px;

    font-weight: 800;

}


/* ============================================================
   ITENS
   ============================================================ */

.pedido-itens {

    padding: 10px 30px 15px;

}


.pedido-item {

    display: grid;

    grid-template-columns: 86px minmax(0, 1fr) auto;

    align-items: center;

    gap: 18px;

    padding: 20px 0;

    border-bottom: 1px solid var(--pedido-border);

}


.pedido-item:last-child {

    border-bottom: 0;

}


/* ============================================================
   IMAGEM DO PRODUTO
   ============================================================ */

.pedido-item-imagem {

    position: relative;

    width: 86px;

    height: 86px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f3f4f6,
            #e5e7eb
        );

    border: 1px solid var(--pedido-border);

}


.pedido-item-imagem img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.pedido-item-placeholder {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

}


/* ============================================================
   INFORMAÇÕES
   ============================================================ */

.pedido-item-info {

    min-width: 0;

}


.pedido-item-label {

    display: block;

    margin-bottom: 6px;

    color: var(--pedido-muted);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.4px;

}


.pedido-item-nome {

    display: block;

    margin-bottom: 7px;

    color: var(--pedido-text);

    font-size: 17px;

    line-height: 1.3;

    font-weight: 850;

    word-break: break-word;

}


.pedido-item-detalhes {

    color: var(--pedido-text-soft);

    font-size: 13px;

    font-weight: 600;

}


.pedido-item-subtotal {

    white-space: nowrap;

    color: var(--pedido-text);

    font-size: 16px;

    font-weight: 900;

}


/* ============================================================
   RESUMO FINANCEIRO
   ============================================================ */

.pedido-resumo {

    margin: 5px 30px 30px;

    padding-top: 20px;

    border-top: 1px solid var(--pedido-border);

}


.pedido-resumo > div {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 8px 0;

}


.pedido-resumo span {

    color: var(--pedido-text-soft);

    font-size: 14px;

}


.pedido-resumo strong {

    color: var(--pedido-text);

    font-size: 14px;

    font-weight: 800;

}


.pedido-total {

    margin-top: 15px;

    padding-top: 20px !important;

    border-top: 1px dashed var(--pedido-border);

}


.pedido-total span {

    color: var(--pedido-text);

    font-size: 16px;

    font-weight: 800;

}


.pedido-total strong {

    color: var(--pedido-text);

    font-size: 26px;

    font-weight: 950;

}


/* ============================================================
   FORMULÁRIO
   ============================================================ */

.pedido-form {

    padding: 30px;

}


.pedido-field {

    margin-bottom: 22px;

}


.pedido-field > label {

    display: block;

    margin-bottom: 8px;

    color: var(--pedido-text);

    font-size: 13px;

    font-weight: 800;

}


.pedido-field input,
.pedido-field select,
.pedido-field textarea {

    display: block;

    width: 100%;

    box-sizing: border-box;

    border: 1px solid var(--pedido-border);

    border-radius: 13px;

    background: #fafbfc;

    color: var(--pedido-text);

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.pedido-field input,
.pedido-field select {

    height: 50px;

    padding: 0 15px;

}


.pedido-field textarea {

    min-height: 105px;

    padding: 14px 15px;

    resize: vertical;

    line-height: 1.6;

}


.pedido-field input:focus,
.pedido-field select:focus,
.pedido-field textarea:focus {

    border-color: var(--pedido-accent);

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(245, 158, 11, .10);

}


.pedido-field input[readonly] {

    background: #f5f6f8;

    color: var(--pedido-text-soft);

    cursor: default;

}


/* ============================================================
   OPÇÕES DE ENTREGA
   ============================================================ */

.pedido-entrega-opcoes {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

}


.pedido-entrega-opcao {

    position: relative;

    display: block;

    cursor: pointer;

}


.pedido-entrega-opcao > input {

    position: absolute;

    width: 1px;

    height: 1px;

    opacity: 0;

    pointer-events: none;

}


.pedido-entrega-card {

    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 82px;

    padding: 15px;

    box-sizing: border-box;

    border: 1px solid var(--pedido-border);

    border-radius: 16px;

    background: #fafbfc;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;

}


.pedido-entrega-opcao:hover .pedido-entrega-card {

    transform: translateY(-2px);

    border-color: #d7dbe3;

    background: #ffffff;

}


.pedido-entrega-opcao > input:checked
+ .pedido-entrega-card {

    border-color: var(--pedido-accent);

    background: var(--pedido-accent-soft);

    box-shadow:
        0 8px 25px rgba(245, 158, 11, .10);

}


.pedido-entrega-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    flex-shrink: 0;

    border-radius: 13px;

    background: #ffffff;

    border: 1px solid var(--pedido-border);

    font-size: 21px;

}


.pedido-entrega-texto {

    display: flex;

    flex-direction: column;

    gap: 4px;

    min-width: 0;

}


.pedido-entrega-texto strong {

    color: var(--pedido-text);

    font-size: 13px;

    font-weight: 850;

}


.pedido-entrega-texto small {

    color: var(--pedido-text-soft);

    font-size: 11px;

    line-height: 1.4;

}


/* ============================================================
   ENDEREÇO
   ============================================================ */

.pedido-endereco-field {

    padding: 18px;

    margin-top: -5px;

    border: 1px solid rgba(245, 158, 11, .25);

    border-radius: 16px;

    background: rgba(255, 247, 230, .55);

    animation:
        pedidoEnderecoEntrada .25s ease;

}


.pedido-endereco-field[hidden] {

    display: none;

}


.pedido-endereco-field > label {

    margin-bottom: 8px;

}


.pedido-obrigatorio {

    color: var(--pedido-danger);

}


.pedido-field-help {

    display: block;

    margin-top: 8px;

    color: var(--pedido-muted);

    font-size: 11px;

    line-height: 1.5;

}


@keyframes pedidoEnderecoEntrada {

    from {

        opacity: 0;

        transform: translateY(-5px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* ============================================================
   BOTÃO FINALIZAR
   ============================================================ */

.pedido-finalizar-btn {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    width: 100%;

    min-height: 58px;

    margin-top: 8px;

    padding: 0 20px 0 23px;

    border: 0;

    border-radius: 15px;

    background: var(--pedido-primary);

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 850;

    cursor: pointer;

    overflow: hidden;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;

}


.pedido-finalizar-btn::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255,255,255,.12),
            transparent
        );

    transform: translateX(-100%);

    transition: transform .6s ease;

}


.pedido-finalizar-btn:hover {

    transform: translateY(-2px);

    background: var(--pedido-primary-hover);

    box-shadow:
        0 14px 30px rgba(15, 23, 42, .20);

}


.pedido-finalizar-btn:hover::before {

    transform: translateX(100%);

}


.pedido-finalizar-btn strong {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    border-radius: 10px;

    background: rgba(255,255,255,.10);

    font-size: 19px;

}


/* ============================================================
   SEGURANÇA
   ============================================================ */

.pedido-seguranca {

    display: flex;

    align-items: flex-start;

    gap: 8px;

    margin: 18px 0 0;

    color: var(--pedido-muted);

    font-size: 11px;

    line-height: 1.6;

}


.pedido-seguranca span {

    flex-shrink: 0;

}


/* ============================================================
   SACOLA VAZIA
   ============================================================ */

.pedido-sem-itens {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 60px 20px;

    text-align: center;

}


.pedido-sem-itens > span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 70px;

    height: 70px;

    margin-bottom: 15px;

    border-radius: 20px;

    background: #f5f6f8;

    font-size: 30px;

}


.pedido-sem-itens strong {

    margin-bottom: 10px;

    font-size: 17px;

}


.pedido-sem-itens a {

    color: var(--pedido-accent);

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

}


/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 1000px) {

    .pedido-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 650px) {

    .pedido-finalizar {

        padding:
            30px
            14px
            55px;

    }


    .pedido-header {

        margin-bottom: 28px;

    }


    .pedido-header h1 {

        font-size: 36px;

        letter-spacing: -1.5px;

    }


    .pedido-header p {

        font-size: 14px;

    }


    .pedido-card {

        border-radius: 18px;

    }


    .pedido-card-header {

        padding:
            23px
            20px;

    }


    .pedido-card-header h2 {

        font-size: 21px;

    }


    .pedido-itens {

        padding:
            5px
            20px
            10px;

    }


    .pedido-item {

        grid-template-columns:
            68px
            minmax(0, 1fr);

        gap: 13px;

    }


    .pedido-item-imagem {

        width: 68px;

        height: 68px;

        border-radius: 14px;

    }


    .pedido-item-subtotal {

        grid-column: 2;

        margin-top: -5px;

        font-size: 14px;

    }


    .pedido-item-nome {

        font-size: 15px;

    }


    .pedido-resumo {

        margin:
            5px
            20px
            22px;

    }


    .pedido-form {

        padding: 23px 20px;

    }


    .pedido-entrega-opcoes {

        grid-template-columns: 1fr;

    }


    .pedido-entrega-card {

        min-height: 74px;

    }

}


@media (max-width: 420px) {

    .pedido-header h1 {

        font-size: 31px;

    }


    .pedido-card-count {

        padding: 7px 9px;

        font-size: 10px;

    }


    .pedido-item {

        grid-template-columns:
            60px
            minmax(0, 1fr);

    }


    .pedido-item-imagem {

        width: 60px;

        height: 60px;

    }


    .pedido-item-placeholder {

        font-size: 24px;

    }


    .pedido-total strong {

        font-size: 22px;

    }

}
/* =========================================================
   PEDIDOS DO CLIENTE
   ========================================================= */

.cliente-order-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
}

.cliente-order-status-icon {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;

    background: #f1f5f9;
}

.cliente-order-status strong {
    font-size: 14px;
}


/* =========================================================
   STATUS EM ANDAMENTO
   ========================================================= */

.cliente-order-status-icon.status-animado {
    animation: clientePedidoPulse 1.8s infinite;
}


/* =========================================================
   CORES DOS STATUS
   ========================================================= */

.cliente-order-status-icon.status-pendente {
    background: #fef3c7;
    color: #b45309;
}

.cliente-order-status-icon.status-aprovacao {
    background: #dbeafe;
    color: #2563eb;
}

.cliente-order-status-icon.status-fila {
    background: #ede9fe;
    color: #7c3aed;
}

.cliente-order-status-icon.status-produzindo {
    background: #dbeafe;
    color: #2563eb;
}

.cliente-order-status-icon.status-caminho {
    background: #dcfce7;
    color: #16a34a;
}

.cliente-order-status-icon.status-finalizado {
    background: #dcfce7;
    color: #15803d;
}

.cliente-order-status-icon.status-cancelado {
    background: #fee2e2;
    color: #dc2626;
}


/* =========================================================
   SETA
   ========================================================= */

.cliente-order-arrow {
    font-size: 22px;
    transition: transform .25s ease;
}

.cliente-order-card:hover .cliente-order-arrow {
    transform: translateX(5px);
}


/* =========================================================
   ANIMAÇÃO STATUS DA LISTA
   ========================================================= */

@keyframes clientePedidoPulse {

    0% {
        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(37, 99, 235, .25);
    }

    50% {
        transform: scale(1.08);
    }

    70% {
        box-shadow:
            0 0 0 9px rgba(37, 99, 235, 0);
    }

    100% {
        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(37, 99, 235, 0);
    }

}


/* =========================================================
   RESPONSIVO — LISTA DE PEDIDOS
   ========================================================= */

@media (max-width: 600px) {

    .cliente-order-card-large {
        gap: 12px;
    }

    .cliente-order-status strong {
        font-size: 13px;
    }

    .cliente-order-status-icon {
        width: 27px;
        height: 27px;
        font-size: 13px;
    }

}


//* =========================================================
   ACOMPANHAMENTO DO PEDIDO
   ========================================================= */

.cliente-pedido-status-descricao {
    margin-top: 8px;
    max-width: 650px;

    font-size: 14px;
    line-height: 1.6;

    color: #64748b;
}


/* =========================================================
   ÍCONE DO STATUS ATUAL
   ========================================================= */

.cliente-pedido-status-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    border-radius: 50%;

    background: #f8fafc;
    border: 1px solid #dbe4dc;

    font-size: 20px;

    transition:
        background .4s ease,
        border-color .4s ease,
        color .4s ease,
        box-shadow .4s ease;
}


/* =========================================================
   STATUS ATUAL — ANIMAÇÃO BASE
   ========================================================= */

.cliente-status-animado {
    position: relative;
}


/* =========================================================
   ACOMPANHAMENTO
   ========================================================= */

.cliente-pedido-acompanhamento {
    padding: 8px 0 5px;
}

.cliente-pedido-acompanhamento-titulo {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.cliente-pedido-acompanhamento-titulo span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #a06d20;
}

.cliente-pedido-acompanhamento-titulo strong {
    font-size: 13px;

    color: #64748b;
}


/* =========================================================
   LINHA DO TEMPO
   ========================================================= */

.cliente-pedido-progresso {
    position: relative;

    padding: 0 0 12px;
}


/* =========================================================
   LINHA BASE
   ========================================================= */

.cliente-pedido-linha {
    position: absolute;

    top: 23px;
    left: 8%;
    right: 8%;

    height: 3px;

    background: #e5e7eb;

    border-radius: 999px;

    overflow: hidden;
}


/* =========================================================
   LINHA PREENCHIDA
   ========================================================= */

.cliente-pedido-linha-preenchida {
    position: relative;

    height: 100%;

    background: #b88a3b;

    border-radius: 999px;

    transition:
        width 1.2s cubic-bezier(.4,0,.2,1),
        background .5s ease;

    overflow: hidden;
}


/* =========================================================
   BRILHO DA LINHA
   ========================================================= */

.cliente-pedido-linha-preenchida::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: -80px;

    width: 80px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.45),
            transparent
        );

    animation:
        clientePedidoLinhaBrilho 3.5s ease-in-out infinite;
}


/* =========================================================
   LINHA FINALIZADA
   ========================================================= */

.cliente-pedido-progresso:has(
    .cliente-pedido-etapa.finalizado
) .cliente-pedido-linha-preenchida {

    background: #16a34a;
}

.cliente-pedido-progresso:has(
    .cliente-pedido-etapa.finalizado
) .cliente-pedido-linha-preenchida::after {

    animation: none;
}


/* =========================================================
   ETAPAS
   ========================================================= */

.cliente-pedido-etapas {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 8px;
}


/* =========================================================
   CADA ETAPA
   ========================================================= */

.cliente-pedido-etapa {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    text-align: center;
}


/* =========================================================
   ÍCONE DA ETAPA
   ========================================================= */

.cliente-pedido-etapa-icone {
    width: 46px;
    height: 46px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    border: 2px solid #e2e8f0;

    color: #a1a1aa;

    font-size: 15px;
    font-weight: 700;

    transition:
        background .45s ease,
        border-color .45s ease,
        color .45s ease,
        box-shadow .45s ease,
        transform .45s ease;
}


/* =========================================================
   ETAPAS FUTURAS
   ========================================================= */

.cliente-pedido-etapa:not(.concluido):not(.ativo):not(.finalizado)
.cliente-pedido-etapa-icone {

    background: #fff;

    border-color: #e2e8f0;

    color: #cbd5e1;

    box-shadow: none;

    animation: none;
}


/* =========================================================
   ETAPA CONCLUÍDA
   ========================================================= */

.cliente-pedido-etapa.concluido .cliente-pedido-etapa-icone {

    background: #b88a3b;

    border-color: #b88a3b;

    color: #fff;

    box-shadow:
        0 4px 12px rgba(184,138,59,.18);

    animation: none;
}


/* =========================================================
   ETAPA ATIVA — PADRÃO
   ========================================================= */

.cliente-pedido-etapa.ativo .cliente-pedido-etapa-icone {

    background: #fff;

    border-color: #b88a3b;

    color: #b88a3b;

    animation: none;
}


/* =========================================================
   PENDENTE
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="pendente"]
.cliente-pedido-etapa-icone {

    border-color: #d97706;

    color: #b45309;

    box-shadow:
        0 0 0 0 rgba(217,119,6,.20);

    animation:
        clienteStatusPendente 2.2s ease-in-out infinite;
}


/* =========================================================
   AGUARDANDO APROVAÇÃO
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="aguardando_aprovacao"]
.cliente-pedido-etapa-icone {

    border-color: #2563eb;

    color: #2563eb;

    box-shadow:
        0 0 0 0 rgba(37,99,235,.18);

    animation:
        clienteStatusAprovacao 2.4s ease-in-out infinite;
}


/* =========================================================
   FILA
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="fila"]
.cliente-pedido-etapa-icone {

    border-color: #7c3aed;

    color: #7c3aed;

    animation:
        clienteStatusFila 2.8s linear infinite;
}


/* =========================================================
   PRODUZINDO
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="produzindo"]
.cliente-pedido-etapa-icone {

    border-color: #2563eb;

    color: #2563eb;

    animation:
        clienteStatusProduzindo 1.35s ease-in-out infinite;
}


/* =========================================================
   A CAMINHO
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="a_caminho"]
.cliente-pedido-etapa-icone {

    border-color: #16a34a;

    color: #16a34a;

    animation:
        clienteStatusCaminho 1.8s ease-in-out infinite;
}


/* =========================================================
   FINALIZADO
   ========================================================= */

.cliente-pedido-etapa.finalizado
.cliente-pedido-etapa-icone {

    background: #16a34a;

    border-color: #16a34a;

    color: #fff;

    box-shadow:
        0 5px 15px rgba(22,163,74,.22);

    animation: none;
}


/* =========================================================
   FINALIZADO — ✓
   ========================================================= */

.cliente-pedido-etapa.finalizado
.cliente-pedido-etapa-icone::after {

    content: "✓";

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: 18px;
    font-weight: 900;

    animation:
        clienteFinalizadoCheck .5s cubic-bezier(.2,.8,.2,1) both;
}


/* =========================================================
   TEXTO DAS ETAPAS
   ========================================================= */

.cliente-pedido-etapa-nome {
    max-width: 100px;

    font-size: 11px;

    line-height: 1.35;

    color: #94a3b8;

    transition:
        color .35s ease,
        font-weight .35s ease;
}


/* =========================================================
   TEXTO CONCLUÍDO
   ========================================================= */

.cliente-pedido-etapa.concluido
.cliente-pedido-etapa-nome {

    color: #8a642b;

    font-weight: 600;
}


/* =========================================================
   TEXTO ATIVO
   ========================================================= */

.cliente-pedido-etapa.ativo
.cliente-pedido-etapa-nome {

    color: #8a642b;

    font-weight: 700;
}


/* =========================================================
   TEXTO — PENDENTE
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="pendente"]
.cliente-pedido-etapa-nome {

    color: #b45309;

    font-weight: 800;
}


/* =========================================================
   TEXTO — APROVAÇÃO
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="aguardando_aprovacao"]
.cliente-pedido-etapa-nome {

    color: #2563eb;

    font-weight: 800;
}


/* =========================================================
   TEXTO — FILA
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="fila"]
.cliente-pedido-etapa-nome {

    color: #7c3aed;

    font-weight: 800;
}


/* =========================================================
   TEXTO — PRODUZINDO
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="produzindo"]
.cliente-pedido-etapa-nome {

    color: #2563eb;

    font-weight: 800;
}


/* =========================================================
   TEXTO — A CAMINHO
   ========================================================= */

.cliente-pedido-etapa.ativo[data-status="a_caminho"]
.cliente-pedido-etapa-nome {

    color: #16a34a;

    font-weight: 800;
}


/* =========================================================
   TEXTO — FINALIZADO
   ========================================================= */

.cliente-pedido-etapa.finalizado
.cliente-pedido-etapa-nome {

    color: #15803d;

    font-weight: 800;
}


/* =========================================================
   SPINNER
   ========================================================= */

.cliente-pedido-spinner {

    width: 17px;
    height: 17px;

    border: 2px solid rgba(184,138,59,.18);

    border-top-color: #b88a3b;
    border-right-color: #b88a3b;

    border-radius: 50%;

    animation:
        clientePedidoSpin .75s linear infinite;
}


/* =========================================================
   CANCELADO
   ========================================================= */

.cliente-pedido-cancelado {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border-radius: 12px;

    background: #fef2f2;

    border: 1px solid #fecaca;
}

.cliente-pedido-cancelado-icone {

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dc2626;

    color: #fff;

    font-size: 25px;
}

.cliente-pedido-cancelado strong {

    display: block;

    color: #b91c1c;

    font-size: 15px;
}

.cliente-pedido-cancelado p {

    margin: 4px 0 0;

    color: #7f1d1d;

    font-size: 13px;
}


/* =========================================================
   ANIMAÇÃO — PENDENTE
   ========================================================= */

@keyframes clienteStatusPendente {

    0%,
    100% {

        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(217,119,6,.20);
    }

    50% {

        transform: scale(1.04);

        box-shadow:
            0 0 0 7px rgba(217,119,6,.08);
    }

}


/* =========================================================
   ANIMAÇÃO — AGUARDANDO APROVAÇÃO
   ========================================================= */

@keyframes clienteStatusAprovacao {

    0%,
    100% {

        transform: translateY(0);

        box-shadow:
            0 0 0 0 rgba(37,99,235,.18);
    }

    50% {

        transform: translateY(-3px);

        box-shadow:
            0 0 0 7px rgba(37,99,235,.08);
    }

}


/* =========================================================
   ANIMAÇÃO — FILA
   ========================================================= */

@keyframes clienteStatusFila {

    0% {

        transform:
            rotate(0deg);
    }

    25% {

        transform:
            rotate(3deg);
    }

    50% {

        transform:
            rotate(0deg);
    }

    75% {

        transform:
            rotate(-3deg);
    }

    100% {

        transform:
            rotate(0deg);
    }

}


/* =========================================================
   ANIMAÇÃO — PRODUZINDO
   ========================================================= */

@keyframes clienteStatusProduzindo {

    0%,
    100% {

        transform:
            scale(1);

        box-shadow:
            0 0 0 0 rgba(37,99,235,.20);
    }

    35% {

        transform:
            scale(1.07);

        box-shadow:
            0 0 0 5px rgba(37,99,235,.08);
    }

    65% {

        transform:
            scale(.98);

        box-shadow:
            0 0 0 2px rgba(37,99,235,.04);
    }

}


/* =========================================================
   ANIMAÇÃO — A CAMINHO
   ========================================================= */

@keyframes clienteStatusCaminho {

    0%,
    100% {

        transform:
            translateX(0);

        box-shadow:
            0 0 0 0 rgba(22,163,74,.18);
    }

    35% {

        transform:
            translateX(4px);

        box-shadow:
            0 0 0 5px rgba(22,163,74,.07);
    }

    70% {

        transform:
            translateX(-2px);

        box-shadow:
            0 0 0 2px rgba(22,163,74,.04);
    }

}


/* =========================================================
   ANIMAÇÃO — CHECK FINALIZADO
   ========================================================= */

@keyframes clienteFinalizadoCheck {

    0% {

        opacity: 0;

        transform:
            scale(.35)
            rotate(-15deg);
    }

    70% {

        opacity: 1;

        transform:
            scale(1.15)
            rotate(3deg);
    }

    100% {

        opacity: 1;

        transform:
            scale(1)
            rotate(0);
    }

}


/* =========================================================
   ANIMAÇÃO — LINHA DE PROGRESSO
   ========================================================= */

@keyframes clientePedidoLinhaBrilho {

    0% {

        transform:
            translateX(0);
    }

    45%,
    100% {

        transform:
            translateX(520px);
    }

}


/* =========================================================
   ANIMAÇÃO — SPINNER
   ========================================================= */

@keyframes clientePedidoSpin {

    to {

        transform:
            rotate(360deg);
    }

}


/* =========================================================
   ACESSIBILIDADE — REDUZIR MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cliente-status-animado,
    .cliente-pedido-etapa-icone,
    .cliente-pedido-linha-preenchida::after,
    .cliente-pedido-spinner {

        animation: none !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .cliente-pedido-progresso {

        overflow-x: auto;

        padding-bottom: 20px;
    }

    .cliente-pedido-etapas {

        min-width: 650px;
    }

    .cliente-pedido-linha {

        left: 5%;
        right: 5%;
    }

}


@media (max-width: 500px) {

    .cliente-pedido-header {

        gap: 15px;
    }

    .cliente-pedido-status-icon {

        width: 46px;
        height: 46px;

        font-size: 17px;
    }

}
/* =========================================================
   MOBILE — LINHA DO TEMPO
   ========================================================= */

@media (max-width: 700px) {

    .cliente-pedido-progresso {
        overflow-x: auto;

        padding-bottom: 20px;
    }

    .cliente-pedido-etapas {
        min-width: 650px;
    }

    .cliente-pedido-linha {
        left: 5%;
        right: 5%;
    }

}


/* =========================================================
   MOBILE — STATUS
   ========================================================= */

@media (max-width: 500px) {

    .cliente-pedido-header {
        gap: 15px;
    }

    .cliente-pedido-status-icon {
        width: 46px;
        height: 46px;

        font-size: 17px;
    }

}


/* =========================================================
   LOGO DO RESTAURANTE - SIDEBAR
   ========================================================= */

.cliente-brand-logo {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 12px;
}

.cliente-brand-logo img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* =========================================================
   LOGO DO RESTAURANTE - MOBILE
   ========================================================= */

.cliente-mobile-logo {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 10px;
}

.cliente-mobile-logo img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* =========================================================
   LOGO DO RESTAURANTE - LOGIN
   ========================================================= */

.cliente-auth-logo-image {
    width: 86px;
    height: 86px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;

    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 18px;
}

.cliente-auth-logo-image img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* =========================================================
   FILTRO DE PEDIDOS
   ========================================================= */

.cliente-orders-filter {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 5px;

    background: #ffffff;

    border: 1px solid #e4e4e7;

    border-radius: 14px;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   BOTÕES DO FILTRO
   ========================================================= */

.cliente-orders-filter a {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 125px;
    height: 42px;

    padding: 0 18px;

    border-radius: 10px;

    color: #52525b;

    background: transparent;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.1px;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   HOVER DO FILTRO
   ========================================================= */

.cliente-orders-filter a:hover {
    color: #18181b;

    background: #f4f4f5;
}


/* =========================================================
   FILTRO — HOJE
   ========================================================= */

.cliente-orders-filter a:first-child.active {
    color: #ffffff;

    background: #18181b;

    box-shadow:
        0 4px 10px rgba(24, 24, 27, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* =========================================================
   FILTRO — ÚLTIMOS 7 DIAS
   ========================================================= */

.cliente-orders-filter a:last-child.active {
    color: #ffffff;

    background: #18181b;

    box-shadow:
        0 4px 10px rgba(24, 24, 27, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* =========================================================
   INDICADOR DO FILTRO ATIVO
   ========================================================= */

.cliente-orders-filter a.active::after {
    content: "";

    position: absolute;

    bottom: 5px;
    left: 50%;

    width: 18px;
    height: 2px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.85);

    transform: translateX(-50%);
}


/* =========================================================
   CONTADOR DO PERÍODO
   ========================================================= */

.cliente-orders-period {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 16px;

    color: #71717a;

    font-size: 12px;
    font-weight: 500;
}

.cliente-orders-period strong {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 27px;
    height: 27px;

    padding: 0 8px;

    border-radius: 8px;

    background: #18181b;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   MOBILE — FILTRO
   ========================================================= */

@media (max-width: 700px) {

    .cliente-orders-filter {
        display: flex;

        width: 100%;
    }

    .cliente-orders-filter a {
        flex: 1;

        min-width: 0;

        height: 44px;

        padding: 0 10px;

        font-size: 12px;
    }

}


/* =========================================================
   DETALHE DO PEDIDO — CANCELAMENTO
   ========================================================= */

.cliente-pedido-cancelamento {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-top: 24px;

    padding: 18px 20px;

    border: 1px solid #e5e7eb;

    border-radius: 15px;

    background: #fafafa;
}


/* =========================================================
   INFORMAÇÕES DO CANCELAMENTO
   ========================================================= */

.cliente-pedido-cancelamento-info {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.cliente-pedido-cancelamento-info strong {
    color: #18181b;

    font-size: 13px;
    font-weight: 800;
}

.cliente-pedido-cancelamento-info span {
    max-width: 520px;

    color: #71717a;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   BOTÃO CANCELAR
   ========================================================= */

.cliente-pedido-cancelar {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    flex-shrink: 0;

    min-height: 43px;

    padding: 0 17px;

    border: 1px solid #fecaca;

    border-radius: 10px;

    background: #fff;

    color: #b91c1c;

    font-family: inherit;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    overflow: hidden;

    transition:
        transform .2s ease,
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.cliente-pedido-cancelar::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255,255,255,.55),
            transparent
        );

    transform: translateX(-120%);

    transition:
        transform .55s ease;
}

.cliente-pedido-cancelar:hover {
    transform: translateY(-2px);

    background: #dc2626;

    border-color: #dc2626;

    color: #fff;

    box-shadow:
        0 10px 22px rgba(220, 38, 38, .18);
}

.cliente-pedido-cancelar:hover::before {
    transform: translateX(120%);
}

.cliente-pedido-cancelar:active {
    transform: translateY(0);

    box-shadow:
        0 4px 10px rgba(220, 38, 38, .12);
}

.cliente-pedido-cancelar span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    border-radius: 7px;

    background: rgba(220, 38, 38, .08);

    font-size: 15px;

    line-height: 1;

    transition:
        background .2s ease,
        color .2s ease;
}

.cliente-pedido-cancelar:hover span {
    background: rgba(255,255,255,.14);

    color: #fff;
}


/* =========================================================
   MOBILE — CANCELAMENTO
   ========================================================= */

@media (max-width: 700px) {

    .cliente-pedido-cancelamento {
        align-items: stretch;

        flex-direction: column;

        gap: 15px;

        padding: 17px;
    }

    .cliente-pedido-cancelar {
        width: 100%;
    }

}






/* =========================================================
   DASHBOARD DO CLIENTE — VISUAL MODERNO 3D
========================================================= */

.cliente-dashboard {
    position: relative;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.cliente-page-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.cliente-page-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #f59e0b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.cliente-page-header h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 850;
    letter-spacing: -.045em;
}

.cliente-page-header p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
}

.cliente-header-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 13px;
    background: #582109;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    box-shadow:
        0 10px 20px rgba(88,33,9,.20);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.cliente-header-button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow:
        0 15px 28px rgba(88,33,9,.28);
}


/* =========================================================
   ALERTA
========================================================= */

.cliente-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 13px 16px;
    border-radius: 13px;
}

.cliente-alert-success {
    border: 1px solid rgba(22,163,74,.15);
    background: rgba(22,163,74,.06);
    color: #166534;
    font-size: 13px;
    font-weight: 700;
}

.cliente-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
}


/* =========================================================
   SACOLA
========================================================= */

.cliente-bag-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 105px;
    margin-bottom: 25px;
    padding: 20px 22px;
    overflow: hidden;
    border: 1px solid rgba(245,158,11,.20);
    border-radius: 19px;
    background:
        linear-gradient(
            135deg,
            #fffaf1,
            #fff
        );
    box-shadow:
        0 14px 30px rgba(15,23,42,.07);
}

.cliente-bag-glow {
    position: absolute;
    right: -60px;
    top: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(245,158,11,.13);
    filter: blur(4px);
}

.cliente-bag-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 17px;
    background: #fff;
    font-size: 26px;
    box-shadow:
        0 9px 20px rgba(15,23,42,.09);
}

.cliente-bag-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.cliente-bag-content > span {
    display: block;
    color: #b45309;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.cliente-bag-content strong {
    display: block;
    margin-top: 3px;
    color: #0f172a;
    font-size: 20px;
}

.cliente-bag-content p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 11px;
}

.cliente-bag-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border-radius: 11px;
    background: #582109;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: transform .25s ease;
}

.cliente-bag-button:hover {
    color: #fff;
    transform: translateX(3px);
}


/* =========================================================
   CARDS DE ESTATÍSTICA
========================================================= */

.cliente-stats {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.cliente-stat-card {
    position: relative;
    min-height: 125px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 19px;
    background: #fff;
    box-shadow:
        0 12px 25px rgba(15,23,42,.06);
    transform: translateY(0);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.cliente-stat-card:hover {
    transform:
        translateY(-6px)
        perspective(700px)
        rotateX(2deg);
    box-shadow:
        0 22px 38px rgba(15,23,42,.11);
}

.cliente-stat-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cliente-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    border-radius: 15px;
    background: rgba(88,33,9,.08);
    color: #582109;
    font-size: 22px;
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.8),
        0 7px 15px rgba(15,23,42,.07);
}

.cliente-stat-card strong {
    display: block;
    color: #0f172a;
    font-size: 22px;
    font-weight: 850;
}

.cliente-stat-card span:last-child {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 11px;
}

.cliente-stat-decoration {
    position: absolute;
    right: -40px;
    bottom: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(245,158,11,.07);
}

.cliente-stat-active .cliente-stat-icon {
    background: rgba(22,163,74,.09);
    color: #16a34a;
}

.cliente-stat-client .cliente-stat-icon {
    background: rgba(37,99,235,.09);
    color: #2563eb;
}


/* =========================================================
   PAINEL 3D
========================================================= */

.cliente-dashboard-overview {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 260px 1fr;
    align-items: center;
    gap: 30px;
    min-height: 320px;
    margin-bottom: 35px;
    padding: 35px 40px;
    overflow: hidden;
    border-radius: 25px;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(245,158,11,.12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #190b06,
            #351207 55%,
            #582109
        );
    box-shadow:
        0 24px 45px rgba(53,18,7,.22);
}

.cliente-dashboard-overview::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255,255,255,.04),
            transparent 65%
        );
    pointer-events: none;
}

.cliente-overview-content {
    position: relative;
    z-index: 3;
}

.cliente-overview-eyebrow {
    color: #f59e0b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.cliente-overview-content h2 {
    margin: 8px 0;
    color: #fff;
    font-size: 26px;
    letter-spacing: -.035em;
}

.cliente-overview-content p {
    max-width: 290px;
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   OBJETO 3D
========================================================= */

.cliente-3d-orbit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    margin: auto;
    perspective: 800px;
}

.cliente-orbit-ring {
    position: absolute;
    border: 1px solid rgba(245,158,11,.32);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.cliente-orbit-ring-one {
    width: 215px;
    height: 80px;
    transform:
        rotateX(70deg)
        rotateZ(15deg);
    animation: clienteOrbitOne 8s linear infinite;
}

.cliente-orbit-ring-two {
    width: 190px;
    height: 190px;
    transform:
        rotateY(65deg)
        rotateZ(15deg);
    animation: clienteOrbitTwo 10s linear infinite;
}

.cliente-orbit-ring-three {
    width: 155px;
    height: 155px;
    transform:
        rotateX(65deg)
        rotateY(20deg);
    border-color: rgba(255,255,255,.14);
    animation: clienteOrbitThree 7s linear infinite reverse;
}

.cliente-3d-core {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 35% 25%,
            #8a3b14,
            #351207 70%
        );
    color: #fff;
    box-shadow:
        0 0 45px rgba(245,158,11,.20),
        inset 0 0 25px rgba(0,0,0,.35),
        0 20px 35px rgba(0,0,0,.35);
    transform:
        translateZ(50px);
    animation: clienteCoreFloat 4s ease-in-out infinite;
}

.cliente-3d-core span {
    color: #f59e0b;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.cliente-3d-core strong {
    margin-top: 3px;
    font-size: 32px;
    line-height: 1;
}

.cliente-3d-core small {
    margin-top: 5px;
    color: rgba(255,255,255,.55);
    font-size: 9px;
}


/* =========================================================
   MINI INFORMAÇÕES
========================================================= */

.cliente-overview-side {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.cliente-overview-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(10px);
}

.cliente-mini-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(245,158,11,.12);
    color: #f59e0b;
    font-weight: 800;
}

.cliente-overview-mini strong,
.cliente-overview-mini span {
    display: block;
}

.cliente-overview-mini strong {
    color: #fff;
    font-size: 12px;
}

.cliente-overview-mini div span {
    margin-top: 3px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
}


/* =========================================================
   TÍTULO DOS PEDIDOS
========================================================= */

.cliente-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.cliente-section-title > div > span {
    display: block;
    margin-bottom: 5px;
    color: #f59e0b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .15em;
}

.cliente-section-title h2 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    letter-spacing: -.035em;
}

.cliente-section-title > a {
    color: #582109;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   PEDIDOS
========================================================= */

.cliente-order-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cliente-order-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 15px 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 7px 16px rgba(15,23,42,.04);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.cliente-order-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f59e0b;
    transform: scaleY(0);
    transition: transform .25s ease;
}

.cliente-order-card:hover {
    color: inherit;
    transform: translateX(5px);
    border-color: rgba(245,158,11,.25);
    box-shadow:
        0 12px 25px rgba(15,23,42,.08);
}

.cliente-order-card:hover::before {
    transform: scaleY(1);
}

.cliente-order-number {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
}

.cliente-order-main strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 13px;
}

.cliente-order-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f8fafc;
    color: #582109;
    font-weight: 900;
    transition:
        transform .25s ease,
        background .25s ease;
}

.cliente-order-card:hover .cliente-order-arrow {
    background: #fff7ed;
    transform: translateX(3px);
}


/* =========================================================
   VAZIO
========================================================= */

.cliente-empty {
    padding: 55px 25px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.cliente-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 17px;
    background: #fff7ed;
    color: #f59e0b;
    font-size: 25px;
}

.cliente-empty h3 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
}

.cliente-empty p {
    max-width: 390px;
    margin: 8px auto 20px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   ANIMAÇÕES 3D
========================================================= */

@keyframes clienteOrbitOne {

    from {
        transform:
            rotateX(70deg)
            rotateZ(0deg);
    }

    to {
        transform:
            rotateX(70deg)
            rotateZ(360deg);
    }

}

@keyframes clienteOrbitTwo {

    from {
        transform:
            rotateY(65deg)
            rotateZ(0deg);
    }

    to {
        transform:
            rotateY(65deg)
            rotateZ(360deg);
    }

}

@keyframes clienteOrbitThree {

    from {
        transform:
            rotateX(65deg)
            rotateY(20deg)
            rotateZ(360deg);
    }

    to {
        transform:
            rotateX(65deg)
            rotateY(20deg)
            rotateZ(0deg);
    }

}

@keyframes clienteCoreFloat {

    0%,
    100% {
        transform:
            translateY(0)
            translateZ(50px);
    }

    50% {
        transform:
            translateY(-9px)
            translateZ(65px);
    }

}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 900px) {

    .cliente-stats {
        grid-template-columns: 1fr;
    }

    .cliente-dashboard-overview {
        grid-template-columns: 1fr;
        padding: 30px 22px;
    }

    .cliente-overview-content {
        text-align: center;
    }

    .cliente-overview-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .cliente-overview-side {
        width: 100%;
    }

}

@media (max-width: 650px) {

    .cliente-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .cliente-header-button {
        width: 100%;
        justify-content: space-between;
    }

    .cliente-bag-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .cliente-bag-content {
        min-width: calc(100% - 80px);
    }

    .cliente-bag-button {
        width: 100%;
        justify-content: center;
    }

    .cliente-3d-orbit {
        width: 210px;
        height: 210px;
    }

    .cliente-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

}



/* =========================================================
   BOTÃO VER HISTÓRICO
========================================================= */

.cliente-history-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    flex-shrink: 0;

    min-height: 46px;
    padding: 13px 20px;

    border: 0;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e293b
        );

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 10px 22px rgba(15, 23, 42, .18);

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.cliente-history-button:hover {
    color: #ffffff;

    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #1e293b,
            #334155
        );

    box-shadow:
        0 15px 28px rgba(15, 23, 42, .25);
}

.cliente-history-button:active {
    transform: translateY(0);
}

.cliente-history-button span:last-child {
    font-size: 18px;
    line-height: 1;

    transition:
        transform .25s ease;
}

.cliente-history-button:hover span:last-child {
    transform: translateX(5px);
}


@media (max-width: 760px) {

    .cliente-history-button {
        width: 100%;
    }

}


/* =========================================================
   HISTÓRICO
========================================================= */

.cliente-historico-page {
    width: 100%;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.cliente-historico-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}

.cliente-historico-header h1 {
    margin: 7px 0 8px;

    color: #0f172a;

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 900;
}

.cliente-historico-header p {
    margin: 0;

    color: #64748b;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   FILTRO
========================================================= */

.cliente-historico-filter {
    padding: 24px;

    margin-bottom: 28px;

    background: #ffffff;

    border: 1px solid rgba(15,23,42,.08);
    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(15,23,42,.06);
}

.cliente-historico-filter-heading {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 22px;
}

.cliente-historico-filter-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 13px;

    background: #fff7ed;

    color: #f59e0b;

    font-size: 22px;
    font-weight: 800;
}

.cliente-historico-filter-heading span {
    display: block;

    margin-bottom: 3px;

    color: #f59e0b;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .14em;
}

.cliente-historico-filter-heading strong {
    display: block;

    color: #0f172a;

    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   FORM
========================================================= */

.cliente-historico-filter-form {
    display: grid;

    grid-template-columns:
        minmax(180px, 1fr)
        minmax(180px, 1fr)
        auto
        auto;

    align-items: end;

    gap: 14px;
}

.cliente-historico-field label {
    display: block;

    margin-bottom: 7px;

    color: #475569;

    font-size: 12px;
    font-weight: 800;
}

.cliente-historico-field input {
    display: block;

    width: 100%;
    height: 46px;

    padding: 0 13px;

    border: 1px solid #dbe2ea;
    border-radius: 11px;

    background: #f8fafc;

    color: #0f172a;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.cliente-historico-field input:focus {
    border-color: #f59e0b;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(245,158,11,.12);
}


/* =========================================================
   FILTRAR
========================================================= */

.cliente-historico-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    height: 46px;

    padding: 0 20px;

    border: 0;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #f59e0b,
            #d97706
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(245,158,11,.20);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.cliente-historico-filter-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 24px rgba(245,158,11,.28);
}


/* =========================================================
   LIMPAR
========================================================= */

.cliente-historico-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 46px;

    padding: 0 17px;

    border: 1px solid #dbe2ea;
    border-radius: 11px;

    background: #ffffff;

    color: #64748b;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        border-color .2s ease,
        color .2s ease,
        background .2s ease;
}

.cliente-historico-clear:hover {
    color: #0f172a;

    background: #f8fafc;

    border-color: #cbd5e1;
}


/* =========================================================
   TOOLBAR
========================================================= */

.cliente-historico-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 25px 0 16px;
}

.cliente-historico-toolbar > div span {
    display: block;

    margin-bottom: 4px;

    color: #94a3b8;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .14em;
}

.cliente-historico-toolbar > div strong {
    color: #0f172a;

    font-size: 18px;
    font-weight: 900;
}


/* =========================================================
   IMPRIMIR
========================================================= */

.cliente-historico-print {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 42px;

    padding: 0 17px;

    border: 1px solid #dbe2ea;
    border-radius: 11px;

    background: #ffffff;

    color: #0f172a;

    font-family: inherit;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.cliente-historico-print:hover {
    transform: translateY(-2px);

    border-color: #cbd5e1;

    box-shadow:
        0 8px 20px rgba(15,23,42,.08);
}


/* =========================================================
   LISTA
========================================================= */

.cliente-historico-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   CARD
========================================================= */

.cliente-historico-card {
    display: grid;

    grid-template-columns:
        minmax(230px, 1fr)
        minmax(150px, auto)
        minmax(100px, auto)
        auto;

    align-items: center;

    gap: 22px;

    padding: 19px 21px;

    background: #ffffff;

    border: 1px solid rgba(15,23,42,.07);
    border-radius: 17px;

    box-shadow:
        0 8px 24px rgba(15,23,42,.05);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.cliente-historico-card:hover {
    transform: translateY(-2px);

    border-color: rgba(245,158,11,.25);

    box-shadow:
        0 14px 30px rgba(15,23,42,.08);
}


/* =========================================================
   PEDIDO
========================================================= */

.cliente-historico-pedido {
    display: flex;
    align-items: center;

    gap: 14px;
}

.cliente-historico-pedido-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    border-radius: 13px;

    background: #fff7ed;

    color: #f59e0b;

    font-size: 18px;
    font-weight: 800;
}

.cliente-historico-pedido span {
    display: block;

    margin-bottom: 4px;

    color: #94a3b8;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .10em;
}

.cliente-historico-pedido strong {
    display: block;

    color: #0f172a;

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   STATUS
========================================================= */

.cliente-historico-status {
    display: inline-flex;
    align-items: center;

    width: max-content;

    gap: 7px;

    padding: 8px 11px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
}

.cliente-historico-status > span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: currentColor;
}

.cliente-historico-status-pendente {
    color: #b45309;
    background: #fffbeb;
}

.cliente-historico-status-aprovacao {
    color: #0369a1;
    background: #f0f9ff;
}

.cliente-historico-status-fila {
    color: #7c3aed;
    background: #f5f3ff;
}

.cliente-historico-status-produzindo {
    color: #c2410c;
    background: #fff7ed;
}

.cliente-historico-status-caminho {
    color: #2563eb;
    background: #eff6ff;
}

.cliente-historico-status-finalizado {
    color: #15803d;
    background: #f0fdf4;
}

.cliente-historico-status-cancelado {
    color: #b91c1c;
    background: #fef2f2;
}


/* =========================================================
   TOTAL
========================================================= */

.cliente-historico-total {
    text-align: right;
}

.cliente-historico-total span {
    display: block;

    margin-bottom: 3px;

    color: #94a3b8;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .12em;
}

.cliente-historico-total strong {
    color: #0f172a;

    font-size: 15px;
    font-weight: 900;
}


/* =========================================================
   VER PEDIDO
========================================================= */

.cliente-historico-ver {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 40px;

    padding: 0 14px;

    border-radius: 10px;

    background: #0f172a;

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;

    transition:
        transform .2s ease,
        background .2s ease;
}

.cliente-historico-ver:hover {
    color: #ffffff;

    background: #1e293b;

    transform: translateY(-2px);
}

.cliente-historico-ver span:last-child {
    font-size: 16px;

    transition:
        transform .2s ease;
}

.cliente-historico-ver:hover span:last-child {
    transform: translateX(4px);
}


/* =========================================================
   VAZIO
========================================================= */

.cliente-historico-empty {
    display: flex;
    align-items: center;
    flex-direction: column;

    padding: 65px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(15,23,42,.07);
    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(15,23,42,.05);
}

.cliente-historico-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin-bottom: 18px;

    border-radius: 20px;

    background: #fff7ed;

    color: #f59e0b;

    font-size: 30px;
}

.cliente-historico-empty h2 {
    margin: 0 0 8px;

    color: #0f172a;

    font-size: 22px;
    font-weight: 900;
}

.cliente-historico-empty p {
    max-width: 450px;

    margin: 0 0 22px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 950px) {

    .cliente-historico-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .cliente-historico-filter-button,
    .cliente-historico-clear {
        width: 100%;
    }

    .cliente-historico-card {
        grid-template-columns: 1fr 1fr;
    }

    .cliente-historico-ver {
        width: 100%;
    }

}


@media (max-width: 700px) {

    .cliente-historico-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .cliente-historico-header .cliente-header-button {
        width: 100%;
    }

    .cliente-historico-filter-form {
        grid-template-columns: 1fr;
    }

    .cliente-historico-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .cliente-historico-print {
        width: 100%;
    }

    .cliente-historico-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cliente-historico-total {
        text-align: left;
    }

}


@media (max-width: 480px) {

    .cliente-historico-filter {
        padding: 18px;
    }

    .cliente-historico-card {
        padding: 17px;
    }

}


/* =========================================================
   IMPRESSÃO
========================================================= */

@media print {

    body {
        background: #ffffff !important;
    }

    .cliente-historico-header .cliente-header-button,
    .cliente-historico-filter,
    .cliente-historico-print,
    .cliente-historico-ver,
    .cliente-historico-clear,
    .cliente-historico-filter-button {
        display: none !important;
    }

    .cliente-historico-page {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .cliente-historico-card {
        break-inside: avoid;
        page-break-inside: avoid;

        box-shadow: none !important;

        border: 1px solid #dddddd !important;
    }

    .cliente-historico-card:hover {
        transform: none !important;
    }

}

/* =========================================================
   BOTÃO — ENTRAR COM GOOGLE
========================================================= */

.cliente-google-button {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 14px 20px;

    box-sizing: border-box;

    background: #ffffff;

    color: #1f2937;

    border: 1px solid #d1d5db;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   ÍCONE GOOGLE
========================================================= */

.cliente-google-button svg {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    display: block;
}


/* =========================================================
   HOVER
========================================================= */

.cliente-google-button:hover {
    background: #f8fafc;

    border-color: #b8bec7;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.08);

    transform: translateY(-1px);
}


/* =========================================================
   ACTIVE
========================================================= */

.cliente-google-button:active {
    transform: translateY(0);

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   FOCUS
========================================================= */

.cliente-google-button:focus-visible {
    outline: 3px solid rgba(66, 133, 244, 0.25);

    outline-offset: 2px;
}
