/* ========================================== */
/* RESET E CONFIGURAÇÕES GLOBAIS             */
/* ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-color: #f7f1eb; 
    --primary-color: #8c4f3e; 
    --primary-dark: #5c3126;
    --text-color: #333333;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ========================================== */
/* HEADER E NAVEGAÇÃO                         */
/* ========================================== */
header {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(140, 79, 62, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    text-align: center;
}

.logo-text {
    font-size: 28px;
    color: var(--primary-color);
    letter-spacing: 4px;
    font-weight: 300;
}

.logo-container span {
    font-size: 9px;
    letter-spacing: 3px;
    display: block;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--primary-color);
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* ========================================== */
/* HERO SECTION                               */
/* ========================================== */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(247, 241, 235, 0.4), rgba(247, 241, 235, 0.8)), 
                url('imagens/imagem_padrao.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 240px;
    height: auto;
    margin-top: -40px;
    margin-bottom: 45px;
    filter: drop-shadow(0px 6px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.02);
}

.hero-content h2 {
    font-size: 42px;
    color: var(--primary-dark);
    letter-spacing: 3px;
    font-weight: 400;
    margin-top: -25px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: #555;
}

.btn-primary {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 13px;
    transition: background 0.3s;
    border-radius: 2px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* ========================================== */
/* VITRINE DE PRODUTOS                        */
/* ========================================== */
.section-title {
    text-align: center;
    font-size: 26px;
    color: var(--primary-dark);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(140, 79, 62, 0.08);
}

.product-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-info .category {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.product-info .price {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-add-cart {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-add-cart:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ========================================== */
/* SEÇÃO DE CATEGORIAS                        */
/* ========================================== */
.categories-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 60px 0 20px 0;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background-color: #fcfbf9;
}

.category-image {
    width: 100%;
    height: 100%;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.category-overlay span {
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 4px;
    transition: letter-spacing 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.45));
}

.category-card:hover .category-overlay span {
    letter-spacing: 5px;
}

/* ========================================== */
/* SEÇÃO SOBRE NÓS                            */
/* ========================================== */
.about-section {
    background-color: #ffffff;
    padding: 80px 0;
    border-top: 1px solid rgba(140, 79, 62, 0.05);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 15px 15px 0px #f7f1eb;
}

.about-content {
    flex: 1;
}

.about-subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 36px;
    color: var(--primary-dark);
    font-weight: 300;
    letter-spacing: 2px;
}

.about-divider {
    width: 60px;
    border: 0;
    height: 2px;
    background-color: var(--primary-color);
    margin: 20px 0;
}

.about-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.about-quote {
    font-style: italic;
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 30px;
    letter-spacing: 1px;
    font-weight: 300;
}

/* ========================================== */
/* SIDEBAR DO CARRINHO & FRETE                */
/* ========================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0; /* Impede o header de esmagar */
}

.cart-header i {
    cursor: pointer;
    font-size: 20px;
    color: var(--primary-color);
}

.cart-items {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto; /* Permite rolar apenas a lista de itens */
}

.empty-cart-msg {
    text-align: center;
    color: #888;
    margin-top: 40px;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    flex-shrink: 0; /* Mantém o rodapé e botão travados embaixo, sem sumir */
    background-color: var(--white);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
}

