/* 

--bg-color: #A3BFFA;
--sg-color: #E0E7FF;
--mn-color: #92b4fc;

--txt-color: #ffffff;
--txt-color: #000000;

--btn-color: #E53E3E;
--btn-houver: #F56565; 
*/


/* 

--bg-color: #D1E8E2; 
--sg-color: #ffffff80;
--mn-color: #A2D6D4;
    
--txt-color: #2F4F4F;
--txt-color: #000000;
--txt-color3: #ffffff;
    
--btn-color: #FF6F61;
--btn-houver: #FF8C69;

} */



:root {
    --bg-color: #2B2D42; /* Azul escuro acinzentado */
    --bg-gradient: linear-gradient(to top, #2B2D42, #4C4E69, #8D99AE);
    --sg-color: #3A3D5F; /* Azul escuro com tons de roxo */
    --mn-color: #4A4E69; /* Roxo escuro suave */
    
    --txt-color: #EDEDED; /* Branco gelo para o texto */
    --txt-color2: #DCDCDC; /* Cinza claro para detalhes */
    --txt-color3: #1A1A1A; /* Preto intenso para contraste */
    --black: #000000;
    --red: #c52020;

    --btn-color: #00BFFF; /* Azul claro */
    --btn-houver: #79edfa; /* Hover não usado */

    --box-shadow-l: -10px 10px 15px rgba(0, 0, 0, 0.2);

    --box-shadow-bottom: 0px 5px 15px rgba(0, 0, 0, 0.2);

    --box-shadow-btn: -5px 5px 15px rgba(0, 0, 0, 0.2);

    --box-shadow-cell: -17px 17px 15px rgba(0, 0, 0, 0.2);

}

* {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
html {
    margin: 0;
    background: var(--bg-gradient);
    color: var(--txt-color);
}
span {
    color: var(--btn-color);
}
#white {
    color: white
}
#row {
    display: flex;
    flex-direction: row;
}
#none {
    display: none;
}
.txt-color {
    color: var(--txt-color);
}
#emoji1 {
    text-align: center;
    font-size: 20px;
}
#emoji2 {
    text-align: center;
    font-size: 35px;
}
.container {
    width: auto;
    height: auto;
}
.header {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
    height: 7%;
    width: auto;
    display: flex;
    flex-direction: row;
    background: var(--mn-color);
    border-bottom: 2px solid var(--txt-color);
    box-shadow: var(--box-shadow-bottom)
}
.w-50 {
    width: 50%;
    display: flex;
    flex-direction: column;
}
.w-50-center {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -62px;
    margin-left: -22px;
    z-index: 1;
}
.margin-25w {
    margin-top: -25%;
}
.w-100 {
    width: 100%;
    display: flex;
    margin-top: 10px;
}
.w-100-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.width-w33-s {
    display: flex;
    justify-content: start;
    width: 33.33%;
    /* margin-left: 15px; */
}
.width-w33-j {
    display: flex;
    justify-content: center;
    width: 33.33%;
    align-self: center;
    /* margin-left: 15px; */
}
.width-w33-e {
    display: flex;
    justify-content: end;
    width: 33.33%;
    align-items: center;
    /* margin-left: 15px; */
}
.nomeEmpresa {
    margin-left: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: start;
    font-size: 12px;
    font-weight: 800;
    color: var(--txt-color)
}
.logo-img {
    width: 53px;
    height: 53px;
    background: var(--sg-color);
    border: 1px solid var(--bg-color);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow-bottom);
}
.header-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.logo-img img {
    width: 40px;
    height: 40px;
}
.square-logo {
    width: 60px;
    background: var(--txt-color);
}
.login button{
    border-radius: 8px;
    outline: none;
    border: none;
    background: var(--mn-color);
    color: var(--txt-color);
    cursor: pointer;
}

/* MODAL */

.modal {
    display: none; /* Oculta o modal por padrão */
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}
.modal-content-user {
    width: 50%;
}
.modal-content {
    background-color: var(--mn-color);
    margin: 6% auto; 
    padding: 20px;
    border: 1px solid var(--txt-color);
    border-radius: 8px;
    color: var(--txt-color);
    width: 30%; 
}
.modal-content-2 {
    width: 50%; 
}
.modal-content h2 {
    text-align: center; /* Centraliza o texto do título */
}
.modal-row {
    margin-bottom: 30px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    display: flex;
    justify-content: center;
    margin-bottom: 15px; /* Espaçamento entre os campos */
    width: 100%;
}
.form-group input {
    outline: none;
    border: none;
    border-radius: 8px;
    width: 75%;
    /* color: var(--txt-color); */
    background-color: var(--bg-color);
}
.form-actions button {
    background: var(--mn-color);
    border: none;
    outline: none;
    color: var(--txt-color);
    cursor: pointer;
}
.form-actions button:hover, a:hover {
    color: var(--btn-color);
}
#registerForm input{
    display: flex;
    justify-self: center;
    align-self: center;
    margin-top: 15px;
    outline: none;
    border: none;
    border-radius: 8px;
    width: 99%;
    color: var(--txt-color);
    background-color: var(--bg-color);
}
#registerForm  button {
    display: flex;
    justify-self: center;
    align-self: center;
    margin-top: 15px;
    cursor: pointer;
}

.form-actions {
    display: flex; /* Flexbox para alinhar os elementos */
    align-items: center; /* Alinhamento vertical */
    justify-content: center;
}

.form-actions button {
    margin-right: 10px; /* Espaçamento entre o botão e o link */
}

.forgot-password {
    font-size: 13.5px;
    outline: none;
    border: none;
    color: var(--txt-color); /* Cor do link, use sua variável */
    text-decoration: none; /* Remove o sublinhado */
}

.forgot-password:hover {
    text-decoration: none; /* Adiciona sublinhado ao passar o mouse */
}

/* Estilo para o campo de senha e o ícone de olho */
.password-field {
    position: relative;
}
.eye-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
#passwordRequirements {
    color: red;
    margin-top: 10px;
    font-size: 14px;
}
#passwordRequirements li.valid {
    color: green;
}
.login {
    display: flex;
    flex-direction: row; /* Define que os botões ficam em linha */
    gap: 10px; /* Adiciona um espaço entre os botões, opcional */
    align-items: center;
}

.mobile-sidebar-menu {
    position: relative;
}

.mobile-sidebar-header,
.mobile-sidebar-footer,
.mobile-sidebar-label,
.mobile-sidebar-eyebrow,
.mobile-sidebar-close {
    display: none;
}

.mobile-sidebar-eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--btn-color);
}

.mobile-sidebar-label {
    margin: 10px 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(237, 237, 237, 0.7);
}

.mobile-sidebar-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--txt-color);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--txt-color);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 10, 22, 0.52);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 90;
}

body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.mobile-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.mobile-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.mobile-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

#loginAcc, #registerAcc, #meusPedidos, #logoutButton {
    margin: 0;
    padding: 8px 16px;
}

#loginAcc:hover, 
#registerAcc:hover, 
#logoutButton:hover, 
#meusPedidos:hover {
    color: var(--btn-color);
    transition: 0.7s;
}

