/* AlumiHouse Orçamento - Drawer */

.alumi-orcamento-overlay {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(1px);
}

.alumi-orcamento-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.alumi-orcamento-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(500px, 92vw);
    height: 100vh;
    z-index: 999999;
    background: #fff;
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    font-family: inherit;
}

.alumi-orcamento-drawer.is-open {
    transform: translateX(0);
}

body.alumi-orcamento-open {
    overflow: hidden;
}

.alumi-orcamento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 26px 20px;
    border-bottom: 1px solid #ece9e3;
}

.alumi-orcamento-eyebrow {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    letter-spacing: 0.4px;
    opacity: 0.65;
}

.alumi-orcamento-header h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 600;
}

.alumi-orcamento-close {
    width: 38px !important;
    height: 38px;
    border: initial !important;
    padding: 0px !important;
    border-radius: 50% !important;
    background: transparent;
    font-size: 25px !important;
    line-height: 1;
    color: #cb362b !important;
    cursor: pointer;
}

.alumi-orcamento-content {
    flex: 1;
    overflow-y: auto;
    padding: 22px 24px;
}

.alumi-orcamento-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ece9e3;
    font-size: 13px;
}

.alumi-orcamento-summary span {
    opacity: 0.65;
}

.alumi-orcamento-items {
    display: flex;
    flex-direction: column;
}

.alumi-orcamento-item {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #ece9e3;
}

.alumi-orcamento-image {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f3ef;
}

.alumi-orcamento-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alumi-orcamento-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.alumi-orcamento-item-name {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}

.alumi-orcamento-item-name:hover {
    text-decoration: underline;
}

.alumi-orcamento-item-qty {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.7;
}

.alumi-orcamento-footer {
    padding: 18px 24px 24px;
    border-top: 1px solid #ece9e3;
    display: grid;
    gap: 10px;
}

.alumi-orcamento-footer button {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    border-radius: 3px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    border-radius: 15px;
    background: #29a442;
    color: #fff;
    border-color: #29a442;
}

.alumi-orcamento-continue {
    border: 1px solid #765a24;
    background: #fff;
    color: #765a24;
}

.alumi-orcamento-request {
    border: 1px solid #765a24;
    background: #765a24;
    color: #fff;
}

.alumi-orcamento-request:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.alumi-orcamento-loading,
.alumi-orcamento-error,
.alumi-orcamento-empty {
    padding: 35px 10px;
    text-align: center;
}

.alumi-orcamento-loading {
    opacity: 0.65;
}

.alumi-orcamento-empty-icon {
    margin: 0 auto 12px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid #ddd8cf;
    border-radius: 50%;
    font-size: 24px;
}

.alumi-orcamento-empty h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.alumi-orcamento-empty p {
    margin: 0;
    font-size: 14px;
    opacity: 0.65;
}

@media (max-width: 480px) {
    

    .alumi-orcamento-header {
        padding: 22px 20px 18px;
    }

    .alumi-orcamento-content {
        padding: 18px 20px;
    }

    .alumi-orcamento-footer {
        padding: 15px 20px 20px;
    }
}