.cart-shipping {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.cart-shipping label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.cep-input-group {
    display: flex;
    gap: 8px;
}

.cep-input-group input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.cep-input-group input:focus {
    border-color: #000;
}

.cep-input-group button {
    background: #000;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.cep-input-group button:hover {
    background: #333;
}

.shipping-result {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666;
}

.shipping-result .delivery-info {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-weight: 500;
    color: #000;
}

/* ========================================== */
/* MODAL DE PRODUTO                           */
/* ========================================== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 850px;
    border-radius: 4px;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    color: var(--primary-color);
    cursor: pointer;
}

.modal-body {
    display: flex;
    gap: 40px;
}

.modal-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-modal-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 2px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
}

.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 2px;
    transition: border 0.2s;
}

.thumb-img.active, 
.thumb-img:hover {
    border-color: var(--primary-color);
}

.modal-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-category {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

#modal-title {
    font-size: 26px;
    color: var(--primary-dark);
    margin: 5px 0 15px 0;
    font-weight: 400;
}

.modal-price {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.size-selector {
    margin-bottom: 25px;
}

.size-selector label {
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.size-selector select {
    padding: 8px;
    width: 100%;
    max-width: 200px;
    border: 1px solid #ccc;
    outline: none;
    background: #fdfaf7;
}

.btn-modal-add {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn-modal-add:hover {
    background-color: var(--primary-dark);
}

/* ========================================== */
/* ELEMENTOS FLUTUANTES E TOPO EXTRA          */
/* ========================================== */
.topo-frete-gratis {
    background: linear-gradient(135deg, #8c4f3e, #733f31);
    color: #fdfaf9;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 9999;
}

.topo-frete-gratis strong {
    color: #f3d6ce;
    font-weight: 700;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px; /* Mudado de 'right' para 'left' */
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-zap 2s infinite;
}
.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

@keyframes pulse-zap {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

footer {
    text-align: center;
    padding: 30px;
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 12px;
    margin-top: 60px;
    letter-spacing: 1px;
}

/* ========================================== */
/* RESPONSIVIDADE PARA CELULARES (MOBILE)     */
/* ========================================== */

/* ========================================== */
/* INDICADOR DE ETAPAS DO CHECKOUT (1-2-3)    */
/* ========================================== */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
}

.checkout-steps .step {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e8dfd5;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.checkout-steps .step.active {
    background: var(--primary-color);
    color: #fff;
}

.checkout-steps .step.done {
    background: #2e7d32;
    color: #fff;
}

.checkout-steps .step-line {
    width: 28px;
    height: 2px;
    background: #e8dfd5;
}

.checkout-steps .step-line.done {
    background: #2e7d32;
}

/* ========================================== */
/* CAMPOS DE FORMULÁRIO COM ÍCONE              */
/* (usado no cadastro, entrega e pagamento)   */
/* ========================================== */

.styled-input-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #555;
}

.styled-input-group i {
    position: absolute;
    left: 12px;
    top: 34px;
    color: #b08d76;
    font-size: 14px;
}

.styled-input-group input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.styled-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(140, 79, 62, 0.1);
}

@media screen and (max-width: 768px) {
    /* Faz o cabeçalho empilhar (Logo em cima, Menu/Carrinho logo abaixo) */
    header {
        flex-direction: column !important;
        padding: 15px 10px !important;
        gap: 15px !important;
    }

    /* Alinha a barra de navegação e o ícone do carrinho lado a lado na segunda linha */
    header nav {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 10px !important;
    }

    .nav-links {
        gap: 15px !important;
    }

    .nav-links a {
        font-size: 12px !important;
        letter-spacing: 0.5px !important;
    }

    /* Grids de produtos e categorias viram 2 colunas no celular */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .categories-section {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 40px 15px 10px 15px !important;
    }
    
    .category-card {
        height: 150px !important;
    }

    /* Seção Sobre Nós no celular */
    .about-container {
        flex-direction: column !important;
        gap: 40px !important;
        text-align: center !important;
    }
    
    .about-image img {
        height: 300px !important;
        box-shadow: 10px 10px 0px #f7f1eb !important;
    }

    .about-divider {
        margin: 20px auto !important;
    }

    .about-content p {
        text-align: center !important;
    }

    /* Modal no celular */
    .modal-body { 
        flex-direction: column !important; 
        gap: 20px !important; 
    }
    
    .modal-content { 
        height: 90vh !important; 
        overflow-y: auto !important; 
        padding: 20px !important; 
    }
    
    .main-modal-img img { 
        height: 250px !important; 
    }

    /* ========================================== */
    /* CORREÇÃO DA SACOLA / CARRINHO NO CELULAR   */
    /* ========================================== */
    .cart-sidebar {
        width: 100% !important;       /* Ocupa 100% da largura da tela (estilo aplicativo) */
        max-width: none !important;
        right: -100% !important;      /* Esconde totalmente para fora da tela */
        height: 100dvh !important;    /* Ajusta automaticamente quando o teclado abre/fecha */
        top: 0 !important;
        box-shadow: none !important;
    }

    .cart-sidebar.open {
        right: 0 !important;          /* Desliza para dentro da tela */
    }

    .cart-header {
        padding: 12px 16px !important;
    }

    .cart-items {
        padding: 12px 16px !important;
        max-height: calc(100dvh - 230px) !important; /* Limita a altura para o rodapé nunca ser encoberto */
    }

    .cart-footer {
        padding: 12px 16px 20px 16px !important;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.05); /* Destaca o rodapé levemente */
    }

    .cart-shipping {
        padding: 10px 0 !important;
        margin-bottom: 10px !important;
    }

    .cep-input-group input {
        padding: 10px !important;
        font-size: 16px !important; /* Evita zoom automático incômodo ao digitar o CEP */
    }

    /* ========================================== */
    /* AJUSTES RESPONSIVOS PARA OS MODAIS DE      */
    /* IDENTIFICAÇÃO, ENDEREÇO E PAGAMENTO NO     */
    /* CELULAR                                     */
    /* ========================================== */
    #auth-modal .modal-content,
    #checkout-modal .modal-content,
    #pagamento-modal .modal-content {
        width: 92% !important;
        max-width: 100% !important;
        max-height: 90dvh !important;
        overflow-y: auto !important;
        padding: 20px 15px !important;
    }

    #auth-modal input,
    #checkout-modal input {
        font-size: 16px !important; /* Evita o zoom automático do celular */
        padding: 10px 10px 10px 36px !important;
    }

    /* Transforma os campos divididos do endereço em coluna única no celular */
    #entrega-form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* ========================================== */