#logoutButton {
    margin-top: 0;
    display: none;
}
#meusPedidos {
    margin-top: 0;
    display: none;
}
.pedido-header, .pedido-item {
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Permite que o espaço seja distribuído entre os itens */
    padding: 10px;
    border-bottom: 1px solid var(--txt-color);
    color: var(--txt-color);
}

.pedido-header div, .pedido-item div {
    flex: 1; /* Cada div ocupará uma parte igual do espaço disponível */
    text-align: center; /* Centraliza o texto em cada div */
}

.pedido-header div:first-child, .pedido-item div:first-child {
    text-align: left; /* Alinha o nome à esquerda */
}

.pedido-header div:last-child, .pedido-item div:last-child {
    text-align: right; /* Alinha a data à direita */
}

.pedido-item a {
    text-decoration: none;
    color: var(--btn-color);
}
.no-pedidos-message {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    text-align: center;
}
.modal-content-2 h2 {
    color: var(--btn-color);
}

.dados-row {
    display: flex;
    flex-direction: row;
    gap: 50px;
}
.dados-row input {
    outline: none;
    border: 2px solid var(--mn-color);
    border-radius: 8px;
}

#dadosNome {
    width: 280px;
}
#dadosTelefone {
    width: 150px;
}
#dadosCPF {
    width: 130px;
}
#dadosNascimento {
    width: 100px;
}
#dadosEmail {
    width: 280px;
}
#dadosEndereco {
    width: 200px;
}
#dadosBairro {
    width: 150px;
}
#dadosNumero {
    width: 40px;
}
#dadosCEP {
    width: 80px;
}
#dadosCidade {
    width: 150px;
}
#dadosEstado {
    width: 150px;
}
#dadosComplemento {
    width: 245px;
}
/* FIM MODAL */


.padding {
    padding: 10px;
}
.colum {
    display: flex;
    flex-direction: column;
}
.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0% 4% 0% 4%;
}
.bar{
    display: flex;
    flex-direction: row;
    padding-left: 25px;
    margin-top: 40px;
    margin-bottom: 10px
}
.bar1x1 {
    width: 50%;
}
.bar1x2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50.0%;
    text-align: center;
}
.main {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    padding-left: 40px;
    padding-right: 40px;
    gap: 24px;
}
.topper {
    width: 100%;
    max-width: 590px;
}
.title {
    font-size: 36px;
    font-weight: 800;
    color: var(--txt-color);
}
.sub-title {
    margin-top: 10px;
    color: var(--txt-color);
    text-align: justify;
}
.left {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.forms-left {
    width: min(100%, 670px);
    border: 2px solid var(--txt-color);
    background: var(--mn-color);
    border-radius: 6px;
    padding: 30px;
    overflow: hidden;
    box-shadow: var(--box-shadow-l)
}
#obs {
    font-size: 12px;
    margin-left: 10px;
}
.forms-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 590px;
}
.btn-buy {
    width: 200px;
    height: 50px;
    outline: none;
    cursor: pointer;
    border: transparent;
    font-size: 12.5px;
    box-shadow: var(---box-shadow-btn);
    transition: 0.5s;
}
.btn-buy-l {
    border-radius: 8px;
}
.btn-buy-r {
    border-radius: 8px;
}
.btn-buy-desative {
    margin: 2px;
    background: var(--mn-color);
    color: var(--txt-color);
}
.btn-buy-desative:hover {
    background: var(--txt-color);
    color: var(--txt-color3);
}
.btn-buy-active {
    margin: 2px;
    background: var(--txt-color);
    color: var(--txt-color3);
}
.btn-anexo {
    width: 100%;
    max-width: 584px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: var(--bg-color); */
    border: 2px solid var(--txt-color);
    border-radius: 5px;
    color: var(--txt-color);
    cursor: pointer;
    transition: 0.8s;
    box-shadow: var(--box-shadow-l)
}
.btn-anexo:hover {
    background: var(--txt-color);
    color: var(--txt-color3);
    border-color: var(--txt-color);
    transition: 0.8s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn-carrinho {
    margin-top: 20px;
    border: 1px solid;
    color: var(--txt-color3);
    background: var(--txt-color);
    border-color: var(--txt-color);
    border-radius: 8px;
    transition: 0.8s;
    box-shadow: var(--box-shadow-btn);
    animation: pulse 1.5s infinite;
}
.btn-buy span {
    color: var(--txt-color3);
}
.btn-carrinho:hover {
    background: var(--sg-color);
    color: var(--txt-color);
    transition: 0.8s;
    transform: scale(1.05);
}
.btn-carrinho:active {
    transform: scale(0.95);
}
.btn-preview {
    /* background: var(--txt-color); */
    border-radius: 8px;
    transition: 0.8s;
    margin-top: 15px;
    animation: pulse 5s infinite;
    /* box-shadow: var(--box-shadow-btn) */
}
.btn-preview:hover {
    transition: 0.5s;
    transform: scale(1.05);
}
.btn-preview:active {
    transform: scale(0.95);
}
#btn-preview-c {
    border: 1px solid;
    border-color: var(--txt-color);
    box-shadow: var(--box-shadow-btn)
}
#btn-preview-c:hover {
    background: var(--sg-color);
    color: var(--txt-color);
    transition: 0.8s;
}
.btn-group, .group {
    padding: 5px;
}
.group1 {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.divName {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.divData {
    display: flex;
    align-items: center;

    flex-wrap: wrap;
    gap: 8px;
}
#colum-date2 {
    display: none;
}
#colum-date3 {
    margin-left: 7px;
    display: none;
}
#colum-date2-name {
    margin-left: 3px;
}
.label-form {
    color: var(--txt-color);
}
.group3 p {
    color: var(--btn-color);
    font-size: 10px;
}
.btn-group-b {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    min-width: 408px;
    border: 2px solid var(--txt-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow-btn);
}
.btn-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    padding-top: 15px;
    margin-left: 0;
}
.btn-group > .quantidade {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 220px;
    margin-left: 0;
    color: var(--txt-color);
}
.column-1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0;
}
.quantidade-label {
    display: block;
    width: auto;
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.row-1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.radio-group input{
    margin-right: 3px;
}
.radio-group {
    margin-left: 5px;
    color: var(--txt-color);
}
.radio-title  {
    display: flex;
    flex-direction: row;
    margin-left: 5px;
    color: var(--txt-color);
}
.radio-group-caneca {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.radio-group-cronometro {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
}
.radio-card-grid {
    display: grid;
    width: 100%;
    gap: 10px;
    margin-left: 0;
}
.radio-card-grid-modelos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.radio-card-grid-submodelos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.radio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 13px 34px 11px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    overflow: hidden;
}
.radio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 191, 255, 0.1), transparent 35%);
    opacity: 0;
    transition: opacity 0.18s ease;
}
.radio-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    z-index: 1;
    transform: translateY(-50%);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.radio-card:hover {
    transform: translateY(-1px);
    border-color: rgba(121, 237, 250, 0.2);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.16);
}
.radio-card:hover::before,
.radio-card.s-active::before {
    opacity: 1;
}
.radio-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}
.radio-card-kicker,
.radio-card-label,
.radio-card-copy {
    position: relative;
    z-index: 1;
}
.radio-card-kicker {
    margin-bottom: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(237, 237, 237, 0.5);
}
.radio-card-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--txt-color);
}
.radio-card-copy {
    margin-top: 0;
    font-size: 11px;
    line-height: 1.3;
    color: var(--txt-color2);
}
.radio-card.s-active {
    border-color: rgba(121, 237, 250, 0.42);
    background: rgba(0, 191, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.12);
}
.radio-card.s-active::after {
    background: var(--btn-color);
    border-color: rgba(121, 237, 250, 0.85);
    transform: translateY(-50%) scale(1.08);
}
.radio-card.s-active .radio-card-kicker {
    color: rgba(121, 237, 250, 0.82);
}
.radio-card.s-active .radio-card-label {
    color: #ffffff;
}
.radio-card.s-active .radio-card-copy {
    color: rgba(255, 255, 255, 0.78);
}
.radio-card.s-desativa {
    color: var(--txt-color);
}
.radio-card-submodelo {
    min-height: 68px;
    padding-top: 11px;
    padding-bottom: 9px;
}
.radio-card-submodelo .radio-card-kicker {
    margin-bottom: 3px;
}
.radio-card-submodelo .radio-card-copy {
    display: none;
}
.radio-card-modelo .radio-card-copy {
    display: none;
}
.row-radio {
    display: flex;
    flex-direction: row;
}
.group {
    width: 100%;
    max-width: 590px;
}
.group input {
    background: var(--bg-color);
    color: var(--txt-color);
    font-weight: 300;
    outline: none;
    border: none;
    border-radius: 6px;
    box-shadow: var(--box-shadow-l)
}
input::placeholder {
    color: var(--txt-color); /* Cor do placeholder (vermelho) */
    opacity: 1; /* Opacidade (pode variar de 0 a 1) */
}
.group2 :placeholder-shown {
    display: flex;
    background: var(--bg-color);
    color: var(--txt-color);
    text-align: justify;
    resize: none;
    text-decoration: none;
    border: none;
    outline: none;
}
textarea::placeholder {
    background: var(--bg-color);
    color: var(--txt-color);
    outline: none;
    border: none;
    outline: none;
    resize: none;
}
textarea:focus {
    background: var(--bg-color);
    color: var(--txt-color);
    outline: none;
    border: none;
    outline: none;
    resize: none;
}
textarea:defined {
    background: var(--bg-color);
    color: var(--txt-color);
    outline: none;
    border: none;
    outline: none;
    resize: none;
}
.group3 :placeholder-shown {
    color: var(--txt-color);
    text-align: center;
}


