/* ==========================================================================
   Bella Kitchen Cabinetry — bellakitchencabinetry.com
   Desenvolvido 100% pela NEO Startup · https://neostartup.com.br
   ========================================================================== */
/* ==========================================================================
   Orcamento detalhado (free-quote.html) — destino dos botoes "Get a Free Quote"
   Formulario em secoes numeradas que abrem e fecham, cartoes com foto para
   cada escolha e perguntas que aparecem conforme a resposta anterior.
   ========================================================================== */
.qt-section { padding: 90px 0 120px; }
/* coluna do formulario + quadro lateral fixo. O .boxed_wrapper do layout base usa overflow:hidden,
   que desliga o sticky; clip corta igual sem desligar (so nesta pagina) */
.boxed_wrapper:has(.qt-section) { overflow: clip !important; }
.qt-side-col { position: relative; }
.qt-side { position: sticky; top: 130px; margin-top: 8px; background: var(--bella-ink); color: rgba(255, 255, 255, .78); padding: 34px 30px 30px; }
.qt-side h3 { color: #fff; font-size: 26px; line-height: 34px; margin-bottom: 10px; }
.qt-side p { color: rgba(255, 255, 255, .75); font-size: 15px; line-height: 24px; }
.qt-side-contact { list-style: none; padding: 0; margin: 22px 0 18px; display: grid; gap: 10px; }
.qt-side-contact a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 500; font-size: 15px; word-break: break-all; transition: background .2s, border-color .2s; }
.qt-side-contact a:hover { background: rgba(255, 255, 255, .06); border-color: var(--bella-rose); color: #fff; }
.qt-side-contact svg, .qt-side-contact i { flex: 0 0 20px; color: var(--bella-rose); font-size: 20px; text-align: center; }
.qt-side-hours { font-size: 14px !important; margin-bottom: 18px; }
.qt-side-perks { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 8px; }
.qt-side-perks li { position: relative; padding-left: 26px; color: #fff; font-size: 15px; }
.qt-side-perks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--bella-rose); font-weight: 700; }
.qt-intro { margin-bottom: 34px; }
.qt-intro h2 { font-size: 34px; line-height: 44px; margin-bottom: 12px; }
.qt-intro p { font-size: 17px; line-height: 28px; }

