/* BSK Café 0.6.8 — legal pages + order confirmation. Scoped only. */

/* Legal pages */
.bsk-legal-page .bsk-page-hero{background:#f0e5d5;border-bottom:1px solid #e0d3bf}
.bsk-legal-page .bsk-page-hero__grid{min-height:230px;padding-top:42px;padding-bottom:42px}
.bsk-legal-page .bsk-page-hero h1{max-width:900px;font-size:clamp(38px,4.4vw,58px);color:#173d31}
.bsk-legal-page .bsk-page-hero p{max-width:700px;font-size:15px;color:#6d5b4d}
.bsk-legal-page .bsk-page-content{padding-top:58px;padding-bottom:78px}
.bsk-legal-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,820px);gap:clamp(42px,7vw,96px);align-items:start;justify-content:center}
.bsk-legal-summary{position:sticky;top:122px;padding:26px 0 0;border-top:1px solid #bda98d}
.bsk-legal-summary h2{font:400 31px/1.08 Georgia,'Times New Roman',serif;color:#173d31;margin:10px 0 16px}
.bsk-legal-summary>p{font:400 13px/1.75 Arial,Helvetica,sans-serif;color:#746355;margin:0 0 24px}
.bsk-legal-nav{display:grid;border-top:1px solid #e1d6c6}
.bsk-legal-nav a{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid #e1d6c6;font-size:12px;color:#4f443b;text-decoration:none}
.bsk-legal-nav a:after{content:'→';color:#173d31}
.bsk-legal-copy{font:400 15px/1.85 Arial,Helvetica,sans-serif;color:#51473f}
.bsk-legal-copy>p:first-of-type:not(.bsk-legal-updated){font-size:17px;line-height:1.8;color:#3d342e}
.bsk-legal-updated{font-size:11px!important;letter-spacing:.08em;text-transform:uppercase;color:#9a8063!important;margin:0 0 24px!important}
.bsk-legal-copy section{scroll-margin-top:130px;padding:31px 0 4px;border-top:1px solid #e0d4c4}
.bsk-legal-copy section:first-of-type{margin-top:32px}
.bsk-legal-copy h2{font:400 clamp(25px,2.5vw,34px)/1.18 Georgia,'Times New Roman',serif;color:#173d31;margin:0 0 17px;letter-spacing:-.025em}
.bsk-legal-copy p{margin:0 0 17px}
.bsk-legal-copy ul{margin:0 0 19px;padding-left:21px}
.bsk-legal-copy li{margin:0 0 8px;padding-left:4px}
.bsk-legal-copy a:not(.bsk-brand-button){color:#173d31;text-decoration:underline;text-underline-offset:3px}
.bsk-legal-contact-card{margin-top:35px!important;padding:34px!important;border:0!important;border-radius:10px;background:#efe5d6}
.bsk-legal-contact-card h2{font-size:31px;margin-top:7px}
.bsk-legal-contact-card .bsk-brand-button{display:inline-flex;margin-top:7px}

/* Order received */
.bsk-order-received-page .bsk-page-content{padding-top:44px;padding-bottom:76px}
.bsk-order-received-hero{position:relative;isolation:isolate;overflow:hidden;background:#f0e6d8;border-bottom:1px solid #dfd1bf}
.bsk-order-received-hero>.bsk-collection-art{position:absolute;inset:auto -8% -42% auto;width:72%;height:auto;color:#a8895d;opacity:.25;z-index:-1;pointer-events:none}
.bsk-order-received-hero__inner{min-height:230px;display:flex;align-items:center;justify-content:space-between;gap:36px;padding-top:38px;padding-bottom:38px}
.bsk-order-received-hero__inner>div{max-width:680px}
.bsk-order-received-hero h1{font:400 clamp(38px,4.8vw,58px)/1.02 Georgia,'Times New Roman',serif;color:#173d31;margin:8px 0 12px;letter-spacing:-.035em}
.bsk-order-received-hero p{max-width:620px;margin:0;font-size:14px;line-height:1.7;color:#655548}
.bsk-purchase-steps--done li{opacity:.52}.bsk-purchase-steps--done li[aria-current=step]{opacity:1;color:#173d31}

body.bsk-global-brand.woocommerce-order-received .woocommerce{max-width:1120px;margin:0 auto}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order{display:block}
body.bsk-global-brand.woocommerce-order-received .woocommerce-notice--success,
body.bsk-global-brand.woocommerce-order-received .woocommerce-thankyou-order-received{margin:0 0 28px!important;padding:20px 24px!important;border:1px solid #c9d8ca!important;border-left:4px solid #507a61!important;border-radius:8px!important;background:#f1f6ef!important;color:#264a36!important;font-size:14px!important;line-height:1.65!important}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 34px!important;padding:0!important;border:1px solid #dfd2c1;border-radius:10px;background:#fffaf4;overflow:hidden;list-style:none}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{float:none!important;width:auto!important;margin:0!important;padding:18px 20px!important;border:0!important;border-right:1px solid #e1d5c5!important;font-size:10px!important;line-height:1.45!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#8a735f!important}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:last-child{border-right:0!important}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li strong{display:block;margin-top:7px;font:400 16px/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#2f2925!important;overflow-wrap:anywhere}
body.bsk-global-brand.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details){margin:0 0 32px!important;padding:30px!important;border:1px solid #dfd2c1;border-radius:10px;background:#fffaf4}
body.bsk-global-brand.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details)>h2,
body.bsk-global-brand.woocommerce-order-received .woocommerce-column__title{font:400 clamp(27px,3vw,36px)/1.15 Georgia,'Times New Roman',serif!important;color:#173d31!important;margin:0 0 22px!important;letter-spacing:-.025em}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details{margin:0!important;border:0!important;background:transparent!important;border-radius:0!important}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details th,
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details td{padding:16px 10px!important;border-color:#e4d8c9!important;font-size:13px!important}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details thead th{font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#8d735c!important;font-weight:600!important}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tfoot th{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:#8d735c!important}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tfoot td{font-size:14px!important;color:#2e2823!important}
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details{display:block}
body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses{display:grid!important;grid-template-columns:1fr 1fr;gap:20px;margin:0!important}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column--billing-address,
body.bsk-global-brand.woocommerce-order-received .woocommerce-column--shipping-address{float:none!important;width:auto!important;max-width:none!important;margin:0!important;padding:24px!important;border:1px solid #e1d5c5;border-radius:8px;background:#f6eee3}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column__title{font-size:25px!important;margin-bottom:14px!important}
body.bsk-global-brand.woocommerce-order-received address{padding:0!important;border:0!important;font-style:normal!important;font-size:13px!important;line-height:1.8!important;color:#5d5046!important}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order-details a{color:#173d31!important}

/* PagBank / payment instruction boxes on checkout and confirmation */
body.bsk-global-brand.woocommerce-checkout #payment{border:1px solid #dfd2c1!important;border-radius:10px!important;background:#f3eadf!important;overflow:hidden}
body.bsk-global-brand.woocommerce-checkout #payment .payment_box{border:1px solid #ded5ca!important;border-radius:8px!important;background:#fffaf4!important;color:#4d433c!important;box-shadow:none!important}

@media(max-width:900px){
 .bsk-legal-layout{grid-template-columns:1fr;gap:32px}.bsk-legal-summary{position:static;padding-top:20px}.bsk-legal-nav{grid-template-columns:1fr 1fr;column-gap:24px}
 .bsk-order-received-hero__inner{display:block;min-height:210px}.bsk-order-received-hero .bsk-purchase-steps{margin-top:24px!important}
 body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{grid-template-columns:1fr 1fr}
 body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:nth-child(2){border-right:0!important} body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:nth-child(-n+2){border-bottom:1px solid #e1d5c5!important}
}
@media(max-width:600px){
 .bsk-legal-page .bsk-page-hero__grid{min-height:180px;padding-top:28px;padding-bottom:28px}.bsk-legal-page .bsk-page-hero h1{font-size:36px}
 .bsk-legal-page .bsk-page-content{padding-top:36px;padding-bottom:55px}.bsk-legal-nav{grid-template-columns:1fr}.bsk-legal-copy{font-size:14px;line-height:1.8}.bsk-legal-contact-card{padding:24px!important}
 .bsk-order-received-hero__inner{padding-top:30px;padding-bottom:30px}.bsk-order-received-hero h1{font-size:39px}.bsk-order-received-hero p{font-size:13px}.bsk-order-received-hero>.bsk-collection-art{width:150%;right:-55%;bottom:-10%}
 .bsk-order-received-page .bsk-page-content{padding-top:30px;padding-bottom:54px}
 body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{grid-template-columns:1fr}
 body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{border-right:0!important;border-bottom:1px solid #e1d5c5!important} body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:last-child{border-bottom:0!important}
 body.bsk-global-brand.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details){padding:20px!important}
 body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses{grid-template-columns:1fr!important}
}


/* =========================================================
   BSK Café 0.6.13 — checkout / PagBank / PIX polish
   Apenas apresentação. Não altera gateway, PIX, cartão ou lógica.
   ========================================================= */

/* Checkout: transformar o bloco de pagamento em uma área mais limpa e legível. */
body.bsk-global-brand.woocommerce-checkout #payment{
  padding:20px!important;
  border:1px solid #dfd2c1!important;
  border-radius:12px!important;
  background:#f5ede3!important;
  box-shadow:none!important;
}
body.bsk-global-brand.woocommerce-checkout #payment ul.payment_methods{
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.bsk-global-brand.woocommerce-checkout #payment ul.payment_methods>li{
  margin:0 0 10px!important;
  padding:0!important;
  border:1px solid #ded2c5!important;
  border-radius:10px!important;
  background:#fffaf4!important;
  overflow:hidden!important;
}
body.bsk-global-brand.woocommerce-checkout #payment ul.payment_methods>li:last-child{
  margin-bottom:0!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .wc_payment_method>label{
  display:flex!important;
  align-items:center!important;
  min-height:54px!important;
  gap:10px!important;
  margin:0!important;
  padding:13px 15px!important;
  color:#3f2115!important;
  font-size:15px!important;
  font-weight:600!important;
  line-height:1.35!important;
  cursor:pointer!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .wc_payment_method>label img{
  display:inline-block!important;
  width:auto!important;
  max-width:145px!important;
  max-height:32px!important;
  margin:0 0 0 8px!important;
  object-fit:contain!important;
  vertical-align:middle!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .wc_payment_method input[type=radio]{
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:0 2px 0 0!important;
  accent-color:#174b3b!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .payment_box{
  position:relative!important;
  margin:0 12px 12px!important;
  padding:15px 16px!important;
  border:1px solid #e4d8cb!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#58493f!important;
  font-size:13px!important;
  line-height:1.6!important;
  box-shadow:none!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .payment_box:before{
  display:none!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .payment_box p{
  margin:0 0 8px!important;
  font-size:13px!important;
  line-height:1.6!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .payment_box p:last-child{
  margin-bottom:0!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .form-row.place-order{
  margin:18px 0 0!important;
  padding:18px 0 0!important;
  border-top:1px solid #dfd2c1!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
body.bsk-global-brand.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper{
  margin:0 0 16px!important;
  color:#655548!important;
  font-size:12px!important;
  line-height:1.65!important;
}
body.bsk-global-brand.woocommerce-checkout #payment .woocommerce-privacy-policy-text p{
  margin:0!important;
  font-size:12px!important;
  line-height:1.65!important;
}
body.bsk-global-brand.woocommerce-checkout #payment #place_order{
  width:100%!important;
  min-height:54px!important;
  margin:0!important;
  border-radius:7px!important;
  font-size:15px!important;
  font-weight:700!important;
}

/* Confirmação / PIX: melhorar hierarquia sem interferir no conteúdo gerado pelo PagBank. */
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>p{
  max-width:820px;
  color:#5c4b40!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>h2,
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>h3{
  color:#173d31!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-weight:400!important;
  letter-spacing:-.02em!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>h2{
  margin:28px 0 12px!important;
  font-size:clamp(30px,3.5vw,46px)!important;
  line-height:1.08!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>h3{
  margin:20px 0 10px!important;
  font-size:20px!important;
  line-height:1.25!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>ol,
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>ul:not(.woocommerce-order-overview){
  max-width:820px;
  margin:12px 0 26px 22px!important;
  color:#4d433c!important;
  font-size:14px!important;
  line-height:1.8!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order img{
  max-width:100%;
  height:auto;
}
body.bsk-global-brand.woocommerce-order-received .bsk-personalization-order-notice{
  max-width:820px;
  margin:24px 0!important;
  padding:17px 19px!important;
  border:1px solid #dbc8b5!important;
  border-left:4px solid #8a6044!important;
  border-radius:9px!important;
  background:#f6eee4!important;
}

@media(max-width:600px){
  body.bsk-global-brand.woocommerce-checkout #payment{padding:14px!important}
  body.bsk-global-brand.woocommerce-checkout #payment .wc_payment_method>label{padding:12px!important;font-size:14px!important}
  body.bsk-global-brand.woocommerce-checkout #payment .payment_box{margin:0 8px 8px!important;padding:13px!important}
}


/* =========================================================
   BSK Café 0.6.14 — confirmação de pedido compacta
   Correção de diagramação sem alterar lógica de pagamento.
   ========================================================= */

body.bsk-global-brand.woocommerce-order-received .bsk-order-received-page .bsk-page-content{
  padding-top:26px!important;
  padding-bottom:44px!important;
}

body.bsk-global-brand.woocommerce-order-received .bsk-order-received-hero__inner{
  min-height:188px!important;
  padding-top:28px!important;
  padding-bottom:28px!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-received-hero h1{
  font-size:clamp(38px,4vw,52px)!important;
  margin:6px 0 8px!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-received-hero p{
  max-width:600px!important;
  line-height:1.55!important;
}

body.bsk-global-brand.woocommerce-order-received .woocommerce{
  max-width:1040px!important;
}

body.bsk-global-brand.woocommerce-order-received .woocommerce-notice--success,
body.bsk-global-brand.woocommerce-order-received .woocommerce-thankyou-order-received{
  margin:0 0 18px!important;
  padding:14px 18px!important;
  font-size:13px!important;
  line-height:1.5!important;
}

/* Resumo do pedido: 5 informações em uma única faixa no desktop. */
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
  grid-template-columns:1fr 1fr 1.55fr .8fr 1.15fr!important;
  margin:0 0 18px!important;
}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{
  padding:14px 16px!important;
  min-width:0!important;
}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li strong{
  margin-top:5px!important;
  font-size:14px!important;
}

/* Bloco PIX / gateway agrupado pelo JS. */
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation{
  margin:0 0 18px!important;
  padding:22px 24px!important;
  border:1px solid #dfd2c1!important;
  border-radius:10px!important;
  background:#fffaf4!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation>p:first-child{
  margin:0 0 10px!important;
  color:#507a3c!important;
  font-size:13px!important;
  font-weight:600!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation h2{
  margin:4px 0 12px!important;
  font:400 32px/1.08 Georgia,'Times New Roman',serif!important;
  color:#173d31!important;
  letter-spacing:-.025em!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation h3,
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation h4{
  margin:12px 0 8px!important;
  font:600 14px/1.35 Arial,Helvetica,sans-serif!important;
  color:#382d26!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation ol,
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation ul{
  margin:6px 0 14px 18px!important;
  padding:0!important;
  color:#53483f!important;
  font-size:13px!important;
  line-height:1.65!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation p{
  max-width:760px!important;
  margin:10px 0!important;
  color:#55483f!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-qr{
  display:block!important;
  width:154px!important;
  max-width:154px!important;
  height:auto!important;
  margin:12px 0 14px!important;
  padding:7px!important;
  border:1px solid #ded2c5!important;
  border-radius:8px!important;
  background:#fff!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-code-field,
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation textarea,
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation input[type="text"]{
  display:block!important;
  width:100%!important;
  max-width:760px!important;
  min-height:58px!important;
  margin:8px 0 10px!important;
  padding:10px 12px!important;
  border:1px solid #9abe88!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#365c2b!important;
  font:11px/1.45 Arial,Helvetica,sans-serif!important;
  box-shadow:none!important;
  overflow-wrap:anywhere!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-copy-button,
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation .button,
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation button{
  width:auto!important;
  min-height:38px!important;
  margin:0!important;
  padding:9px 18px!important;
  border:0!important;
  border-radius:5px!important;
  background:#174b3b!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
}

/* Detalhes do pedido: menos caixa, menos ar, mais leitura. */
body.bsk-global-brand.woocommerce-order-received .woocommerce-order-details{
  margin:0 0 18px!important;
  padding:20px 22px!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order-details>h2{
  margin:0 0 14px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid #eadfd4!important;
  font-size:29px!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details th,
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details td{
  padding:11px 8px!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details .wc-item-meta{
  margin:5px 0 0!important;
  padding:0!important;
  font-size:10px!important;
  line-height:1.45!important;
}

/* Endereços: remove o enorme vazio causado pelos pseudo-elementos do clearfix do WooCommerce. */
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details{
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses,
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details .col2-set{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:16px!important;
  align-items:start!important;
  margin:0!important;
  padding:0!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses::before,
body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses::after,
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details .col2-set::before,
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details .col2-set::after{
  content:none!important;
  display:none!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column--billing-address,
body.bsk-global-brand.woocommerce-order-received .woocommerce-column--shipping-address{
  float:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  align-self:start!important;
  margin:0!important;
  padding:18px 20px!important;
  border:1px solid #dfd2c1!important;
  border-radius:9px!important;
  background:#f6eee3!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column__title{
  margin:0 0 10px!important;
  padding:0 0 9px!important;
  border-bottom:1px solid #e4d6c7!important;
  font-size:22px!important;
}
body.bsk-global-brand.woocommerce-order-received address{
  font-size:12px!important;
  line-height:1.65!important;
}

/* Personalização mais integrada ao fluxo. */
body.bsk-global-brand.woocommerce-order-received .bsk-personalization-order-notice{
  margin:0 0 18px!important;
  padding:13px 16px!important;
  max-width:none!important;
  border-radius:8px!important;
  font-size:11px!important;
  line-height:1.5!important;
}

/* Barra final: contraste correto e altura menor. */
body.bsk-global-brand.woocommerce-order-received .bsk-order-next{
  margin-top:18px!important;
  padding:18px 20px!important;
  border-radius:9px!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next,
body.bsk-global-brand.woocommerce-order-received .bsk-order-next p,
body.bsk-global-brand.woocommerce-order-received .bsk-order-next strong,
body.bsk-global-brand.woocommerce-order-received .bsk-order-next small{
  color:#fff!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next a{
  color:#fff!important;
  border-color:rgba(255,255,255,.45)!important;
}

/* Remove margens genéricas que alongavam a página. */
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>p{
  margin-top:8px!important;
  margin-bottom:8px!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>h2,
body.bsk-global-brand.woocommerce-order-received .woocommerce-order>h3{
  margin-top:16px!important;
  margin-bottom:8px!important;
}

@media(max-width:900px){
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
    grid-template-columns:1fr 1fr!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{
    border-right:1px solid #e1d5c5!important;
    border-bottom:1px solid #e1d5c5!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:nth-child(2n){
    border-right:0!important;
  }
  body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses,
  body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details .col2-set{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:600px){
  body.bsk-global-brand.woocommerce-order-received .bsk-order-received-page .bsk-page-content{
    padding-top:20px!important;
    padding-bottom:34px!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
    grid-template-columns:1fr!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{
    border-right:0!important;
  }
  body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation{
    padding:17px!important;
  }
  body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation h2{
    font-size:27px!important;
  }
  body.bsk-global-brand.woocommerce-order-received .bsk-payment-qr{
    width:140px!important;
    max-width:140px!important;
  }
  body.bsk-global-brand.woocommerce-order-received .woocommerce-order-details{
    padding:16px!important;
  }
  body.bsk-global-brand.woocommerce-order-received .woocommerce-column--billing-address,
  body.bsk-global-brand.woocommerce-order-received .woocommerce-column--shipping-address{
    padding:16px!important;
  }
}


/* =========================================================
   BSK Café 0.6.15 — refinamento final da confirmação
   ========================================================= */

/* Mais largura útil e menos respiro morto. */
body.bsk-global-brand.woocommerce-order-received .bsk-order-received-page .bsk-page-content{
  padding-top:22px!important;
  padding-bottom:24px!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce{
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Aviso de recebimento. */
body.bsk-global-brand.woocommerce-order-received .woocommerce-notice--success,
body.bsk-global-brand.woocommerce-order-received .woocommerce-thankyou-order-received{
  max-width:none!important;
  margin:0 0 14px!important;
  padding:13px 16px!important;
  border-radius:8px!important;
  font-size:12px!important;
}

/* Resumo: conteúdo centralizado de verdade. */
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  margin:0 0 14px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:9px!important;
  background:#fffaf5!important;
}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:82px!important;
  width:auto!important;
  margin:0!important;
  padding:12px 14px!important;
  text-align:center!important;
  border:0!important;
  border-right:1px solid #e7ddd4!important;
  border-bottom:0!important;
}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:last-child{
  border-right:0!important;
}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li strong{
  display:block!important;
  width:100%!important;
  margin-top:4px!important;
  font-size:13px!important;
  line-height:1.35!important;
  text-align:center!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* PIX: card compacto e com estrutura clara. */
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation{
  position:relative!important;
  margin:0 0 14px!important;
  padding:20px!important;
  border-radius:10px!important;
  background:#fffaf5!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation>p:first-child{
  margin:0 0 4px!important;
  font-size:12px!important;
  font-weight:700!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation h2{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:3px 0 16px!important;
  font-size:30px!important;
  line-height:1.1!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-loader{
  display:inline-block!important;
  width:18px!important;
  height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  vertical-align:middle!important;
  border:0!important;
  background:transparent!important;
  filter:none!important;
}

body.bsk-global-brand.woocommerce-order-received .bsk-pix-grid{
  display:grid!important;
  grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan,
body.bsk-global-brand.woocommerce-order-received .bsk-pix-copy{
  min-width:0!important;
  padding:16px!important;
  border:1px solid #e6ddd4!important;
  border-radius:9px!important;
  background:#fff!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan{
  display:grid!important;
  justify-items:center!important;
  align-content:start!important;
  text-align:center!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan h3,
body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan h4,
body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan>strong,
body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan>p{
  margin:0 0 8px!important;
  font-size:12px!important;
  text-align:center!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan ol,
body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan ul{
  width:100%!important;
  max-width:300px!important;
  margin:0 auto 12px!important;
  padding-left:20px!important;
  text-align:left!important;
  font-size:11px!important;
  line-height:1.55!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-qr{
  display:block!important;
  width:150px!important;
  max-width:150px!important;
  height:150px!important;
  margin:4px auto 0!important;
  padding:6px!important;
  object-fit:contain!important;
  border:1px solid #ddd3c9!important;
  border-radius:7px!important;
  background:#fff!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-pix-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-pix-copy-title{
  margin:0 0 8px!important;
  font:400 21px/1.2 Georgia,'Times New Roman',serif!important;
  color:#173d31!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-pix-copy>p,
body.bsk-global-brand.woocommerce-order-received .bsk-pix-copy>strong{
  display:block!important;
  margin:0 0 10px!important;
  font-size:11px!important;
  line-height:1.5!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-code-field,
body.bsk-global-brand.woocommerce-order-received .bsk-pix-copy textarea,
body.bsk-global-brand.woocommerce-order-received .bsk-pix-copy input[type="text"]{
  width:100%!important;
  max-width:none!important;
  min-height:72px!important;
  margin:0 0 10px!important;
  padding:10px 11px!important;
  resize:none!important;
  font-size:10px!important;
  line-height:1.45!important;
  border-radius:6px!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-payment-copy-button{
  align-self:flex-start!important;
  min-width:128px!important;
  min-height:39px!important;
  padding:9px 15px!important;
  font-size:11px!important;
}

/* Detalhes: elimina "caixa dentro de caixa". */
body.bsk-global-brand.woocommerce-order-received .woocommerce-order-details{
  margin:0 0 14px!important;
  padding:18px 20px!important;
  border-radius:10px!important;
  background:#fffaf5!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order-details>h2{
  margin:0 0 10px!important;
  padding:0 0 10px!important;
  border-bottom:1px solid #e7ddd4!important;
  background:transparent!important;
  font-size:25px!important;
  line-height:1.15!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details{
  margin:0!important;
  border-collapse:collapse!important;
  background:transparent!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details thead th{
  padding:8px 7px!important;
  background:transparent!important;
  border-bottom:1px solid #e7ddd4!important;
  font-size:9px!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tbody td,
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tfoot td{
  padding:9px 7px!important;
  background:transparent!important;
  border-top:1px solid #eee6de!important;
  vertical-align:middle!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details td:last-child,
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details th:last-child{
  text-align:right!important;
}

/* Endereços: cards iguais, sem faixa branca interna. */
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details{
  margin:0 0 14px!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses,
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details .col2-set{
  gap:14px!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column--billing-address,
body.bsk-global-brand.woocommerce-order-received .woocommerce-column--shipping-address{
  min-height:100%!important;
  padding:17px 18px!important;
  border-radius:9px!important;
  background:#f5ede3!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column__title{
  margin:0 0 9px!important;
  padding:0 0 8px!important;
  background:transparent!important;
  border-bottom:1px solid #dfd2c4!important;
  font-size:19px!important;
  line-height:1.2!important;
}
body.bsk-global-brand.woocommerce-order-received address{
  margin:0!important;
  font-size:11px!important;
  line-height:1.6!important;
}

/* Personalização + próxima ação mais integradas. */
body.bsk-global-brand.woocommerce-order-received .bsk-personalization-order-notice{
  margin:0 0 14px!important;
  padding:11px 13px!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next{
  margin:0!important;
  padding:16px 18px!important;
  border-radius:9px!important;
  min-height:0!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next p{
  margin:4px 0 0!important;
  font-size:11px!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next .bsk-brand-button,
body.bsk-global-brand.woocommerce-order-received .bsk-order-next a{
  min-height:36px!important;
  padding:8px 13px!important;
  font-size:10px!important;
}

/* Evita um "buraco" grande antes do footer. */
body.bsk-global-brand.woocommerce-order-received main,
body.bsk-global-brand.woocommerce-order-received .site-main,
body.bsk-global-brand.woocommerce-order-received .bsk-order-received-page{
  min-height:0!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-received-page .bsk-page-content>.bsk-container{
  padding-bottom:0!important;
}

/* Breakpoints mais inteligentes: mantém desktop bonito sem quebrar cedo demais. */
@media(max-width:820px){
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{
    border-right:1px solid #e7ddd4!important;
    border-bottom:1px solid #e7ddd4!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:nth-child(2n){
    border-right:0!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:last-child{
    grid-column:1/-1!important;
    border-right:0!important;
    border-bottom:0!important;
  }
  body.bsk-global-brand.woocommerce-order-received .bsk-pix-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:600px){
  body.bsk-global-brand.woocommerce-order-received .bsk-order-received-page .bsk-page-content{
    padding-top:16px!important;
    padding-bottom:18px!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
    grid-template-columns:1fr!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li,
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:nth-child(2n){
    grid-column:auto!important;
    min-height:68px!important;
    border-right:0!important;
    border-bottom:1px solid #e7ddd4!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:last-child{
    border-bottom:0!important;
  }
  body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation{
    padding:14px!important;
  }
  body.bsk-global-brand.woocommerce-order-received .bsk-payment-confirmation h2{
    font-size:25px!important;
  }
  body.bsk-global-brand.woocommerce-order-received .bsk-pix-scan,
  body.bsk-global-brand.woocommerce-order-received .bsk-pix-copy{
    padding:13px!important;
  }
  body.bsk-global-brand.woocommerce-order-received .bsk-payment-qr{
    width:138px!important;
    max-width:138px!important;
    height:138px!important;
  }
}


/* =========================================================
   BSK Café 0.6.16 — confirmação de pedido: limpeza visual
   ========================================================= */

/* RESUMO: somente informações essenciais, todas alinhadas */
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  margin:0 0 16px!important;
  border:1px solid #dfd2c1!important;
  border-radius:10px!important;
  background:#fffaf5!important;
  overflow:hidden!important;
}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:96px!important;
  padding:16px 18px!important;
  margin:0!important;
  text-align:center!important;
  border:0!important;
  border-right:1px solid #e4d9cf!important;
}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:last-child{
  border-right:0!important;
}
body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li strong{
  display:block!important;
  width:100%!important;
  margin:7px 0 0!important;
  text-align:center!important;
  font-size:15px!important;
  line-height:1.35!important;
}

/* Método de pagamento já aparece nos Detalhes do pedido: evita duplicidade e quebra do grid. */
body.bsk-global-brand.woocommerce-order-received
ul.woocommerce-order-overview
li.woocommerce-order-overview__payment-method{
  display:none!important;
}

/* DETALHES DO PEDIDO: sem "box dentro de box" */
body.bsk-global-brand.woocommerce-order-received .woocommerce-order-details{
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-order-details>h2{
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  font:400 30px/1.15 Georgia,'Times New Roman',serif!important;
  color:#173d31!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details{
  margin:0!important;
  border:1px solid #dfd2c1!important;
  border-radius:10px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
  background:#f6eee4!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details thead th{
  padding:12px 14px!important;
  background:#f1e6d8!important;
  border:0!important;
  border-bottom:1px solid #ded2c5!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tbody td,
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tfoot td{
  padding:12px 14px!important;
  border:0!important;
  border-top:1px solid #e2d6ca!important;
  background:transparent!important;
  vertical-align:middle!important;
}
body.bsk-global-brand.woocommerce-order-received table.woocommerce-table--order-details tbody tr:first-child td{
  border-top:0!important;
}

/* ENDEREÇOS: apenas dois painéis limpos, sem título em retângulo interno */
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details{
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses,
body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details .col2-set{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:16px!important;
  align-items:stretch!important;
  margin:0!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column--billing-address,
body.bsk-global-brand.woocommerce-order-received .woocommerce-column--shipping-address{
  display:flex!important;
  flex-direction:column!important;
  min-height:100%!important;
  padding:20px 22px!important;
  margin:0!important;
  border:1px solid #dfd2c1!important;
  border-radius:10px!important;
  background:#f6eee4!important;
  box-shadow:none!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column__title{
  margin:0 0 13px!important;
  padding:0 0 10px!important;
  border:0!important;
  border-bottom:1px solid #dfd2c4!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  font:400 23px/1.2 Georgia,'Times New Roman',serif!important;
  color:#173d31!important;
}
body.bsk-global-brand.woocommerce-order-received .woocommerce-column address{
  flex:1 1 auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font-size:12px!important;
  line-height:1.7!important;
  color:#4f4037!important;
}

/* Remove quaisquer fundos/faixas herdadas nos títulos WooCommerce. */
body.bsk-global-brand.woocommerce-order-received
:is(.woocommerce-order-details>h2,.woocommerce-column__title){
  width:auto!important;
  max-width:none!important;
  min-height:0!important;
}

/* BLOCO VERDE FINAL: texto claro e legível */
body.bsk-global-brand.woocommerce-order-received .bsk-order-next{
  background:#0e3a2e!important;
  border:0!important;
  color:#f7f1e9!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next *{
  color:#f7f1e9!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next h2,
body.bsk-global-brand.woocommerce-order-received .bsk-order-next h3,
body.bsk-global-brand.woocommerce-order-received .bsk-order-next strong{
  color:#fff!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next p,
body.bsk-global-brand.woocommerce-order-received .bsk-order-next small,
body.bsk-global-brand.woocommerce-order-received .bsk-order-next .eyebrow{
  color:#e9dfd4!important;
  opacity:1!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next a{
  color:#fff!important;
  border-color:rgba(255,255,255,.55)!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-next a:hover{
  background:#fff!important;
  color:#0e3a2e!important;
}

/* Evita excesso de área branca antes do rodapé. */
body.bsk-global-brand.woocommerce-order-received .bsk-order-next{
  margin-bottom:0!important;
}
body.bsk-global-brand.woocommerce-order-received .bsk-order-received-page .bsk-page-content{
  padding-bottom:20px!important;
}

@media(max-width:820px){
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
    grid-template-columns:1fr 1fr!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li{
    min-height:82px!important;
    border-right:1px solid #e4d9cf!important;
    border-bottom:1px solid #e4d9cf!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:nth-child(2n){
    border-right:0!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:nth-last-child(-n+2){
    border-bottom:0!important;
  }
}
@media(max-width:600px){
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview{
    grid-template-columns:1fr!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li,
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:nth-child(2n){
    border-right:0!important;
    border-bottom:1px solid #e4d9cf!important;
  }
  body.bsk-global-brand.woocommerce-order-received ul.woocommerce-order-overview li:last-child{
    border-bottom:0!important;
  }
  body.bsk-global-brand.woocommerce-order-received .woocommerce-columns--addresses,
  body.bsk-global-brand.woocommerce-order-received .woocommerce-customer-details .col2-set{
    grid-template-columns:1fr!important;
  }
}