/* Media Type Selector */
.media-type-selector {
    margin-bottom: 15px;
}

.media-type-selector .radio-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 8px;
}

.media-type-selector .s-active,
.media-type-selector .s-desativa {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.media-type-selector .s-active {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid var(--btn-color);
}

.media-type-selector .s-desativa {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-type-selector .s-active:hover,
.media-type-selector .s-desativa:hover {
    background: rgba(255, 255, 255, 0.1);
}
.s-active {
    color: var(--btn-color);}
.s-desativa {
    color: var(--txt-color);}
#sparente {
    color: var(--txt-color);}
#sconjuge {
    color: var(--txt-color);}
#samigo {
    color: var(--txt-color);}
#squerido {
    color: var(--txt-color);}
#sdata {
    color: var(--txt-color);}
#sviagem {
    color: var(--txt-color);}
#schecklist {
    color: var(--txt-color);}
#spotify {
    color: var(--txt-color);}


    
/* Dinamico Modelos */

#presente-1 {
    display: block;
}
#presente-2 {
    display: block;
}
#presente-3 {
    display: block;
}
#presente-4 {
    display: block;
}
#presente-5 {
    display: block;
}

#model-1 {
    display: inline-block;
}
#model-2 {
    display: inline-block;
}
#model-3 {
    display: none;
}
#model-4 {
    display: none;
}
#model-5 {
    display: none;
}
#model-6 {
    display: none;
}




/* Input */
#yt {
    display: inline-block;
}
#sf {
    display: none;
}
#quantity {
    width: 50px;
    height: 20px;
    margin-left: 11px;
    margin-top: 7px;
    border-radius: 4px;
    border: none;
    box-shadow: var(--box-shadow-l)
}
#nome {
    width: 100%;
    max-width: 374px;
    transition: 0.5s;
    box-shadow: var(--box-shadow-l)
}
#data, #hora, #data-2, #hora-2, #data-3, #hora-3{
    width: 94px;
    margin-left: 3px;
    transition: 0.5s;
    box-shadow: var(--box-shadow-l)
}
#hora {
    margin-left: 6px;
}
#data {
    margin-left: 6px;
}
#tempo-passado, #tempo-restante {
    color: var(--txt-color);
    margin-top: 10px; 
    margin-left: 5px;
    display: none;
}
#mensagem {
    display: flex;
    width: 100%;
    max-width: 575px;
    height: 250px;
    border-radius: 8px;
    box-shadow: var(--box-shadow-l)
}
#linkm, #linkv {
    width: 100%;
    max-width: 584px;
    box-shadow: var(--box-shadow-l)
}

/* CELULAR */

.cell {
    position: absolute;
    top: 60px;
    left: 50%;
    z-index: 3;
    width: 397px;
    transform: translateX(-50%);
    pointer-events: none;
}
.cell img {
    display: block;
    width: 100%;
    height: auto;
}
.right {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
}
#preview {
    /* margin-left: -55px; */
    color: var(--red);
    font-size: 20px;
    text-align: center;
}
#videoPlayer {
    margin-left: 5px;
}
#preview-video {
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#preview-video.show {
    opacity: 1;
}

#player {
    border-radius: 8px;
    max-width: 100%;
    max-height: 100%;
}
.object {
    margin-top: 0;
    width: 362px;
    height: 781px;
    overflow-y: auto;
    position: relative;
    background: var(--mn-color);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: var(--box-shadow-cell);
}
.preview {
    position: relative;
    z-index: 1;
    width: 362px;
    margin-top: 42px;
}

#colum-date1-name {
    margin-left: 6px;
}

/* BUG SCROLL */

.object {
    scrollbar-width: none; /* Para Firefox */
    -ms-overflow-style: none;  /* Para Internet Explorer e Edge */
}

.object::-webkit-scrollbar {  /* Para Chrome, Safari e outros Webkit browsers */
    display: none;
}

.android-bar {
    display: flex;
    flex-direction: row;
    position: sticky;
    top: 0;
    height: 30px;
    padding-top: 10px;
    background: var(--mn-color);
}
.android-bar-l {
    display: flex;
    width: 50%;
    align-items: center;
    margin-top: 0px;
    margin-left: 22px;
}
.android-bar-r {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    margin-top: 0px;
    margin-right: 25px;
}
.android-bar-l img, .android-bar-r img {
    width: 15px;
}
.top-bar {
    display: flex;
    flex-direction: row;
    margin-left: 5px;

    /* margin-top: 10px; */
}
#img-anexo {
    margin-left: 12px;
    width: 15px;
}
#img-relogio {
    margin-left: 5px;
    width: 25px;
}
#img-dados{
    width: 15px;
}
#img-wifi{
    width: 16px;
}
#img-bateria{
    width: 18px;
}
#img-home {
    width: 24px;
    height: 24px;
    margin-left: 4px;
    margin-top: 12px;
}
#img-mais {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    margin-top: 15px;
}
#img-pontos {
    margin-top: 17px;
    margin-left: 10px;
    width: 14px;
    height: 15px;
}
.url-bar {
    display: flex;
    justify-content: center;
    align-content: center;
    /* margin-top: 10px;
    margin-left: 10px;
    width: 310px;
    height: 22px;
    border-radius: 8px;
    background: var(--txt-color3); */
}
.url-bar p {
    margin-top: 2px;
    margin-left: 6px;
    font-size: 12px;
    color: var(--txt-color);
}
#url-nome {
    padding-top: 4px;
    padding-left: 9px;
    margin-top: 10px;
    margin-left: 10px;
    border-radius: 8px;
    width: 245px;
    height: 22px;
    border-radius: 8px;
    background: var(--txt-color);
    color: var(--black);
    font-size: 11px;
}
.midia-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    width: auto;
}