.qt-form { background: var(--bella-cream-2); border: 1px solid var(--bella-line); padding: 18px; }
.qt-restored { background: #fff; border-left: 3px solid var(--bella-rose); padding: 12px 18px; margin-bottom: 14px; font-size: 15px; }
.qt-restored button { background: none; border: 0; padding: 0; margin-left: 8px; text-decoration: underline; color: var(--bella-ink); font-weight: 600; }

/* --- secoes (sanfona) --- */
.qt-panel { margin-bottom: 12px; background: #fff; border: 1px solid var(--bella-line); }
.qt-panel-head { margin: 0; font-size: inherit; line-height: inherit; }
.qt-panel-head button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 22px 26px; border: 0; text-align: left;
  background: var(--bella-cream); color: var(--bella-ink); font-family: var(--title-font); font-size: 21px; font-weight: 600;
  transition: background .2s, color .2s;
}
.qt-panel.is-open .qt-panel-head button { background: var(--bella-ink); color: #fff; }
.qt-num {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--bella-ink); font-size: 15px; font-weight: 700;
}
.qt-title { flex: 1; min-width: 0; }
/* resumo do que foi escolhido, so com a secao fechada */
.qt-summary { display: block; font-family: var(--text-font); font-size: 14px; font-weight: 400; line-height: 20px; color: #5f5f66; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-summary:empty, .qt-panel.is-open .qt-summary { display: none; }
.qt-done { display: none; color: var(--bella-ink); background: var(--bella-rose); width: 26px; height: 26px; border-radius: 50%; font-size: 14px; align-items: center; justify-content: center; }
.qt-panel.is-done .qt-done { display: inline-flex; }
.qt-chev { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 6px; transition: transform .25s; }
.qt-panel.is-open .qt-chev { transform: rotate(-135deg); margin-top: 6px; }
.qt-panel-body { padding: 10px 32px 34px; }
.qt-panel-foot { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--bella-line); display: flex; justify-content: flex-end; }

/* --- blocos e rotulos --- */
.qt-block { padding-top: 30px; }
.qt-block > h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 38px; font-weight: 600; color: var(--bella-ink);
  padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid rgba(38, 37, 44, .25);
}
.qt-block > p { font-size: 16px; line-height: 26px; margin-bottom: 24px; }
.qt-block a:not(.theme-btn):not(.qt-zoom) { color: var(--bella-ink); text-decoration: underline; text-decoration-color: var(--bella-rose); text-underline-offset: 3px; }
.qt-field { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.qt-label {
  display: block; float: none; width: auto; margin-bottom: 12px; padding: 0;
  font-family: var(--title-font); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bella-ink);
}
.qt-label em { font-style: normal; color: #b23b32; }
.qt-group-label { margin: 22px 0 10px; font-weight: 600; color: var(--bella-ink); font-size: 15px; }
.qt-group-label span { font-weight: 400; color: #6e6e6e; margin-left: 6px; font-size: 14px; }
.qt-hint { font-size: 14px; line-height: 22px; color: #6b6b6b; margin-top: 8px; }
.qt-hint.is-top { margin: -6px 0 12px; }
.qt-sub { display: block; font-size: 13px; color: #7a7a7a; margin: 5px 0 14px; }
.qt-input { margin-top: 18px; max-width: 520px; }
.qt-count { font-size: 13px; color: #7a7a7a; margin-top: 4px; text-align: right; }

/* campos */
.qt-form input[type=text], .qt-form input[type=email], .qt-form input[type=tel], .qt-form input[type=number], .qt-form select, .qt-form textarea {
  width: 100%; height: 50px; padding: 10px 14px; border: 1px solid rgba(38, 37, 44, .28); border-radius: 3px; background: #fff;
  font-size: 16px; color: var(--bella-ink); transition: border-color .2s, box-shadow .2s;
}
.qt-form textarea { height: auto; min-height: 110px; resize: vertical; line-height: 24px; }
.qt-form select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2326252C' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.qt-form input:focus, .qt-form select:focus, .qt-form textarea:focus { outline: none; border-color: var(--bella-ink); box-shadow: 0 0 0 3px rgba(197, 177, 170, .45); }
.qt-form .is-invalid { border-color: #b23b32 !important; }
.qt-error { display: none; color: #b23b32; font-size: 14px; margin-top: 10px; font-weight: 500; }
.qt-field.has-error > .qt-error, .qt-lists.has-error > .qt-error, .qt-error.is-visible { display: block; }

/* --- cartoes de escolha --- */
.qt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.qt-tiles.is-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qt-tiles.is-method { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.qt-tiles.is-small { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.qt-tile { position: relative; }
.qt-tile label { display: flex; flex-direction: column; height: 100%; margin: 0; cursor: pointer; background: #faf9f6; border: 1px solid rgba(38, 37, 44, .14); padding: 8px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.qt-tile label:hover { border-color: rgba(38, 37, 44, .45); }
.qt-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qt-tile-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: #fff; overflow: hidden; color: var(--bella-stone); }
.qt-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.qt-tiles.is-wide .qt-tile-img { aspect-ratio: 4 / 3; }
.qt-tiles.is-method .qt-tile-img { aspect-ratio: auto; height: 120px; background: var(--bella-cream-2); }
.qt-hex { width: 100%; height: 100%; display: block; }
.qt-help-art { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 600; color: var(--bella-stone); line-height: 1; }
.qt-tiles.is-small .qt-help-art { font-size: 34px; }
.qt-tile-name { display: block; text-align: center; font-size: 14px; line-height: 19px; color: var(--bella-ink); padding: 9px 2px 3px; }
.qt-tile-name small { display: block; font-size: 12px; color: #7a7a7a; margin-top: 2px; }
.qt-tiles.is-small .qt-tile-name { font-size: 12.5px; line-height: 16px; padding-top: 7px; }
.qt-tile input:checked + .qt-tile-img { box-shadow: inset 0 0 0 3px var(--bella-ink); }
.qt-tile label:has(input:checked) { border-color: var(--bella-ink); box-shadow: 0 0 0 1px var(--bella-ink), 0 10px 24px -14px rgba(38, 37, 44, .5); background: #fff; }
/* selo de selecionado no centro da foto */
.qt-tile-img { position: relative; }
.qt-tile input:checked + .qt-tile-img::after {
  content: '✓'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%;
  background: var(--bella-ink); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(38, 37, 44, .35);
}
.qt-tiles.is-small .qt-tile input:checked + .qt-tile-img::after { width: 32px; height: 32px; font-size: 16px; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(38, 37, 44, .35); }
.qt-tile input:focus-visible + .qt-tile-img { outline: 2px solid var(--bella-ink); outline-offset: 3px; }
.qt-zoom {
  position: absolute; right: -9px; top: -9px; z-index: 2; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--bella-ink); color: #fff; transition: transform .2s, background .2s;
}
.qt-zoom:hover { color: var(--bella-ink); background: var(--bella-rose); transform: scale(1.08); }
.qt-tiles.is-small .qt-zoom { width: 24px; height: 24px; right: -7px; top: -7px; }

/* grades grandes: 12 primeiros + "Show all" */
.qt-tiles.is-limited:not(.is-expanded) > .qt-tile:nth-child(n+13) { display: none; }
.qt-more { margin-top: 14px; background: #fff; border: 1px solid rgba(38, 37, 44, .35); padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--bella-ink); }
.qt-more:hover { background: var(--bella-cream); }
.qt-more .qt-more-off, .qt-more.is-on .qt-more-on { display: none; }
.qt-more.is-on .qt-more-off { display: inline; }

/* outros acabamentos (ilha etc.) */
.qt-extra-finishes { padding-top: 34px; }
.qt-finish-rows { list-style: none; padding: 0; margin: 0; }
.qt-frow { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr) 36px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--bella-line); }
.qt-frow:first-child { border-top: 1px solid var(--bella-line); }
.qt-form .qt-frow input, .qt-form .qt-frow select { height: 44px; font-size: 15px; }
.qt-frow .qt-f-species[hidden] { display: block !important; visibility: hidden; }
.qt-files-total { font-size: 14px; color: #5f5f66; margin-top: 8px; }
.qt-files-total.is-over { color: #b23b32; font-weight: 600; }

/* caixas de selecao */
.qt-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.qt-checks.is-one { grid-template-columns: 1fr; }
.qt-checks label { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-size: 16px; color: var(--bella-ink); }
.qt-checks input { width: 19px; height: 19px; accent-color: var(--bella-ink); flex: 0 0 auto; }

/* --- lista de armarios --- */
.qt-list { border: 1px solid var(--bella-line); padding: 18px 20px; margin-bottom: 14px; background: #faf9f6; }
.qt-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.qt-list-head .qt-label { margin-bottom: 4px; }
.qt-list-head a { font-size: 14px; white-space: nowrap; }
.qt-rows { list-style: none; padding: 0; margin: 0; }
/* linha: foto | tipo | medida | qtd | x  /  observacoes embaixo */
.qt-row { display: grid; grid-template-columns: 64px minmax(0, 1.7fr) minmax(0, 1fr) 72px 36px; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--bella-line); }
.qt-row .qt-row-img { grid-row: span 2; align-self: start; }
.qt-row .qt-row-note { grid-column: 2 / 5; }
.qt-row .qt-row-del { grid-row: 1; grid-column: 5; }
.qt-row:first-child { margin-top: 10px; border-top: 1px solid var(--bella-line); }
.qt-row-img { width: 64px; height: 64px; background: #fff; border: 1px solid var(--bella-line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qt-row-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.qt-form .qt-row select, .qt-form .qt-row input { height: 44px; font-size: 15px; }
.qt-row-del { width: 36px; height: 36px; border: 1px solid var(--bella-line); background: #fff; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--bella-ink); }
.qt-row-del:hover { background: var(--bella-ink); color: #fff; }
.qt-add { margin-top: 14px; border: 1px dashed rgba(38, 37, 44, .45); background: #fff; padding: 10px 18px; font-weight: 600; color: var(--bella-ink); font-size: 15px; transition: background .2s; }
.qt-add:hover { background: var(--bella-cream); }
.qt-add:disabled { opacity: .5; cursor: not-allowed; }

/* anexos: mesmos componentes do orcamento da home, em fundo claro */
.qt-form .file-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px; border: 1px dashed rgba(38, 37, 44, .4); background: #faf9f6; cursor: pointer; text-align: center; color: var(--bella-ink); margin: 0; }
.qt-form .file-drop.is-over { background: var(--bella-cream); }
.qt-form .file-drop-hint { font-size: 13px; color: #7a7a7a; }
.qt-form .file-list { list-style: none; padding: 0; margin: 10px 0 0; }
.qt-form .file-list li { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; color: var(--bella-ink); }
.qt-form .file-list small { color: #7a7a7a; margin-left: auto; }

/* --- envio --- */
.qt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 22px 6px 6px; }
.qt-save { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--bella-ink); background: #fff; color: var(--bella-ink); padding: 12px 20px; font-weight: 600; font-size: 15px; transition: background .2s; }
.qt-save:hover { background: var(--bella-cream); }
.qt-saved { font-size: 14px; color: #4b6b4b; }
.qt-form .form-status { margin: 12px 6px 0; }
.qt-form .form-status:empty { display: none; }

@media (max-width: 991.98px) {
  .qt-side { position: static; margin-top: 30px; }
  .qt-frow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; }
  .qt-frow .qt-f-species { grid-column: 1; }
  .qt-frow .qt-f-color { grid-column: 2; }
  .qt-frow .qt-row-del { grid-row: 1; grid-column: 3; }
  .qt-frow .qt-f-species[hidden] { display: none !important; }
  .qt-frow .qt-f-species[hidden] + .qt-f-color { grid-column: 1 / 3; }
  .qt-tiles.is-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .qt-section { padding: 60px 0 80px; }
  .qt-form { padding: 8px; margin: 0 -8px; }
  .qt-panel-head button { padding: 18px 16px; font-size: 18px; }
  .qt-panel-body { padding: 4px 16px 26px; }
  .qt-block > h3 { font-size: 26px; line-height: 32px; }
  .qt-tiles, .qt-tiles.is-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .qt-tiles.is-small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .qt-tiles.is-method { grid-template-columns: 1fr 1fr; }
  .qt-checks { grid-template-columns: 1fr 1fr; }
  .qt-list { padding: 14px; }
  .qt-list-head { flex-direction: column; gap: 0; }
  .qt-row { grid-template-columns: 56px minmax(0, 1fr) 36px; }
  .qt-row .qt-row-img { grid-row: auto; width: 56px; height: 56px; }
  .qt-row .qt-row-size { grid-column: 1 / -1; }
  .qt-row .qt-row-qty { grid-column: 1; }
  .qt-row .qt-row-note { grid-column: 2 / -1; }
  .qt-row .qt-row-del { grid-row: 1; grid-column: 3; }
  .qt-actions .theme-btn, .qt-save { width: 100%; justify-content: center; }
}
