
:root{
  --bg:#f7f5f1;
  --paper:#ffffff;
  --ink:#22201d;
  --muted:#767069;
  --line:#e7e1da;
  --accent:#8b6f57;
  --accent-dark:#6b5543;
  --soft:#ede7df;
  --shadow:0 18px 50px rgba(37,29,22,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--bg);
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}

.topbar{
  background:#24211f;color:#fff;text-align:center;
  padding:9px 15px;font-size:12px;letter-spacing:.08em
}
header{
  position:sticky;top:0;z-index:30;background:rgba(247,245,241,.94);
  backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.06)
}
.nav{
  height:78px;display:flex;align-items:center;gap:30px
}
.brand{font-family:Georgia,serif;font-size:25px;letter-spacing:.08em;font-weight:700;white-space:nowrap}
.brand small{display:block;font-family:Inter,sans-serif;font-size:8px;letter-spacing:.32em;font-weight:600;color:var(--muted);margin-top:2px}
.menu{display:flex;gap:24px;align-items:center;margin-left:34px;font-size:14px}
.menu-item{position:relative;padding:28px 0}
.menu-item>a{display:flex;align-items:center;gap:6px}
.dropdown{
  position:absolute;left:-18px;top:68px;width:255px;padding:14px;background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s
}
.menu-item:hover .dropdown{opacity:1;visibility:visible;transform:none}
.dropdown button{
  display:block;width:100%;border:0;background:none;text-align:left;padding:11px 12px;border-radius:9px;cursor:pointer;color:#37312c
}
.dropdown button:hover{background:var(--soft)}
.nav-actions{margin-left:auto;display:flex;gap:10px}
.icon-btn{
  width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:50%;
  display:grid;place-items:center;cursor:pointer
}
.mobile-menu{display:none}