.midia-logo-header {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
    height: 7%;
    width: auto;
    display: flex;
    flex-direction: row;
    background: var(--mn-color);
    border-bottom: 2px solid var(--txt-color);
    box-shadow: var(--box-shadow-bottom)
}



.midia-logo-w33-s {
    display: flex;
    justify-content: start;
    width: 33.33%;
    /* margin-left: 15px; */
}
.midiaText {
    display: flex;
    align-items: center;
    font-size: 6px;
    gap: 10px;
}
#fakebtn {
    cursor: pointer;
}
#fakebtn:hover {
    color: var(--btn-color);
    transition: 0.5s;
}
.midia-logo-w33-j {
    display: flex;
    justify-content: center;
    width: 33.33%;
    /* margin-left: 15px; */
}
.midia-logo-w33-e {
    display: flex;
    justify-content: end;
    width: 33.33%;
    /* margin-left: 15px; */
}

.midia-logo-center {
    display: flex;
    flex-direction: row;
    align-self: center;
}
.midia-logo {
    width: 25px;
    height: 25px;
    background: var(--sg-color);
    border: 1px solid var(--bg-color);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow-bottom);
}

.midia-logo img {
    display: flex;
    width: 15px;
    height: 15px;
}


.midia-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 335px;
    height: 365px;
    border: 2px solid var(--txt-color);
    border-radius: 8px;
    margin-left: 10px;
    margin-right: 10px;
}
#img-loader, #img-loader-2, #img-loader-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 335px;
    height: 200px;
}
#img-loader img, #img-loader-2 img, #img-loader-3 img {
    width: 22px;
    height: 22px;
    border: none;
}
#image-preview {
    width: 335px;
    height: 365px;
    border-radius: 6px;
    margin-top: 0px;
    transition: 1s;
    
}
.midia-mensagem {
    width: 335px;
    border: 2px solid var(--txt-color);
    border-radius: 8px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}
.midia-mensagem-pv {
    width: 335px;
    height: 200px;
    display: none;
    scrollbar-width: none; /* Para Firefox */
    -ms-overflow-style: none; /* Para Internet Explorer e Edge */
    overflow: hidden;
}
.midia-mensagem-pv::-webkit-scrollbar { /* Para Chrome, Safari e outros Webkit browsers */
    display: none;
}
.midia-mensagem textarea {
    width: 329px;
    height: auto;
    margin-top: 2px;
    margin-left: 2px;
    margin-right: 2px;
    background: var(--mn-color);
    border-radius: 8px;
}
.midia-modelo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 335px;
    height: 333px;   
    border: 2px solid var(--txt-color);
    border-radius: 8px;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}
.btn-black-bar {
    display: flex;
    flex-direction: row;
    position: sticky;
    bottom: 0;
    background: var(--black);
}
.btn-black-bar-l, .btn-black-bar-e, .btn-black-bar-r {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    background: var(--black);
    height: 30px;
}
.btn-black-bar-l {
    align-items: flex-end;
    margin-right: 10px;
}

.btn-black-bar-r {
    align-items: start;
    margin-left: 10px;
}
.btn-black-bar-l img {
    /* margin-left: 2px; */
    padding-top: 2px;
    margin-top: -2px;
    margin-bottom: 0px;
    width: 17px;
}
.btn-black-bar-e img{
    width: 15px;
}
.btn-black-bar-r img {
    /* margin-bottom: 2px; */
    width: 15px;
}
.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
#center {
    display: flex;
    flex-direction: row;
    margin-top: 30px;
    justify-content: center;
}

#btn-p-c {
    cursor: pointer;
}

.section-shell {
    display: flex;
    align-items: center;
    justify-content: center;
}



/* 3D  */
canvas {
    display: block;
    max-width: 675px;
    max-height: 560px;
    width: 675px;
}
#container3D {
    display: flex;
    justify-content: center;
    width: 677px;
    height: 560px;

    margin-top: 10px;
    border: 2px solid var(--txt-color);
    border-radius: 8px;
    top: 0;
    left: 0;
    margin-left: 50px;
    margin-right: 50px;
    overflow: hidden;
    background: var(--bg-color);
    box-shadow: var(--box-shadow-l);
}
.text-center {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    height: 27%;
    border: 2px solid var(--txt-color);
    border-radius: 8px;
    margin-bottom: 10px;
    background: var(--mn-color);
    box-shadow: var(--box-shadow-l);
}
.text-center p, .text-center input {
    margin-top: 5px;
    margin-left: 10px;
}

#img-w-c::-webkit-inner-spin-button, 
#img-w-c::-webkit-outer-spin-button,
#img-h-c::-webkit-inner-spin-button, 
#img-h-c::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0;
}

#img-w-c, #img-h-c {
    width: 40px;
    appearance: textfield;
    -moz-appearance: textfield;
    user-select: none; /* Para navegadores modernos */
    -webkit-user-select: none; /* Para navegadores baseados em WebKit */
    -moz-user-select: none; /* Para o Firefox */
    -ms-user-select: none; /* Para o Internet Explorer/Edge */
    border-radius: 6px;
    border: none;
    text-decoration: none !important;
    outline: none !important;
    caret-color: transparent;
    margin-left: 5px;
    text-align: center;
}

#img-w-c {
    margin-right: 5px;
}

.img-title {
    margin-right: 5px;
}




#image-adjustment-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    margin-top: 10px;
}
#image-layout {
    margin-top: 5px;
    max-width: 600px;
    max-height: 270px;
    width: 600px;
    height: 270px;
    left: 0px;
    border: 2px solid var(--txt-color);
    position: relative; 
    display: inline-block;
    overflow: hidden;
    user-select: none;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    box-shadow: var(--box-shadow-l);
    background-image: url('/img/fundo.jpg');
    background-size: cover; /* Para ajustar a imagem ao tamanho do container */
    background-position: center; /* Para centralizar a imagem */
}
#image-container,
.image-container,
.qr-container {
    position: absolute;
    min-height: 50px;
    min-width: 50px;
    max-width: 600px;
    max-height: 270px;
    touch-action: none;
    /* Remova object-fit: contain; pois não é necessário no container */
}

#image-preview-caneca,
.image-preview-caneca {
    width: 100%; /* Ocupa 100% do container */
    height: 100%; /* Ocupa 100% do container */
    position: absolute;
    top: 0;
    left: 0;
    touch-action: none;
    /* object-fit: contain; */
    pointer-events: none; /* Permite interação com o container */
}