/* Etapa 3.1 — modal do formulário */
.alumi-quote-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    backdrop-filter: blur(2px);
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.alumi-quote-modal-overlay.is-open { opacity: 1; visibility: visible; }
.alumi-quote-modal {
    position: fixed;
    z-index: 1000001;
    top: 47%;
    left: 50%;
    width: min(700px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0,0,0,.22);
    transform: translate(-50%, -48%) scale(.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    font-family: inherit;
    border-radius: 26px;
}
.alumi-quote-modal.is-open {transform: translate(-50%,-50%) scale(1);opacity:1;visibility:visible;}
body.alumi-quote-modal-open { overflow:hidden; }
.alumi-quote-modal-header {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    padding: 30px 39px 24px;
    border-bottom:1px solid #ece9e3;
}
.alumi-quote-modal-header h2 {    margin: 0;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
    color: #795548;
    font-family: 'Montserrat';}
.alumi-quote-modal-header p {margin: 1px 0 0;font-size: 17px;line-height:1.5;opacity:.68;font-family: 'Montserrat';}
.alumi-quote-close {
    width: 38px ! Important;
    height: 38px;
    flex: 0 0 38px;
    border: none ! Important;
    border-radius: 50%;
    background: transparent;
    font-size: 32px ! Important;
    line-height: 1;
    cursor: pointer;
    padding: 0!Important;
}
.alumi-quote-modal-content { padding:26px 32px 32px; }
.alumi-quote-form { display:grid; gap:17px; }
.alumi-quote-field { display:grid; gap:7px; }
.alumi-quote-field label {font-size:13px;font-weight:600;}
.alumi-quote-field label span { font-weight:400; opacity:.55; }
.alumi-quote-field input, .alumi-quote-field textarea {
    width:100%;
    box-sizing:border-box;
    border: 1px solid #d9d5ce!important;
    border-radius: 11px!important;
    background:#fff;
    color:inherit;
    padding: 12px 13px !important;
    font:inherit;
    font-size: 16px;
    outline:none;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}
.alumi-quote-field input { min-height:46px; }
.alumi-quote-field textarea { resize:vertical; min-height:105px; }
.alumi-quote-field input:focus, .alumi-quote-field textarea:focus {
    border-color:#765a24; box-shadow:0 0 0 2px rgba(118,90,36,.09);
}
.alumi-quote-submit {
    width: 100%!important;
    min-height:50px;
    margin-top:4px;
    border: 1px solid #765a24!important;
    border-radius: 20px!important;
    background: #765a24 !important;
    color: #fff!important;
    font:inherit;
    font-weight: 600!important;
    cursor: pointer!important;
    font-size: 1.2em!important;
    font-family: 'Montserrat';
}
.alumi-quote-form-message { display:none; padding:11px 13px; border-radius:3px; background:#eef7ef; font-size:13px; line-height:1.4; }
.alumi-quote-form-message.is-visible { display:block; }
@media (max-width:768px) {
    .alumi-orcamento-drawer {
                width: calc(100% - 70px);
    }

    .alumi-quote-modal {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        top: 40%;
    }

    .alumi-quote-modal-header { padding:24px 20px 20px; }
    .alumi-quote-modal-content { padding:21px 20px 24px; }
    .alumi-quote-modal-header h2 { font-size:23px; }
    .alumi-quote-modal-header p {margin: 1px 0 0;font-size: 13px;}
    
}


.alumi-quote-form-message {
    display: none;
    padding: 11px 13px;
    border-radius: 3px;
    background: #f7eeee;
    color: #8a3434;
    font-size: 13px;
    line-height: 1.45;
}
.alumi-quote-form-message.is-visible { display: block; }
.alumi-quote-submit.is-loading { opacity: .7; cursor: wait; }
.alumi-quote-success { text-align:center; padding:20px 8px 8px; }
.alumi-quote-success-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #4CAF50;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}
.alumi-quote-success h3 {
    margin: 7px 0 8px;
    font-size: 25px;
    line-height: 1.2;
}
.alumi-quote-success p {
    max-width: 390px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}
.alumi-quote-success-number {
    display: inline-block;
    margin-top: 10px;
    padding: 0px 12px;
    border: none;
    border-radius: 22px;
    font-size: 20px;
    color: #2E7D32;
    font-weight: 700;
    margin-bottom: 13px;
}
.alumi-quote-success-close {
    display: block !important;
    max-width: 280px;
    min-height: 48px;
    margin: 24px auto 0;
    border: 1px solid #d72315 !important;
    border-radius: 12px !important;
    background: #d72315 !important;
    color: #fff !important;
    font: inherit;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-size: 18px !important;
}
.alumi-orcamento-footer button:hover {
    background: #1a8c32;
    color: #fff;
    border-color: #1a8c32;
}

.alumi-quote-close {
    background-color: transparent;
    border: none;
    color: #F44336;
    display: inline-block;
    font-size: 2rem;
    font-weight: 400;
    padding: 0;
    text-align: center;
    transition: all .3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.alumi-quote-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border: 1px solid #765a24;
    border-radius: 3px;
    background: #765a24;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
button.alumi-orcamento-close:hover {
    background: none;
    border: none;
    transform: scale(1.2);
}
button.alumi-quote-close:hover {
    background: none!important;
    color: red;
}
@media (max-width: 992px) { 

    .alumi-orcamento-eyebrow {

    font-size: 13px;
    }

}
/* Remoção de produto do orçamento */
.alumi-orcamento-item {
    position: relative;
}

.alumi-orcamento-remove {
    position: absolute;
    top: 16px;
    right: 0;
    width: 28px!important;
    height: 28px;
    display: grid!important;
    place-items: center;
    padding: 0!important;
    margin: 0;
    border: 0!important;
    background: transparent;
    color: #777!important;
    font-size: 21px!important;
    font-weight: 400!important;
    line-height: 1;
    cursor: pointer!important;
    transition: color .2s ease, opacity .2s ease, transform .2s ease!important;
}

.alumi-orcamento-remove:hover {
    color: #222!important;
    transform: scale(1.08);
    border: none!important;
    background: #fff!important;
}

.alumi-orcamento-remove.is-removing {
    opacity: .35;
    pointer-events: none;
}