/* CORREÇÃO GLOBAL DOS INPUTS DOS MODAIS       */
/* ========================================== */
.styled-input-group {
    position: relative;
    margin-bottom: 16px;
    text-align: left;
}

.styled-input-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    color: #444;
    font-weight: 600;
}

/* O ícone dentro do input */
.styled-input-group i {
    position: absolute;
    left: 14px;
    top: 38px; /* Ajuste milimétrico para centralizar perfeitamente no meio do campo */
    color: #99745c;
    font-size: 14px;
    pointer-events: none; /* Garante que o clique vá para o input e não para o ícone */
}

/* O campo de texto em si */
.styled-input-group input {
    width: 100% !important;
    height: 44px; /* Altura fixa padrão para um toque elegante */
    padding: 0 14px 0 38px !important; /* Espaço à esquerda exato para o ícone não encostar no texto */
    border: 1px solid #dcd6cd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    color: var(--text-color);
    outline: none;
    transition: all 0.2s ease;
}

.styled-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(140, 79, 62, 0.12);
}

/* Corrige o padding interno do modal para os textos não colarem nas bordas */
.product-modal .modal-content > div {
    padding: 24px !important;
}

/* ========================================== */
/* CORREÇÃO DEFINITIVA - MODAL DE CADASTRO    */
/* ========================================== */

#auth-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 300;
}

#auth-modal .modal-content {
    position: relative;
    width: 100%;
    max-width: 400px !important;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    padding: 0 !important;
    margin: 0;
    background: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    overflow-y: auto;
}

#auth-modal .modal-content > div {
    width: 100%;
    padding: 24px !important;
    box-sizing: border-box;
}

/* ETAPAS 1 - 2 - 3 */
#auth-modal .checkout-steps {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 18px 0;
    padding: 0;
    box-sizing: border-box;
}

#auth-modal .checkout-steps .step {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    flex: 0 0 26px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    background: #e8dfd5;
    color: var(--primary-color);

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;

    box-sizing: border-box;
}

#auth-modal .checkout-steps .step.active {
    background: var(--primary-color);
    color: #fff;
}

#auth-modal .checkout-steps .step-line {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 2px !important;
    min-height: 2px !important;
    max-height: 2px !important;

    flex: 0 0 28px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #e8dfd5;
    box-sizing: border-box;
}

#auth-modal .checkout-steps .step-line.done {
    background: #2e7d32;
}

/* TÍTULO */
#auth-modal h3 {
    margin-top: 0;
    margin-bottom: 6px;
}

/* CAMPOS */
#auth-modal .styled-input-group {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    box-sizing: border-box;
}

#auth-modal .styled-input-group label {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.2;
}

#auth-modal .styled-input-group i {
    position: absolute;
    left: 14px;
    top: 38px;
    z-index: 2;

    width: auto;
    height: auto;

    padding: 0 !important;
    margin: 0 !important;

    font-size: 14px;
    line-height: 1;
    color: #99745c;

    pointer-events: none;
}

#auth-modal .styled-input-group input {
    display: block;
    width: 100% !important;
    height: 44px !important;

    padding: 0 14px 0 38px !important;
    margin: 0;

    border: 1px solid #dcd6cd;
    border-radius: 6px;

    font-size: 14px;
    line-height: 44px;

    background: #fff;
    color: var(--text-color);

    box-sizing: border-box;
    outline: none;
}

#auth-modal .btn-modal-add {
    display: block;
    width: 100% !important;
    min-height: 46px;
    box-sizing: border-box;
}

/* MOBILE */
@media screen and (max-width: 768px) {

    #auth-modal {
        padding: 15px;
    }

    #auth-modal .modal-content {
        width: 100% !important;
        max-width: 400px !important;
        max-height: calc(100dvh - 30px);
    }

    #auth-modal .modal-content > div {
        padding: 20px 15px !important;
    }

    #auth-modal .checkout-steps {
        gap: 5px;
    }

    #auth-modal .checkout-steps .step {
        width: 26px !important;
        min-width: 26px !important;
        max-width: 26px !important;
        height: 26px !important;
        min-height: 26px !important;
        max-height: 26px !important;
        flex-basis: 26px !important;
    }

    #auth-modal .checkout-steps .step-line {
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        flex-basis: 24px !important;
    }

    #auth-modal .styled-input-group input {
        height: 44px !important;
        font-size: 16px !important;
        line-height: 44px;
    }
}