/* Novo estilo para dar impressão de zoom */
#image-zoom {
    position: absolute;
    top: 0; /* Inicia no topo */
    left: 0; /* Inicia à esquerda */
    width: 600px; /* Largura total */
    height: 600px; /* Ajuste para focar na área desejada */
    transform: scale(0.1); /* Aplica um zoom de 10% */
    transform-origin: top left; /* Define a origem da transformação */
    pointer-events: none; /* Desativa eventos do mouse */
}

/* Resize */

.resize-handle {
  width: 10px;
  height: 10px;
  background-color: red;
  position: absolute;
  z-index: 10;
    touch-action: none;
  transform: translate(-50%, -50%);
  display: none; /* Escondido por padrão */
}

/* Mostrar resize handle apenas para container selecionado */
.image-container.selected .resize-handle {
  display: block;
}

/* Estilo visual para imagem selecionada */
.image-container.selected {
  box-shadow: 0 0 0 3px #007acc !important;
  border-radius: 4px;
  position: relative;
}
.image-container.selected::after {
  content: 'SELECIONADA';
  position: absolute;
  top: -22px;
  left: 0;
  background: #007acc;
  color: #ffffff;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 2px;
  z-index: 10;
  display: block;
  border: 1px solid #007acc;
}
.qr-container.selected {
  box-shadow: 0 0 0 3px #007acc !important;
  border-radius: 4px;
  position: relative;
  overflow: visible !important;
}
.qr-container.selected::after {
  content: 'QR-Code';
  position: absolute;
  top: -24px;
  left: 0;
  background: #007acc;
  color: #ffffff;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 2px;
  z-index: 10;
  display: block;
  border: 1px solid #007acc;
}

/*  MODELOS  */
.faq-section-shell {
 padding: 0% 4% 0% 4%;
}

.modelo-container {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    background: var(--mn-color);
    border: 2px solid var(--txt-color);
    border-radius: 6px;
    width: min(calc(100% - 100px), 1180px);
    height: auto;
    padding: 0 24px 32px;
    overflow: hidden;
    box-shadow: var(--box-shadow-l);
}
.explicative {
    width: 100%;
}
.exp-title {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: var(--txt-color)
}
.exp-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}
.exp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 200px;
    border: 2px solid var(--txt-color);
    border-radius: 6px;
    color: var(--txt-color);
    background: var(--bg-color);
    box-shadow: var(--box-shadow-l);
}
.exp p {
    font-size: 13.5px;
}

/* Animated Steps */
.animated-steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
    width: 100%;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 180px;
    border: 2px solid var(--txt-color);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-color), rgba(255,255,255,0.05));
    box-shadow: var(--box-shadow-l);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    min-width: 0;
}
.step-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}
.step p {
    font-size: 14px;
    color: var(--txt-color);
    text-align: center;
    font-weight: 500;
}

/* Keyframes for step animation */
@keyframes stepAnimation {
    0% { opacity: 0; transform: scale(0.8) translateY(20px); }
    10% { opacity: 1; transform: scale(1) translateY(0); }
    20% { opacity: 1; transform: scale(1) translateY(0); }
    25% { opacity: 0; transform: scale(0.8) translateY(-20px); }
    100% { opacity: 0; transform: scale(0.8) translateY(-20px); }
}

@keyframes stepCarouselMobile {
    0% { opacity: 0; transform: translate(-50%, calc(-50% + 18px)) scale(0.92); }
    8% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    22% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    30% { opacity: 0; transform: translate(-50%, calc(-50% - 18px)) scale(0.96); }
    100% { opacity: 0; transform: translate(-50%, calc(-50% - 18px)) scale(0.96); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.step-1 { animation: stepAnimation 12s infinite; animation-delay: 0s; }
.step-2 { animation: stepAnimation 12s infinite; animation-delay: 3s; }
.step-3 { animation: stepAnimation 12s infinite; animation-delay: 6s; }
.step-4 { animation: stepAnimation 12s infinite; animation-delay: 9s; }

/* Responsive */
@media (max-width: 768px) {
    .animated-steps {
        gap: 10px;
    }
    .step {
        width: 150px;
        height: 140px;
    }
    .step-icon {
        font-size: 36px;
    }
    .step p {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .animated-steps {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    .step {
        width: 120px;
        height: 110px;
    }
    .step-icon {
        font-size: 28px;
    }
    .step p {
        font-size: 11px;
    }
}
.exp-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.grid {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 10px;
    width: 100%;
}
.details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 14px;
    color: var(--txt-color);
    background: var(--bg-color);

    margin-top: 10px;
    width: 72vw;
    height: auto;
    
    border: 2px solid var(--txt-color);
    border-radius: 6px;

    box-shadow: var(--box-shadow-l);
}
.details h1, .details p {
    display: flex;
    text-align: center;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 15px;
}
.details img {
    width: 400px;
    height: 500px;
}
.list {
    display: flex;
    flex-direction: column;
    text-align: start;
}
.list p {
    text-align: justify;
}
.list ul {
    margin-bottom: 10px;
    margin-right: 20px;;
}
#details-1 {
    width: 30vw;
    height: 10vh;
}
#details-1 h1 {
    height: 100%;
}





.separador {
    background: transparent;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;

}
.risk {
    background: var(--txt-color);
    width: 35%;
    height: 0.3vh;
    border: transparent;
    border-radius: 50%;
    box-shadow: var(--box-shadow-bottom);
}

















































.footer {
    background: var(--mn-color);
    border-top: 2px solid var(--txt-color);
    margin-top: 80px;
    height: auto;
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    font-size: 14px;
}
.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top:10px;
}
.left-footer {
    width: 32vw;
    display: flex;
    justify-content: start;
    margin-left: 23px;
    color: var(--txt-color);
    font-size: 10px;
}
.mid-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30vw;
    color: var(--txt-color);
}
.right-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32vw;
    color: var(--txt-color);
}
.photo {
    justify-content: center;
    align-content: center;
}
.photo img{
    width: 60px;
    border-radius: 50%;
}
.criador {
    display: flex;
    align-items: center;
}
.criador p{
    margin-left: 10px;
}
.criador a {
    color: var(--txt-color);
    text-decoration: none;
}


























/* PC */

@media screen and (max-width: 1380px) {
    .main {
        padding-left: 30px;
    }
    .right {
        width: 50%;
    }
    .left {
        width: 70%;
    }
    #logo, .logo h1{
        padding-left: 30px;
    }
    #preview {
        margin-left: 0px;
    }
    
}

@media screen and (max-width: 1140px) {
    .main {
        padding-left: 30px;
    }
    .right {
        width: 50%;
    }
    .left {
        width: 70%;
    }
    #logo, .logo h1{
        padding-left: 30px;
    }
    #preview {
        margin-left: 0px;
    }
    
}


/* Smartphone 5,2 */
@media screen and (max-width: 430px) {
    .header {
        height: 10%;
    }
    .main {
        padding-left: 20px;
        display: flex;
        flex-direction: column;
    }
    #logo, .logo h1{
        padding-left: 20px;
    }
    .left {
        width: auto;
    }
    .right, .bar, .btn-preview {
        display: none;
    }
    .group {
        width: auto;
    }
    .group input {
        width: auto;
    }
}

/* Controles de Camadas */
.controls-panel {
    min-width: 140px;
}