.hero{padding:56px 0 40px}
.hero-box{
  min-height:495px;border-radius:30px;background:#ddd0c2;overflow:hidden;position:relative;
  display:grid;grid-template-columns:1.08fr .92fr;align-items:center;padding:58px 62px
}
.hero-copy{position:relative;z-index:2;max-width:590px}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:700;color:#715e4f;margin-bottom:17px}
h1{font-family:Georgia,serif;font-size:clamp(46px,6vw,76px);line-height:.95;margin:0 0 22px;font-weight:500}
.hero p{font-size:17px;line-height:1.65;color:#5c5047;max-width:520px}
.hero-actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.btn{
  border:0;border-radius:999px;padding:14px 22px;cursor:pointer;font-weight:700;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center
}
.btn-dark{background:#24211f;color:white}
.btn-light{background:rgba(255,255,255,.72);color:#292421}
.hero-art{height:100%;position:relative}
.hero-art img{position:absolute;object-fit:contain;filter:drop-shadow(0 22px 22px rgba(0,0,0,.10))}
.hero-art img:first-child{width:66%;height:72%;right:24%;bottom:3%}
.hero-art img:last-child{width:42%;height:46%;right:1%;top:5%;transform:rotate(3deg)}
.hero-circle{position:absolute;width:330px;height:330px;border-radius:50%;background:rgba(255,255,255,.35);right:8%;top:12%}

.categories{padding:20px 0 54px}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.section-title h2{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:0}
.section-title p{margin:0;color:var(--muted);font-size:14px}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cat-card{
  min-height:145px;border-radius:18px;background:#fff;border:1px solid var(--line);padding:20px;
  display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:.2s
}
.cat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.cat-card span{font-size:12px;color:var(--muted)}
.cat-card strong{font-family:Georgia,serif;font-size:22px;font-weight:500}
.cat-arrow{font-size:20px}

.catalogue{padding:56px 0 86px;background:#fff}
.toolbar{display:flex;gap:14px;align-items:center;margin:24px 0 28px;flex-wrap:wrap}
.search-wrap{position:relative;flex:1;min-width:220px}
.search-wrap input{
  width:100%;height:48px;border:1px solid var(--line);border-radius:999px;padding:0 46px 0 18px;outline:none;background:#faf9f7
}
.search-wrap input:focus{border-color:#bca792;background:#fff}
.search-icon{position:absolute;right:17px;top:14px;color:var(--muted)}
.filter-label{font-size:13px;color:var(--muted)}
.active-filter{font-size:13px;font-weight:700;padding:10px 14px;background:var(--soft);border-radius:999px}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:24px 18px}
.card{position:relative}
.card-image{
  height:310px;border-radius:18px;background:#f6f4f1;overflow:hidden;display:grid;place-items:center;border:1px solid #eee9e4
}
.card-image img{width:100%;height:100%;object-fit:contain;transition:transform .35s}
.card:hover .card-image img{transform:scale(1.035)}
.badge{
  position:absolute;left:12px;top:12px;background:rgba(255,255,255,.9);backdrop-filter:blur(6px);
  padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.04em
}
.card-body{padding:15px 3px 4px}
.card h3{font-family:Georgia,serif;font-size:20px;font-weight:500;margin:0 0 5px}
.ref{font-size:11px;color:#9a928b;letter-spacing:.08em;margin-bottom:9px}
.desc{font-size:13px;line-height:1.5;color:var(--muted);min-height:40px}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}
.price{font-weight:800;font-size:13px}
.details{border:0;background:none;cursor:pointer;font-weight:800;font-size:12px;border-bottom:1px solid #444;padding:0 0 2px}

.info-strip{background:#24211f;color:white;padding:28px 0}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.info-item strong{display:block;font-family:Georgia,serif;font-size:18px;margin-bottom:6px}
.info-item span{font-size:12px;color:#c8c0ba;line-height:1.5}

footer{padding:50px 0;background:#171513;color:#d9d2cd}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:50px}
footer .brand{color:#fff}
footer p,footer a{font-size:12px;color:#99918b;line-height:1.7}
footer h4{font-size:12px;text-transform:uppercase;letter-spacing:.13em;color:#fff;margin:0 0 14px}
.foot-note{border-top:1px solid #2d2926;margin-top:35px;padding-top:18px;font-size:11px;color:#726b66}

.modal{
  position:fixed;inset:0;background:rgba(20,17,15,.55);z-index:50;display:none;place-items:center;padding:25px
}
.modal.open{display:grid}
.modal-card{
  width:min(860px,100%);background:#fff;border-radius:24px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;
  box-shadow:0 35px 80px rgba(0,0,0,.3);position:relative
}
.modal-image{background:#f7f5f2;min-height:460px;display:grid;place-items:center}
.modal-image img{width:100%;height:100%;object-fit:contain}
.modal-copy{padding:48px 42px}
.modal-copy h3{font-family:Georgia,serif;font-size:34px;font-weight:500;margin:10px 0}
.modal-copy p{color:var(--muted);line-height:1.65;font-size:14px}
.close{
  position:absolute;right:16px;top:16px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;cursor:pointer;
  box-shadow:0 4px 16px rgba(0,0,0,.08);font-size:20px
}
.empty{grid-column:1/-1;text-align:center;padding:70px 20px;color:var(--muted)}

@media(max-width:950px){
  .menu{display:none}.mobile-menu{display:grid}
  .hero-box{grid-template-columns:1fr;min-height:650px;padding:45px 34px}
  .hero-art{min-height:310px}
  .hero-art img:first-child{width:54%;height:80%;right:38%;bottom:-4%}
  .hero-art img:last-child{width:38%;height:55%;right:5%;top:10%}
  .products{grid-template-columns:repeat(2,1fr)}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .container{width:min(100% - 24px,1180px)}
  .nav{height:66px}.brand{font-size:20px}.nav-actions .icon-btn:first-child{display:none}
  .hero{padding-top:18px}.hero-box{border-radius:20px;padding:34px 24px;min-height:620px}
  h1{font-size:48px}
  .products{grid-template-columns:1fr 1fr;gap:18px 10px}
  .card-image{height:220px}.card h3{font-size:17px}.desc{display:none}
  .cat-grid{grid-template-columns:1fr 1fr;gap:10px}.cat-card{min-height:120px;padding:16px}
  .section-title h2{font-size:31px}.section-title p{display:none}
  .info-grid,.footer-grid{grid-template-columns:1fr}
  .modal-card{grid-template-columns:1fr;max-height:90vh;overflow:auto}.modal-image{min-height:300px}.modal-copy{padding:28px}
}


/* Menus extensos: Escritório e Bancos Altos */
.dropdown-wide{
  width:300px;
  max-height:72vh;
  overflow-y:auto;
}
.dropdown-heading{
  margin:10px 10px 5px;
  padding:9px 4px 7px;
  border-bottom:1px solid var(--line);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:var(--accent-dark);
}
.dropdown-heading:first-child{margin-top:2px}
.dropdown-link{
  display:block;
  padding:10px 12px;
  border-radius:9px;
  color:#37312c;
  font-size:13px;
  line-height:1.25;
}
.dropdown-link:hover{background:var(--soft)}

/* Famílias adicionais */
.category-family{padding-top:50px}
.alt-family{background:#efe9e2;padding-bottom:58px}
.compact-grid{grid-template-columns:repeat(4,1fr)}
.compact-grid .cat-card{min-height:125px}
.compact-grid .cat-card strong{font-size:18px}
@media(max-width:950px){.compact-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.compact-grid{grid-template-columns:1fr 1fr}.compact-grid .cat-card strong{font-size:15px}}

/* v8 — Hero: mostrar a cadeira principal completa, sem cortes */
.hero-art{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-art img:first-child{
  width:72%;
  height:88%;
  right:20%;
  bottom:2%;
  object-fit:contain;
  object-position:center;
}
.hero-art img:last-child{
  width:34%;
  height:40%;
  right:0;
  top:7%;
  object-fit:contain;
}
@media(max-width:950px){
  .hero-art img:first-child{width:62%;height:88%;right:32%;bottom:0}
  .hero-art img:last-child{width:32%;height:44%;right:3%;top:8%}
}
@media(max-width:620px){
  .hero-art img:first-child{width:68%;height:86%;right:28%;bottom:0}
  .hero-art img:last-child{width:30%;height:40%;right:2%;top:8%}
}

/* v9 — Hero corrigido: texto e fotografias ficam totalmente dentro do bloco */
@media(min-width:951px){
  .hero-box{
    min-height:560px;
    grid-template-columns:minmax(0,1fr) minmax(430px,.95fr);
    column-gap:34px;
    padding:58px 58px 52px 62px;
  }
  .hero-copy{
    max-width:520px;
    min-width:0;
  }
  .hero-copy h1{
    font-size:clamp(48px,4.15vw,64px);
    line-height:1.02;
    overflow-wrap:normal;
  }
  .hero-copy p{max-width:500px}
  .hero-art{
    min-width:0;
    width:100%;
    height:440px;
    align-self:center;
    overflow:visible;
  }
  .hero-art img:first-child{
    width:72%;
    height:92%;
    right:23%;
    bottom:0;
    object-fit:contain;
    object-position:center bottom;
  }
  .hero-art img:last-child{
    width:34%;
    height:44%;
    right:0;
    top:4%;
    object-fit:contain;
    object-position:center;
  }
  .hero-circle{
    width:300px;
    height:300px;
    right:6%;
    top:13%;
  }
}

@media(min-width:951px) and (max-width:1180px){
  .hero-box{padding-left:46px;padding-right:42px;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr)}
  .hero-copy h1{font-size:52px}
  .hero-copy p{font-size:16px}
}


/* v10 — correção definitiva do hero.
   As imagens passam a ter classes próprias. O seletor antigo img:first-child
   não atingia a cadeira principal porque o primeiro elemento é .hero-circle. */
@media (min-width:951px){
  .hero-box{
    min-height:560px;
    grid-template-columns:minmax(0, 47%) minmax(0, 53%);
    gap:0;
    padding:54px 0 54px 58px;
  }
  .hero-copy{
    width:100%;
    max-width:none;
    min-width:0;
    padding-right:34px;
  }
  .hero-copy h1{
    width:100%;
    max-width:100%;
    font-size:clamp(44px, 4.2vw, 58px);
    line-height:1.04;
    overflow-wrap:break-word;
    word-break:normal;
  }
  .hero-copy p{
    width:100%;
    max-width:470px;
    font-size:16px;
  }
  .hero-art{
    position:relative;
    width:100%;
    height:452px;
    min-width:0;
    overflow:hidden;
    display:block;
    background:rgba(255,255,255,.88);
    border-radius:0 24px 24px 0;
  }
  .hero-art .hero-main-chair{
    position:absolute;
    display:block;
    width:auto;
    height:88%;
    max-width:72%;
    max-height:88%;
    left:9%;
    right:auto;
    top:6%;
    bottom:auto;
    object-fit:contain;
    object-position:center;
    transform:none;
  }
  .hero-art .hero-small-chair{
    position:absolute;
    display:block;
    width:auto;
    height:38%;
    max-width:34%;
    max-height:38%;
    right:6%;
    top:7%;
    bottom:auto;
    object-fit:contain;
    object-position:center;
    transform:rotate(3deg);
    z-index:3;
  }
  .hero-circle{z-index:0}
  .hero-art .hero-main-chair{z-index:1}
}

@media (min-width:951px) and (max-width:1180px){
  .hero-box{
    grid-template-columns:minmax(0,46%) minmax(0,54%);
    padding-left:44px;
  }
  .hero-copy{padding-right:28px}
  .hero-copy h1{font-size:clamp(42px,4.4vw,52px)}
  .hero-art .hero-main-chair{height:84%;max-height:84%;max-width:70%;left:10%;top:8%}
  .hero-art .hero-small-chair{height:34%;max-height:34%;max-width:31%;right:5%;top:9%}
}

@media (max-width:950px){
  .hero-art .hero-main-chair{
    position:absolute;
    width:auto;
    height:82%;
    max-width:68%;
    max-height:82%;
    left:10%;
    right:auto;
    top:9%;
    bottom:auto;
    object-fit:contain;
    transform:none;
  }
  .hero-art .hero-small-chair{
    position:absolute;
    width:auto;
    height:38%;
    max-width:34%;
    max-height:38%;
    right:5%;
    top:9%;
    object-fit:contain;
  }
}

/* v12 — categorias Sofás, Sala e Quarto com fotografias reais */
.home-room-categories{padding:34px 0 56px}
.room-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.room-category-card{position:relative;display:block;min-height:320px;border-radius:24px;overflow:hidden;background:#eee7df;box-shadow:0 8px 28px rgba(34,29,25,.08)}
.room-category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s ease}
.room-category-card:hover img{transform:scale(1.025)}
.room-category-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(24,20,17,.68) 0%,rgba(24,20,17,.12) 48%,rgba(24,20,17,0) 72%)}
.room-category-overlay{position:absolute;z-index:2;left:24px;right:24px;bottom:22px;color:#fff;display:flex;flex-direction:column;gap:3px}
.room-category-overlay span{font-size:12px;letter-spacing:.05em;opacity:.88}
.room-category-overlay strong{font-family:Georgia,serif;font-size:31px;font-weight:500}
@media(max-width:950px){.room-category-grid{grid-template-columns:1fr 1fr}.room-category-card:last-child{grid-column:1/-1}}
@media(max-width:620px){.room-category-grid{grid-template-columns:1fr}.room-category-card,.room-category-card:last-child{grid-column:auto;min-height:260px}}


/* v13 — seis famílias com a mesma estrutura visual */
.menu{gap:16px;margin-left:24px;font-size:13px}
.dropdown-right{left:auto;right:-18px}
.family-section{padding:56px 0}
.family-alt{background:#efe9e2}
.family-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.family-card{display:block;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:.2s;box-shadow:0 8px 28px rgba(37,29,22,.04)}
.family-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.family-card img{display:block;width:100%;height:210px;object-fit:contain;background:#f8f6f3;padding:10px}
.family-card>div{padding:16px 18px 18px;display:flex;flex-direction:column;gap:4px}
.family-card span{font-size:12px;color:var(--muted)}
.family-card strong{font-family:Georgia,serif;font-size:22px;font-weight:500}
@media(max-width:1180px){.menu{gap:11px;margin-left:14px;font-size:12px}.brand{font-size:22px}}
@media(max-width:950px){.family-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.family-section{padding:38px 0}.family-grid{grid-template-columns:1fr 1fr;gap:10px}.family-card img{height:155px}.family-card>div{padding:12px}.family-card strong{font-size:17px}}


/* v14 — Comprar e carrinho */
.cart-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;cursor:pointer;font:inherit;color:var(--text);white-space:nowrap}
.cart-btn:hover{background:#f5f1ec}.cart-icon{font-size:16px}.cart-text{font-size:12px}.cart-count{min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#221f1c;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}
.product-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.buy{border:0;background:#221f1c;color:#fff;border-radius:999px;padding:10px 15px;cursor:pointer;font-weight:700}.buy:hover{opacity:.86}
.card-foot{align-items:center;gap:12px}.details{white-space:nowrap}
.cart-overlay{position:fixed;inset:0;background:rgba(24,20,17,.42);z-index:1998;opacity:0;visibility:hidden;transition:.25s}.cart-overlay.open{opacity:1;visibility:visible}
.cart-drawer{position:fixed;z-index:1999;top:0;right:0;width:min(480px,94vw);height:100vh;background:#fff;box-shadow:-20px 0 60px rgba(31,26,22,.2);transform:translateX(105%);transition:transform .3s ease;display:flex;flex-direction:column}.cart-drawer.open{transform:translateX(0)}
.cart-head{display:flex;justify-content:space-between;align-items:center;padding:25px 24px 18px;border-bottom:1px solid var(--line)}.cart-head h3{font-family:Georgia,serif;font-size:30px;margin:2px 0 0}.cart-close{border:0;background:#f3eee8;width:38px;height:38px;border-radius:50%;font-size:27px;line-height:1;cursor:pointer}
.cart-items{padding:8px 22px;overflow:auto;flex:1}.cart-empty{padding:38px 24px;color:var(--muted);text-align:center}.cart-item{display:grid;grid-template-columns:82px 1fr auto;gap:13px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}.cart-item img{width:82px;height:82px;object-fit:contain;background:#f7f4f0;border-radius:12px}.cart-item-info{display:flex;flex-direction:column;gap:4px;min-width:0}.cart-item-info>strong{font-size:14px}.cart-item-info>span{font-size:10px;color:var(--muted)}.cart-item-price{font-weight:700;font-size:13px}.cart-subtotal{font-size:13px;white-space:nowrap}
.qty-control{display:flex;gap:6px;align-items:center;margin-top:5px;flex-wrap:wrap}.qty-control button{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:28px;height:28px;cursor:pointer}.qty-control span{min-width:20px;text-align:center}.qty-control .remove-item{border:0;background:transparent;color:var(--muted);font-size:11px;padding:0 5px;width:auto}.qty-control .remove-item:hover{text-decoration:underline}
.cart-summary{border-top:1px solid var(--line);padding:20px 24px 24px;background:#faf8f5}.cart-total-row{display:flex;justify-content:space-between;align-items:center;font-size:17px;margin-bottom:16px}.cart-total-row strong{font-size:21px}.cart-checkout{width:100%}.cart-clear{width:100%;border:0;background:transparent;margin-top:10px;cursor:pointer;color:var(--muted);text-decoration:underline}.cart-note{font-size:11px;color:var(--muted);line-height:1.45;text-align:center;margin:12px 0 0}.cart-open{overflow:hidden}
@media(max-width:1180px){.cart-text{display:none}.cart-btn{padding:8px}.cart-item{grid-template-columns:70px 1fr}.cart-subtotal{grid-column:2}}
@media(max-width:620px){.product-actions{width:100%}.product-actions .details,.product-actions .buy{flex:1}.card-foot{align-items:flex-start;flex-direction:column}.cart-drawer{width:100vw}.cart-item{grid-template-columns:66px 1fr}.cart-item img{width:66px;height:66px}}


/* v20 — checkout simples sem base de dados */
.checkout-modal,.order-confirm{position:fixed;inset:0;z-index:2100;background:rgba(24,20,17,.55);display:flex;align-items:center;justify-content:center;padding:22px;opacity:0;visibility:hidden;transition:.2s}
.checkout-modal.open,.order-confirm.open{opacity:1;visibility:visible}
.checkout-panel{position:relative;background:#fff;width:min(760px,96vw);max-height:92vh;overflow:auto;border-radius:24px;padding:34px;box-shadow:0 30px 90px rgba(20,16,13,.25)}
.checkout-panel h2,.order-confirm-box h2{font-family:Georgia,serif;font-size:36px;font-weight:500;margin:5px 0 10px}
.checkout-intro,.checkout-help{color:var(--muted);line-height:1.5}.checkout-help{font-size:12px;text-align:center;margin:12px 0 0}
.checkout-close{position:absolute;right:18px;top:18px;border:0;background:#f3eee8;width:38px;height:38px;border-radius:50%;font-size:26px;cursor:pointer}
.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}
.checkout-grid label{font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:7px}.checkout-grid .full{grid-column:1/-1}
.checkout-grid input,.checkout-grid textarea{font:inherit;font-weight:400;border:1px solid var(--line);border-radius:11px;padding:12px 13px;background:#fff;outline:none}.checkout-grid input:focus,.checkout-grid textarea:focus{border-color:#8e7d6b}
.checkout-order{background:#f8f5f1;border-radius:15px;padding:15px 17px;margin:10px 0 18px}.checkout-order>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:13px;border-bottom:1px solid #e9e1d9}.checkout-order>div:last-child{border:0}.checkout-order .checkout-total{font-size:17px;padding-top:12px}
.checkout-submit{width:100%}
.order-confirm-box{background:#fff;width:min(520px,94vw);border-radius:24px;padding:38px;text-align:center;box-shadow:0 30px 90px rgba(20,16,13,.25)}.order-confirm-box .btn{margin:8px 4px}
@media(max-width:620px){.checkout-panel{padding:26px 18px}.checkout-grid{grid-template-columns:1fr}.checkout-grid .full{grid-column:auto}.checkout-panel h2{font-size:30px}}

/* v21 — envio do pedido e MB WAY */
.mbway-box{background:#f5f1eb;border:1px solid var(--line);border-radius:14px;padding:16px;margin:18px 0;display:flex;flex-direction:column;gap:5px}
.mbway-box strong{font-size:16px}.mbway-box span{font-size:14px}.mbway-box small{color:var(--muted);line-height:1.4}
.send-note{font-size:13px;color:var(--muted);margin:16px 0 8px}
.btn-whatsapp{background:#20251f;color:#fff;text-decoration:none}
.order-confirm-box a.btn{display:inline-block}

/* v23 — rodapé e informação legal */
.footer a{color:inherit;text-decoration:none}.footer a:hover{text-decoration:underline}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:50px}.footer-grid>div:last-child{display:flex;flex-direction:column;gap:9px}
.footer-brand{font-family:Georgia,serif;font-size:24px;letter-spacing:.08em;margin-bottom:8px}.footer-bottom{margin-top:28px;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);font-size:12px}
.legal-pages{padding-top:60px;padding-bottom:70px}.legal-pages article{scroll-margin-top:110px;max-width:900px;margin:0 auto 42px;padding-bottom:30px;border-bottom:1px solid var(--line)}.legal-pages h2{font-family:Georgia,serif;font-weight:500;font-size:30px}.legal-pages p{color:var(--muted);line-height:1.7}.legal-pages a{color:inherit;text-decoration:underline}
@media(max-width:700px){.footer-grid{grid-template-columns:1fr;gap:28px}}

/* v25 — landing pages */
.lp-body{background:#fbfaf8}.lp-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid #e8e1d9}.lp-nav{max-width:1200px;margin:auto;padding:16px 24px;display:flex;align-items:center;gap:24px}.lp-logo{font-family:Georgia,serif;font-size:25px;letter-spacing:.08em;text-decoration:none;color:#222}.lp-navlinks{display:flex;gap:18px;flex-wrap:wrap;margin-left:auto}.lp-navlinks a{color:#3e3934;text-decoration:none;font-size:13px}.lp-hero{max-width:1200px;margin:30px auto 0;min-height:410px;border-radius:26px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;background:#eee7df}.lp-copy{padding:58px;display:flex;flex-direction:column;justify-content:center}.lp-copy .eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase}.lp-copy h1{font-family:Georgia,serif;font-weight:500;font-size:58px;margin:12px 0}.lp-copy p{font-size:17px;line-height:1.7;color:#665f58}.lp-hero img{width:100%;height:100%;object-fit:cover;min-height:410px}.lp-products{max-width:1200px;margin:55px auto;padding:0 24px}.lp-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:25px}.lp-toolbar h2{font-family:Georgia,serif;font-weight:500;font-size:36px;margin:0}.lp-search{width:min(360px,100%);padding:12px 15px;border:1px solid #dcd3ca;border-radius:30px;font:inherit}.lp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.lp-card{background:#fff;border:1px solid #ece5de;border-radius:17px;overflow:hidden;box-shadow:0 8px 28px rgba(40,30,20,.04)}.lp-card img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f6f3ef}.lp-card-info{padding:16px}.lp-tag{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#8b7b6c}.lp-card h3{font-family:Georgia,serif;font-weight:500;margin:7px 0}.lp-ref{font-size:11px;color:#8b8178}.lp-price{font-size:18px;font-weight:700;margin-top:12px}.lp-empty{grid-column:1/-1;padding:45px;text-align:center;color:#777}.lp-footer{margin-top:70px;background:#25221f;color:#eee;padding:35px 24px}.lp-footer>div{max-width:1200px;margin:auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.lp-footer a{color:inherit}@media(max-width:900px){.lp-grid{grid-template-columns:repeat(2,1fr)}.lp-hero{grid-template-columns:1fr}.lp-copy h1{font-size:45px}.lp-navlinks{display:none}}@media(max-width:560px){.lp-grid{grid-template-columns:1fr}.lp-copy{padding:35px 25px}.lp-toolbar{align-items:stretch;flex-direction:column}}

/* v27 — navegação das landing pages */
.landing-back-wrap{max-width:1200px;margin:18px auto 0;padding:0 24px}
.landing-back{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none;font-size:13px;font-weight:600}
.landing-back:hover{text-decoration:underline}
.brand-home-link{color:inherit;text-decoration:none}

/* v28 — carrinho nas landing pages */
.landing-cart-button{margin-left:auto}
@media(max-width:760px){.landing-cart-button{margin:8px 12px}}

/* v29 — carrinho e compra completos nas landing pages */
.lp-header{display:flex;align-items:center;padding-right:max(24px,calc((100vw - 1200px)/2 + 24px))}
.lp-header .lp-nav{width:100%;margin:0 auto}
.lp-header .landing-cart-button{flex:0 0 auto;margin-left:12px}
.lp-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.lp-card-bottom .lp-price{margin-top:0}
.lp-buy{padding:9px 16px}
@media(max-width:900px){.lp-header{padding-right:12px}.lp-header .landing-cart-button{margin-left:4px}}

/* v31 — páginas legais independentes */
.legal-header{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:50}
.legal-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.legal-brand{font-family:Georgia,serif;font-size:23px;letter-spacing:.12em;color:inherit;text-decoration:none}
.legal-page{max-width:900px;padding-top:58px;padding-bottom:80px}
.legal-page article{background:#fff}
.legal-page h2{font-family:Georgia,serif;font-weight:500;font-size:38px;margin:0 0 25px}
.legal-page p{color:var(--muted);line-height:1.75;margin:0 0 16px}
.legal-page a{color:inherit;text-decoration:underline}

/* Checkout Domelar v36 */
.checkout-consents {margin:18px 0;display:grid;gap:12px;font-size:14px;}
.checkout-consents label {display:flex;align-items:flex-start;gap:9px;flex-wrap:wrap;}
.checkout-consents input[type="checkbox"] {width:18px;height:18px;flex:0 0 18px;margin:2px 0;}
.checkout-consents p,.checkout-grid small {font-size:12px;color:#666;}
.checkout-honeypot {position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
#checkoutEstado {font-size:14px;white-space:pre-line;}
#checkoutEstado.error {color:#a32323;}
.checkout-submit:disabled {opacity:.6;cursor:wait;}

#escolhasServicos select {width:100%;padding:12px;border:1px solid #ccc;border-radius:8px;background:white;color:#222;font:inherit;}
#escolhasServicos [hidden]{display:none;}

.pickup-note{font-weight:600;color:#704a22;margin:10px 0;}
#cartTransportes{padding:12px 0;font-size:14px;line-height:1.6;}

.lp-search-wrap{display:flex;align-items:center;position:relative;max-width:100%;}.lp-search-wrap input{padding-right:48px;max-width:100%;}.lp-search-button{position:absolute;right:6px;border:0;background:transparent;padding:8px;cursor:pointer;display:flex;align-items:center;}.global-search-link{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:inherit;margin-right:12px;}.fulfilment-note{font-size:12px;font-weight:600;}

.pickup-alert{display:block!important;background:#f0eae1;color:#574633!important;border:0;border-radius:8px;padding:8px 12px;margin:10px 0;font-size:13px!important;font-weight:500!important;line-height:1.5;white-space:normal;}.pickup-alert[hidden]{display:none!important;}

.availability-note{font-size:12px;color:#655c50;line-height:1.4;margin:8px 0}.buy:disabled{opacity:.55;cursor:not-allowed}

/* Navegação móvel: menu e subcategorias acessíveis por toque. */
@media (max-width:950px) {
  header .mobile-menu { display:grid; flex:0 0 42px; font-size:23px; }
  .menu.mobile-open, .lp-navlinks.mobile-open {
    display:block; position:absolute; top:100%; left:0; right:0;
    margin:0; padding:12px 18px; background:#fff;
    border-bottom:1px solid var(--line); box-shadow:0 12px 24px rgba(0,0,0,.12);
    max-height:calc(100dvh - 90px); overflow-y:auto; overscroll-behavior:contain;
    font-size:15px; z-index:60;
  }
  .menu.mobile-open .menu-item { padding:0; border-bottom:1px solid var(--line); }
  .menu.mobile-open .menu-item > a, .lp-navlinks.mobile-open > a {
    display:flex; justify-content:space-between; align-items:center;
    min-height:48px; padding:12px 8px;
  }
  .menu.mobile-open .dropdown {
    display:none; position:static; width:100%; padding:0 8px 10px;
    border:0; box-shadow:none; border-radius:0; opacity:1; visibility:visible;
    transform:none; transition:none;
  }
  .menu.mobile-open .submenu-open .dropdown { display:block; }
  .menu.mobile-open .dropdown a { display:block; min-height:44px; padding:12px; }
  .lp-header { gap:6px; padding-right:12px; }
  .lp-header .lp-nav { min-width:0; width:auto; flex:1; padding:12px; }
  .lp-header .lp-navlinks { display:none; }
  .lp-header .lp-navlinks.mobile-open { display:block; }
  .lp-header .landing-cart-button { margin:0; }
  .lp-header .global-search-link { flex-shrink:0; }
}

/* V49 — destaque para todos os ambientes da Domelar. */
.hero .hero-box.hero-home { grid-template-columns:minmax(0,40%) minmax(0,60%); min-height:510px; padding:32px; gap:24px; }
.hero-home .hero-copy { padding:12px 8px; min-width:0; }
.hero-home .hero-copy h1 { font-size:clamp(38px,3.8vw,57px); line-height:1.06; }
.hero-home .hero-copy p { font-size:16px; }
.hero-environments { position:relative; align-self:stretch; min-width:0; overflow:hidden; border-radius:22px; }
.hero-environments > img { display:block; width:100%; height:100%; min-height:440px; object-fit:cover; }
.hero-environment-links { display:grid; grid-template-columns:repeat(3,1fr); position:absolute; inset:0; }
.hero-environment-links a { display:flex; align-items:flex-end; justify-content:center; padding:24px 8px; color:white; font-family:Georgia,serif; font-size:22px; text-shadow:0 1px 5px #000; background:linear-gradient(transparent 75%,rgba(0,0,0,.25)); }
.hero-environment-links a:hover { background:linear-gradient(transparent 65%,rgba(0,0,0,.4)); }
.hero-environment-links a:focus-visible { outline:3px solid #fff; outline-offset:-5px; }
.environment-section { padding:0 0 38px; scroll-margin-top:100px; }
.environment-section h2 { font-family:Georgia,serif; font-size:clamp(30px,3.5vw,44px); font-weight:500; margin:8px 0 20px; }
.environment-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.environment-card { min-height:220px; border-radius:20px; display:flex; align-items:flex-end; justify-content:space-between; overflow:hidden; padding:22px; color:#fff; font-family:Georgia,serif; font-size:25px; text-shadow:0 1px 5px #000; background-image:linear-gradient(transparent 55%,rgba(0,0,0,.35)),url('imagens/domelar-ambientes.webp'); background-size:100% 100%,300% auto; background-repeat:no-repeat; }
.environment-living { background-position:center,left 55%; }
.environment-bedroom { background-position:center,center 55%; }
.environment-office { background-position:center,right 55%; }
.environment-card span:last-child { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#fff; color:#24211f; text-shadow:none; font-family:Arial,sans-serif; font-size:22px; }
.environment-card:hover { box-shadow:0 8px 22px rgba(0,0,0,.14); }
@media(max-width:950px) {
 .hero .hero-box.hero-home { grid-template-columns:1fr; padding:26px; gap:22px; min-height:0; }
 .hero-home .hero-copy { padding:4px; }
 .hero-home .hero-copy h1 { font-size:clamp(38px,6vw,54px); }
 .hero-environments > img { height:auto; min-height:0; aspect-ratio:3/2; object-fit:cover; }
 .environment-card { min-height:190px; padding:16px; font-size:22px; }
}
@media(max-width:620px) {
 .hero .hero-box.hero-home { padding:22px 18px 18px; border-radius:22px; }
 .hero-home .hero-copy h1 { font-size:clamp(32px,8.5vw,44px); }
 .hero-home .hero-copy p { font-size:15px; }
 .hero-home .hero-actions { gap:8px; margin-top:22px; }
 .hero-home .hero-actions .btn { padding:13px 16px; }
 .hero-environments { border-radius:15px; }
 .hero-environment-links a { padding:14px 3px; font-size:17px; }
 .environment-grid { grid-template-columns:1fr; gap:14px; }
 .environment-card { min-height:220px; background-size:100% 100%,300% auto; }
}

/* Pedido de disponibilidade e proposta de montagem. */
.availability-dialog{width:min(460px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #ddd0c2;border-radius:22px;padding:28px;color:#292421;background:#fff;box-sizing:border-box;}
.availability-dialog::backdrop{background:rgba(0,0,0,.48)}
.availability-dialog h2{font-family:Georgia,serif;font-weight:500;font-size:30px;margin:0 32px 12px 0}
.availability-close{position:absolute;right:14px;top:12px;border:0;background:none;font-size:28px;cursor:pointer;min-width:40px;min-height:40px}
.availability-dialog form,.availability-dialog label{display:grid;gap:8px}
.availability-dialog form{gap:16px}.availability-dialog input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #ccc;border-radius:9px;font:inherit}
.availability-help{font-size:12px;line-height:1.55;color:#665f58;margin:0}.availability-help a{text-decoration:underline}
.checkout-grid .assembly-choice{display:flex;align-items:flex-start;gap:10px;cursor:pointer;padding:16px;background:#f5f0e9;border-radius:12px}
.checkout-grid .assembly-choice input{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#292421}

.cart-assembly-choice{margin:16px 0;padding:15px;background:#eee5d9;border:1px solid #d8c7b2;border-radius:12px}.cart-assembly-choice label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:14px;font-weight:600}.cart-assembly-choice input{width:21px;height:21px;flex:0 0 21px;margin:0;accent-color:#292421}.cart-assembly-choice small{display:block;font-size:12px;line-height:1.5;margin:8px 0 0 31px}.cart-assembly-choice[hidden]{display:none}

/* Domelar v53 — cartões de categorias */
.environment-sofas {background-image:linear-gradient(transparent 55%,rgba(0,0,0,.4)),url('imagens/office-sofa-loring.png');background-size:100% 100%,cover;background-position:center;}
.environment-chairs {background-image:linear-gradient(transparent 55%,rgba(0,0,0,.4)),url('imagens/gilda-azul.jpg');background-size:100% 100%,cover;background-position:center;}
.environment-other {background-image:linear-gradient(transparent 55%,rgba(0,0,0,.4)),url('imagens/sala-movel-tv.jpg');background-size:100% 100%,cover;background-position:center;}

/* V54 — imagens completas e proporcionais nos cartões de categorias. */
.environment-sofas,.environment-chairs,.environment-other {
  background-color:#e9e2da;
  background-repeat:no-repeat,no-repeat;
  background-size:100% 100%,contain;
  background-position:center,center;
}
.environment-sofas {background-image:linear-gradient(transparent 60%,rgba(0,0,0,.55)),url('imagens/office-sofa-loring.png');}
.environment-chairs {background-image:linear-gradient(transparent 60%,rgba(0,0,0,.55)),url('imagens/gilda-azul.jpg');}
.environment-other {background-image:linear-gradient(transparent 60%,rgba(0,0,0,.55)),url('imagens/sala-movel-tv.jpg');}
@media(max-width:620px){.environment-sofas,.environment-chairs,.environment-other{background-size:100% 100%,contain;}}

/* V55: fotografia do sofá Loring do catálogo, centrada e sem cortes */
.environment-sofas { background-color:#eae1d5; background-image:linear-gradient(transparent 62%,rgba(0,0,0,.46)),url("imagens/office-sofa-loring.png"); background-size:100% 100%,contain; background-repeat:no-repeat; background-position:center; }

/* Domelar v56: categorias de outros artigos */
.lp-category-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.lp-category-filters button{border:1px solid #d7c9bc;background:#fff;color:#42382f;border-radius:24px;padding:11px 17px;font:inherit;font-size:14px;cursor:pointer}
.lp-category-filters button[aria-pressed="true"]{background:#42382f;border-color:#42382f;color:#fff}
.lp-category-filters button:focus-visible{outline:3px solid #bd9674;outline-offset:3px}
.lp-count{color:#75695d;font-size:14px;margin:0 0 18px}
#outros-categorias .family-card img{object-fit:contain;background:#f6f3ef}
@media(max-width:560px){.lp-category-filters{gap:8px}.lp-category-filters button{font-size:13px;padding:10px 13px}}

/* Domelar V60 — Métodos de pagamento */
.payment-methods{border:1px solid #d7d7d7;border-radius:12px;padding:15px;margin:14px 0;display:grid;gap:10px}
.payment-methods legend{padding:0 8px}
.payment-methods label{display:flex;align-items:flex-start;gap:9px;line-height:1.4;cursor:pointer}
.payment-methods input[type=radio]{margin-top:4px;accent-color:#ee682e}
#metodoPagamentoAjuda{background:#f5f5f5;border-radius:8px;padding:11px;font-size:.9rem;white-space:normal;margin:2px 0}
#instrucaoPagamentoTexto{display:block;margin:8px 0;overflow-wrap:anywhere}