.upload-section {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.layer-controls {
    min-width: 120px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.layer-btn, .action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.layer-btn {
    background: var(--btn-color);
    color: white;
    min-width: 35px;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer-btn:hover {
    background: var(--btn-houver);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.action-btn {
    background: var(--sg-color);
    color: var(--txt-color);
    flex: 1;
    padding: 10px;
    font-size: 11px;
}

.action-btn:hover {
    background: var(--mn-color);
    transform: translateY(-1px);
}

.action-btn:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.layout-container {
    margin-bottom: 20px;
}

.zindex-display input {
    color: #333;
    font-weight: bold;
}

/* Novos Controles de Camadas - Layout Reorganizado */
.controls-section {
    padding: 20px 0;
}

.controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.controls-header p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.layer-buttons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 320px;
    margin-bottom: 8px;
}

/* Layout compacto dos controles */
.controls-main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    background: rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    flex-wrap: wrap;
}

.layer-selection {
    flex: 1;
    min-width: 180px;
}

.layer-controls-center {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    margin-top: 30px; /* Descer um pouco */
}
#zindex-value {
  background: var(--sg-color);
  color: var(--txt-color);
}
.upload-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px; /* Descer para alinhar com z-index */
}

.upload-btn {
    padding: 8px 16px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    background: #007acc !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.upload-btn:hover {
    background: #005c99 !important;
}

.layer-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    /* max-width: 220px; */
}

.layer-btn {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    background: #333;
    color: white;
    border: 1px solid #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.layer-btn:hover {
    background: #444;
    border-color: #666;
}

.layer-btn.active {
    background: #007acc;
    border-color: #0066aa;
}

.zindex-control {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.layer-actions {
    display: flex;
    gap: 6px;
}

.action-btn {
    padding: 4px 8px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    background: #666;
    color: white;
    border: 1px solid #777;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 30px;
}

.action-btn:hover:not(:disabled) {
    background: #777;
    border-color: #888;
}

.action-btn:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    border-color: #555;
}

.action-btn.remove-btn {
    background: #dc3545;
    border-color: #c82333;
}

.action-btn.remove-btn:hover:not(:disabled) {
    background: #c82333;
    border-color: #bd2130;
}

.action-btn.remove-btn:disabled {
    background: #6c757d;
    border-color: #6c757d;
    opacity: 0.6;
}

/* Responsividade */
@media (max-width: 768px) {
    .controls-main {
        flex-wrap: nowrap;
    }
    .layer-selection,
    .layer-controls-center,
    .upload-section {
        width: 100%;
        align-items: center;
    }
    
    .layer-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        max-width: 100%;
    }
}

/* Box-sizing global para evitar overflow */
* {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loader {
    text-align: center;
    color: var(--txt-color);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--btn-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Initially hide login buttons to prevent flicker */
.login {
    display: none;
}

/* Container para telefone e preview */
.phone-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 430px;
    position: relative;
    padding-top: 8px;
}

/* Esconder telefone e preview em tablets/móveis */
@media screen and (max-width: 1124px) {
    .modelo-container {
        width: min(calc(100% - 40px), 960px);
        margin-top: 56px;
        padding: 0 20px 28px;
        border-radius: 24px;
    }
    .exp-title {
        margin-top: 32px;
        padding: 0 8px;
    }
    .header {
        height: auto;
        padding: 14px 18px;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .width-w33-s,
    .width-w33-j,
    .width-w33-e {
        width: auto;
    }
    .width-w33-s {
        order: 2;
        flex: 1 1 auto;
        justify-content: flex-start;
        margin-left: 12px;
    }
    .width-w33-j {
        order: 1;
        flex: 0 0 auto;
        justify-content: center;
    }
    .width-w33-e {
        order: 3;
        flex: 0 0 auto;
        justify-content: flex-end;
        position: relative;
    }
    .nomeEmpresa {
        margin: 0;
        justify-content: flex-start;
        text-align: left;
    }
    .nomeEmpresa h1 {
        font-size: 22px;
        line-height: 1.1;
    }
    .menu-toggle {
        display: inline-flex;
        z-index: 110;
    }
    .mobile-sidebar-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(82vw, 360px);
        height: 100vh;
        padding: 18px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 18px;
        background: linear-gradient(180deg, rgba(58, 61, 95, 0.98), rgba(43, 45, 66, 0.99));
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: -24px 0 60px rgba(0, 0, 0, 0.28);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.28s ease;
        z-index: 100;
    }
    .mobile-sidebar-header,
    .mobile-sidebar-footer,
    .mobile-sidebar-label,
    .mobile-sidebar-eyebrow,
    .mobile-sidebar-close {
        display: block;
    }
    .mobile-sidebar-close {
        display: none;
    }
    .mobile-sidebar-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-sidebar-header h2 {
        margin: 0;
        font-size: 22px;
        line-height: 1.1;
        color: var(--txt-color);
    }
    .mobile-sidebar-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .mobile-sidebar-footer {
        margin-top: auto;
        padding: 14px 14px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mobile-sidebar-footer p {
        margin: 0;
        font-size: 13px;
        line-height: 1.5;
        color: rgba(237, 237, 237, 0.72);
    }
    .login {
        position: static;
        width: 100%;
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 10px;
        background: transparent;
        border-left: none;
        box-shadow: none;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        transition: none;
        z-index: auto;
    }
    .login button {
        width: 100%;
        max-width: none;
        min-height: 46px;
        padding: 10px 14px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        text-align: left;
        font-size: 13px;
        font-weight: 600;
    }
    body.mobile-menu-open .mobile-sidebar-menu {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    .phone-preview-container {
        display: none;
    }
    .controls-header {
        display: none;
    }
    .bar1x2 {
        display: none;
    }
    #center {
        flex-direction: column;
    }
    .left {
        width: 100%;
    }
    .main {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-top: 18px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .forms-left {
        width: min(100%, 760px);
        max-width: 100%;
        padding: 28px 22px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(74, 78, 105, 0.96), rgba(43, 45, 66, 0.98));
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    }
    .topper,
    .forms-container,
    .group,
    .radio-group-caneca,
    .radio-group-cronometro,
    .media-type-selector {
        width: 100%;
        max-width: 100%;
    }
    .topper {
        margin-bottom: 8px;
    }
    .title {
        font-size: 32px;
        line-height: 1.15;
        text-align: center;
    }
    .sub-title {
        max-width: 60ch;
        margin: 12px auto 0;
        text-align: center;
        line-height: 1.6;
        color: var(--txt-color2);
    }
    .btn-group {
        width: 100%;
        flex-direction: column;
        margin-left: 0;
        align-items: stretch;
        gap: 16px;
        padding: 0;
    }
    .btn-group-b {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        padding: 4px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        box-shadow: none;
        backdrop-filter: blur(8px);
    }
    .btn-buy {
        width: 100%;
        height: auto;
        min-height: 54px;
        padding: 14px 18px;
        font-size: 14px;
        line-height: 1.3;
        border-radius: 16px;
    }
    .btn-buy-active {
        box-shadow: 0 12px 24px rgba(0, 191, 255, 0.18);
    }
    .btn-buy-desative {
        background: transparent;
    }
    .btn-group > .quantidade {
        width: 100%;
        max-width: 100%;
        padding: 8px 14px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        box-shadow: none;
        align-self: stretch;
        margin-bottom: 15px;
    }
    .group1 {
        flex-direction: column;
        gap: 4px;
    }
    .divName,
    .divData,
    .colum {
        flex: none;
        width: 100%;
        min-width: 0;
    }
    .divName,
    .colum {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .divData {
        align-items: stretch;
        gap: 4px;
    }
    .group,
    .radio-group-caneca,
    .radio-group-cronometro,
    .group3 {
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        margin-bottom: 15px;
    }
    .radio-title {
        margin: 0 0 12px;
    }
    .radio-group,
    .media-type-selector .radio-group {
        margin-left: 0;
        gap: 10px;
    }
    .radio-group > div,
    .media-type-selector .radio-group > div {
        flex: 1 1 220px;
        min-width: 0;
    }
    .s-active,
    .s-desativa,
    .media-type-selector .s-active,
    .media-type-selector .s-desativa {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .divData .row {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        column-gap: 8px;
        row-gap: 4px;
    }
    .label-form,
    #colum-date1-name,
    #colum-date2-name,
    #colum-date3-name {
        margin-bottom: 0;
    }
    .group input,
    .group textarea,
    #linkm,
    #linkv,
    #quantity {
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(15, 18, 35, 0.45);
        box-shadow: none;
        color: var(--txt-color)
    }
    #mensagem {
        min-height: 220px;
    }
    #nome,
    #mensagem,
    #linkm,
    #linkv,
    .btn-anexo {
        width: 100%;
        max-width: 100%;
    }
    #data,
    #hora,
    #data-2,
    #hora-2,
    #data-3,
    #hora-3 {
        flex: 1 1 50%;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-left: 0;
    }
    .controls-section {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
    }
    #center {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #center-x .row {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }
    #container3D {
        width: min(100%, 720px);
        height: min(72vw, 560px);
        margin-left: 0;
        margin-right: 0;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    }
    #image-adjustment-container {
        width: min(100%, 720px);
        margin-top: 0;
        margin-right: 0;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.04);
    }
    #image-layout {
        width: 100%;
        max-width: 100%;
        height: min(40vw, 270px);
        border-radius: 18px;
    }
    canvas {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }
    .w-100 {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 18px;
    }
    .w-50 {
        width: 100%;
    }
    .controls-main {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        padding: 0;
        background: transparent;
    }
    .layer-selection,
    .layer-controls-center,
    .upload-section {
        width: 100%;
        margin-top: 0;
    }
    .layer-controls-center {
        align-items: stretch;
    }
    .zindex-control,
    .layer-actions {
        justify-content: center;
    }
    .upload-btn,
    .btn-anexo,
    .btn-carrinho {
        min-height: 54px;
        border-radius: 16px !important;
    }
    .w-100-center {
        width: 100%;
        padding: 0 8px;
    }
    .btn-carrinho {
        width: min(100%, 360px);
        max-width: 100%;
        margin: 16px auto 0;
        font-size: 16px;
        line-height: 1.2;
    }
    .faq {
        width: 100%;
        max-width: none;
        margin: 20px auto 0;
        padding: 0 4px 8px;
    }
    .animated-steps {
        position: relative;
        display: block;
        width: 100%;
        max-width: 420px;
        height: 182px;
        min-height: 182px;
        overflow: hidden;
        gap: 0;
        padding: 0;
        margin: 20px auto;
    }
    .step {
        position: absolute;
        top: 50%;
        left: 50%;
        flex: none;
        width: min(320px, 100%);
        max-width: 320px;
        height: auto;
        min-height: 150px;
        padding: 18px 18px;
        border-radius: 20px;
        opacity: 0;
        transform: translate(-50%, calc(-50% + 18px)) scale(0.92);
        animation-name: stepCarouselMobile;
        animation-duration: 12s;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
    }
    .step-icon {
        font-size: 35px;
    }
    .step p {
        font-size: 14px;
    }
}

/* Smartphone */
@media screen and (max-width: 430px) {
    .header {
        height: 10%;
    }
    .main {
        margin-top: 50px;
    }
    .forms-left {
        padding: 20px;
    }
}

/* Reduzir tamanho dos emojis/cards no FAQ */
@media (max-width: 761px) {
    .animated-steps {
        gap: 10px;
    }
    .step {
        width: 120px;
        height: 150px;
    }
    .step-icon {
        font-size: 34px;
    }
    .step p {
        font-size: 10px;
    }
}

/* ===== FAQ Accordion Styles (Modern) ===== */
.faq {
    width: min(72vw, 980px);
    max-width: 980px;
    margin: 20px auto 40px auto;
    padding: 0 8px 8px;
    color: var(--txt-color);
    box-sizing: border-box;
}
.faq-title {
    font-size: 24px;
    margin-bottom: 16px;
    text-align: center;
    color: var(--btn-color);
    font-weight: 600;
}
.faq-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}
.faq-item.open {
    border-color: rgba(0,191,255,0.3);
    box-shadow: 0 8px 24px rgba(0,191,255,0.2);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--txt-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 500;
    transition: background 0.3s ease;
}
.faq-question:hover {
    background: rgba(255,255,255,0.05);
}
.faq-question:focus {
    outline: 2px solid var(--btn-color);
    outline-offset: 2px;
}
.faq-question:after {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform 0.3s ease;
    opacity: 0.7;
}
.faq-question[aria-expanded='true']:after {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 20px;
    color: var(--txt-color2);
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer p { margin: 0; }

@media (max-width: 680px) {
    .faq { width: calc(100% - 40px); }
    .faq-title { font-size: 20px; }
    .faq-question { font-size: 15px; padding: 14px 16px; }
    .faq-answer { padding: 0 16px; }
}

/* ===== RESPONSIVIDADE PARA TELAS ABAIXO DE 734px ===== */
@media screen and (max-width: 734px) {
    .modelo-container {
        width: 100%;
        margin-top: 40px;
        padding: 0 12px 24px;
        border-radius: 22px;
    }
    .exp-title {
        margin-top: 28px;
        padding: 0 8px;
    }
    .header {
        padding: 12px 14px;
    }

    .width-w33-s,
    .width-w33-j,
    .width-w33-e {
        width: auto;
    }

    .width-w33-j {
        order: 1;
        flex: 0 0 auto;
    }

    .width-w33-s {
        order: 2;
        flex: 1 1 auto;
        margin-left: 10px;
    }

    .width-w33-e {
        order: 3;
        flex: 0 0 auto;
    }

    .nomeEmpresa {
        margin: 0;
        justify-content: flex-start;
        text-align: left;
        font-size: 10px;
    }

    .logo-img {
        width: 45px;
        height: 45px;
    }

    .logo-img img {
        width: 35px;
        height: 35px;
    }

    .login {
        width: 100%;
        padding: 0;
    }

    .login button {
        max-width: 100%;
        font-size: 12px;
        padding: 10px 12px;
    }

    .mobile-sidebar-menu {
        width: min(88vw, 320px);
        padding: 16px 14px;
    }

    .main {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .left {
        width: 100%;
        margin-bottom: 0;
    }

    .right {
        display: none;
    }

    .forms-left {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        margin: 0;
    }

    .topper,
    .forms-container,
    .group,
    .radio-group-caneca,
    .radio-group-cronometro,
    .media-type-selector {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 10px;
    }

    .sub-title {
        font-size: 14px;
        text-align: justify;
        line-height: 1.4;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-left: 0;
    }

    .btn-group-b {
        width: 100%;
        flex-direction: column;
        border-radius: 8px;
        overflow: hidden;
    }

    .btn-buy {
        width: 100%;
        height: auto;
        padding: 14px 16px;
        font-size: 11px;
        margin: 0;
        border-radius: 0;
        line-height: 1.3;
    }

    .btn-buy-l {
        border-radius: 8px 8px 0 0;
    }

    .btn-buy-r {
        border-radius: 0 0 8px 8px;
    }

    .btn-group > .quantidade {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-top: 0;
        padding: 12px 14px;
        background: var(--bg-color);
        border-radius: 8px;
        border: 2px solid var(--txt-color);
    }

    .column-1 {
        margin-top: 0;
    }

    .quantidade-label {
        display: block;
        margin-bottom: 4px;
        font-weight: 600;
    }

    .row-1 {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    #quantity {
        width: 72px;
        height: 40px;
        margin-left: 0;
        font-size: 16px;
        color: var(--txt-color);
    }

    #obs {
        font-size: 11px;
        margin-left: 0;
        line-height: 1.4;
        color: var(--btn-color);
        flex: 1 1 180px;
    }

    .radio-group-caneca {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .radio-title {
        margin-bottom: 10px;
        margin-left: 0;
    }

    .radio-group,
    .media-type-selector .radio-group {
        width: 100%;
        gap: 8px;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .radio-card-grid-modelos,
    .radio-card-grid-submodelos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .radio-group > div,
    .media-type-selector .radio-group > div {
        flex: 1 1 160px;
        min-width: 0;
    }

    .s-active,
    .s-desativa,
    .media-type-selector .s-active,
    .media-type-selector .s-desativa {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 10px 12px;
        font-size: 13px;
        min-width: 0;
        text-align: center;
    }

    .radio-card {
        min-height: 78px;
        padding: 11px 32px 9px 11px;
        text-align: left;
    }

    .radio-card-label {
        font-size: 14px;
    }

    .radio-card-copy {
        font-size: 10px;
    }

    .group {
        width: 100%;
        margin-bottom: 15px;
    }

    .group1 {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .divName,
    .divData,
    .colum,
    #colum-date2,
    #colum-date3 {
        width: 100%;
        margin-left: 0;
    }

    .group input {
        font-size: 16px;
    }

    .group textarea {
        width: 100%;
        height: 220px;
        font-size: 16px;
        padding: 12px;
    }

    #nome,
    #mensagem,
    #linkm,
    #linkv,
    .btn-anexo {
        width: 100%;
        max-width: 100%;
    }

    .divData {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .divData > div,
    .divData > .colum {
        width: 100%;
        min-width: 0;
    }

    .colum {
        width: 100%;
    }

    .divData .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    #data,
    #hora,
    #data-2,
    #hora-2,
    #data-3,
    #hora-3 {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-left: 0;
    }

    .btn-anexo {
        min-height: 52px;
        padding: 15px;
        font-size: 16px;
    }

    .btn-carrinho {
        width: 100%;
        max-width: 300px;
        margin: 14px auto 0;
        font-size: 18px;
        padding: 15px;
    }

    .faq {
        width: 100%;
        margin: 20px 0 0;
        padding: 0 4px 8px;
    }

    .faq-item {
        border-radius: 16px;
        margin-bottom: 10px;
    }

    .faq-question {
        padding: 16px 14px;
        font-size: 14px;
        gap: 12px;
    }

    .faq-answer {
        padding: 0 14px;
    }

    .animated-steps {
        position: relative;
        display: block;
        width: 100%;
        max-width: 320px;
        height: 146px;
        min-height: 146px;
        margin: 16px auto;
        padding: 0;
    }

    .step {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        max-width: 280px;
        height: auto;
        min-height: 118px;
        padding: 16px 14px;
        opacity: 0;
        transform: translate(-50%, calc(-50% + 18px)) scale(0.92);
        animation-name: stepCarouselMobile;
        animation-duration: 12s;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
        z-index: 1;
    }

    .step-icon {
        font-size: 24px;
    }

    .step p {
        font-size: 11px;
    }

    .w-100 {
        flex-direction: column;
        gap: 10px;
    }

    .w-50 {
        width: 100%;
    }

    #row {
        flex-wrap: wrap;
        gap: 8px;
    }

    #container3D {
        width: 100%;
        height: min(78vw, 400px);
        margin-left: 0;
        margin-right: 0;
    }

    #image-adjustment-container {
        width: 100%;
        margin-right: 0;
    }

    #image-layout {
        width: 100%;
        height: min(48vw, 270px);
    }

    canvas {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    .controls-main {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .layer-selection,
    .layer-controls-center,
    .upload-section {
        width: 100%;
        align-items: center;
    }

    .upload-section {
        margin-top: 0;
        padding: 0;
        background: transparent;
        border: none;
    }

    .layer-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .footer {
        padding: 15px;
    }

    .footer-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .left-footer,
    .mid-footer,
    .right-footer {
        width: 100%;
        margin-left: 0;
    }

    .photo img {
        width: 50px;
    }

    .criador p {
        font-size: 12px;
    }
}

@media screen and (max-width: 627px) {
    .animated-steps {
        max-width: 286px;
        height: 132px;
        min-height: 132px;
    }

    .step,
    .step-1,
    .step-2,
    .step-3,
    .step-4 {
        min-height: 104px;
        padding: 14px 12px;
        transition: none;
    }

    .step-icon {
        margin-bottom: 6px;
    }

    .step p {
        font-size: 11px;
        line-height: 1.35;
    }
}

/* ===== AJUSTES ADICIONAIS PARA TELAS MUITO PEQUENAS ===== */
@media screen and (max-width: 480px) {
    .forms-left {
        padding: 12px;
    }

    .divData .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .title {
        font-size: 24px;
    }

    .sub-title {
        font-size: 13px;
    }

    .btn-buy {
        height: 40px;
        font-size: 10px;
    }

    .btn-group > .quantidade {
        padding: 12px;
    }

    #quantity {
        width: 50px;
        height: 30px;
    }

    .controls-main {
        flex-direction: column;
    }

    .login button,
    .radio-group > div,
    .media-type-selector .radio-group > div,
    #data,
    #hora,
    #data-2,
    #hora-2,
    #data-3,
    #hora-3 {
        flex-basis: 100%;
        width: 100%;
    }

    .radio-card-grid-modelos,
    .radio-card-grid-submodelos {
        grid-template-columns: 1fr;
    }

    .s-active, .s-desativa {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 0;
    }

    .group input,
    .group textarea {
        padding: 10px;
        font-size: 16px;
    }

    .btn-anexo {
        padding: 12px;
        font-size: 15px;
    }

    .btn-carrinho {
        font-size: 16px;
        padding: 12px;
    }

    .animated-steps {
        max-width: 248px;
        height: 118px;
        min-height: 118px;
    }

    .step {
        width: 100%;
        max-width: 248px;
        height: auto;
        min-height: 92px;
        padding: 12px 8px;
    }

    .step-icon {
        font-size: 20px;
    }

    .step p {
        font-size: 10px;
    }
}

