/* BSK Café — Ajustes v0.7.1 */
:root{
  --bsk-green:#244b3b;
  --bsk-green-dark:#18382d;
  --bsk-cream:#f7f1e7;
  --bsk-cream-2:#efe6d8;
  --bsk-coffee:#33261f;
  --bsk-coffee-2:#49362b;
  --bsk-terracotta:#a96749;
  --bsk-line:rgba(51,38,31,.14);
  --bsk-white:#fffdf8;
}

/* Remove apenas o copyright padrão do Astra para não duplicar com o rodapé BSK. */
.ast-footer-copyright{display:none!important;}
.site-below-footer-wrap:has(.ast-footer-copyright){display:none!important;}

/* HOME — sem redimensionamento do banner.
   O hero permanece exatamente no tamanho definido pelo tema. */

/* RODAPÉ LEGAL */
.bsk-legal-footer{
  background:var(--bsk-coffee);
  color:#efe8dc;
  border-top:1px solid rgba(255,255,255,.12);
  font-family:inherit;
}
.bsk-legal-footer__inner{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.bsk-legal-footer__label{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  opacity:.72;
}
.bsk-legal-footer__links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:12px 24px;
}
.bsk-legal-footer__links a{
  color:#fff9ef!important;
  text-decoration:none!important;
  font-size:13px;
  line-height:1.4;
  border-bottom:1px solid transparent;
  transition:.2s ease;
}
.bsk-legal-footer__links a:hover{
  border-bottom-color:rgba(255,255,255,.7);
}
@media(max-width:700px){
  .bsk-legal-footer__inner{align-items:flex-start;flex-direction:column;padding:22px 0;gap:12px;}
  .bsk-legal-footer__links{justify-content:flex-start;gap:10px 18px;}
}

/* PÁGINAS LEGAIS E MAPA DO SITE */
body.page .entry-content > h1:first-child,
body.page .entry-content > .wp-block-heading:first-child{
  color:var(--bsk-coffee);
}
.bsk-sitemap{
  width:min(1120px,calc(100% - 40px));
  margin:56px auto 90px;
}
.bsk-sitemap__intro{
  max-width:680px;
  margin-bottom:34px;
}
.bsk-sitemap__intro>span{
  display:block;
  color:var(--bsk-green);
  font-size:11px;
  letter-spacing:.16em;
  font-weight:700;
  margin-bottom:12px;
}
.bsk-sitemap__intro h2{
  margin:0 0 10px;
  color:var(--bsk-coffee);
  font-size:clamp(34px,4vw,58px);
  line-height:1.02;
  font-weight:500;
}
.bsk-sitemap__intro p{max-width:560px;color:#6c5e54;}
.bsk-sitemap__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.bsk-sitemap__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:21px 22px;
  background:var(--bsk-cream);
  border:1px solid var(--bsk-line);
  color:var(--bsk-coffee)!important;
  text-decoration:none!important;
  transition:.2s ease;
}
.bsk-sitemap__item:hover{transform:translateY(-2px);background:#fffaf1;}
.bsk-sitemap__item b{color:var(--bsk-green);font-weight:500;}
@media(max-width:700px){.bsk-sitemap__grid{grid-template-columns:1fr;}}

/* ORDER RECEIVED — tira o aspecto padrão do WooCommerce. */
body.bsk-order-received-v069 .site-content{
  background:#fbf7f0;
}
body.bsk-order-received-v069 .woocommerce{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto 88px;
}
body.bsk-order-received-v069 .woocommerce-notice,
body.bsk-order-received-v069 .woocommerce-thankyou-order-received{
  margin:0 0 22px!important;
  padding:18px 20px!important;
  background:#edf4ef!important;
  border:1px solid rgba(36,75,59,.16)!important;
  border-radius:16px!important;
  color:var(--bsk-green-dark)!important;
  font-weight:600;
}
body.bsk-order-received-v069 .woocommerce-order-overview{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0 0 28px!important;
  padding:0!important;
  list-style:none!important;
  background:var(--bsk-white);
  border:1px solid var(--bsk-line);
  border-radius:20px;
  overflow:hidden;
}
body.bsk-order-received-v069 .woocommerce-order-overview li{
  float:none!important;
  margin:0!important;
  padding:18px 20px!important;
  border:0!important;
  border-right:1px solid var(--bsk-line)!important;
  color:#7d6f64;
  font-size:11px!important;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.bsk-order-received-v069 .woocommerce-order-overview li:last-child{border-right:0!important;}
body.bsk-order-received-v069 .woocommerce-order-overview strong{
  display:block;
  margin-top:7px;
  color:var(--bsk-coffee);
  font-size:15px!important;
  line-height:1.25;
  text-transform:none;
  letter-spacing:0;
}
body.bsk-order-received-v069 .woocommerce-order-details,
body.bsk-order-received-v069 .woocommerce-customer-details{
  margin:22px 0 0!important;
  padding:28px!important;
  background:var(--bsk-white);
  border:1px solid var(--bsk-line);
  border-radius:22px;
}
body.bsk-order-received-v069 .woocommerce-order-details__title,
body.bsk-order-received-v069 .woocommerce-column__title{
  margin:0 0 20px!important;
  color:var(--bsk-coffee);
  font-weight:500;
  font-size:26px;
}
body.bsk-order-received-v069 table.shop_table{
  border:0!important;
  border-collapse:collapse!important;
  border-radius:0!important;
  background:transparent!important;
}
body.bsk-order-received-v069 table.shop_table th,
body.bsk-order-received-v069 table.shop_table td{
  padding:16px 10px!important;
  border:0!important;
  border-bottom:1px solid var(--bsk-line)!important;
}
body.bsk-order-received-v069 table.shop_table tfoot tr:last-child th,
body.bsk-order-received-v069 table.shop_table tfoot tr:last-child td{border-bottom:0!important;}

/* Login exibido quando o pedido pertence a uma conta: transforma em card claro e intencional. */
body.bsk-order-received-v069 form.woocommerce-form-login{
  width:min(760px,100%);
  margin:30px auto 10px!important;
  padding:34px!important;
  background:var(--bsk-white)!important;
  border:1px solid var(--bsk-line)!important;
  border-radius:24px!important;
  box-shadow:0 18px 46px rgba(51,38,31,.06);
}
body.bsk-order-received-v069 .bsk-order-login-intro{
  padding-bottom:22px;
  margin-bottom:22px;
  border-bottom:1px solid var(--bsk-line);
}
body.bsk-order-received-v069 .bsk-order-login-intro>span,
body.bsk-order-received-v069 .bsk-thankyou-actions span{
  display:block;
  margin-bottom:9px;
  color:var(--bsk-green);
  font-size:11px;
  line-height:1.2;
  letter-spacing:.16em;
  font-weight:700;
}
body.bsk-order-received-v069 .bsk-order-login-intro h2{
  margin:0 0 8px;
  color:var(--bsk-coffee);
  font-size:clamp(28px,3vw,40px);
  line-height:1.05;
  font-weight:500;
}
body.bsk-order-received-v069 .bsk-order-login-intro p{
  margin:0;
  max-width:620px;
  color:#6f6258;
}
body.bsk-order-received-v069 form.woocommerce-form-login .form-row{
  float:none!important;
  width:100%!important;
  margin:0 0 16px!important;
}
body.bsk-order-received-v069 form.woocommerce-form-login input.input-text{
  width:100%;
  min-height:52px;
  border:1px solid rgba(51,38,31,.18)!important;
  border-radius:12px!important;
  background:#fffdf9!important;
  padding:0 14px!important;
}
body.bsk-order-received-v069 form.woocommerce-form-login .button{
  min-height:50px;
  padding:0 24px!important;
  border-radius:999px!important;
  background:var(--bsk-green)!important;
  color:#fff!important;
  border:1px solid var(--bsk-green)!important;
}
body.bsk-order-received-v069 form.woocommerce-form-login .button:hover{
  background:var(--bsk-green-dark)!important;
}
body.bsk-order-received-v069 .woocommerce-LostPassword{
  margin-top:12px!important;
}
body.bsk-order-received-v069 .woocommerce-LostPassword a{color:var(--bsk-green)!important;}

.bsk-thankyou-actions{
  margin-top:26px;
  padding:28px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:var(--bsk-green-dark);
  color:#fff;
  border-radius:22px;
}
.bsk-thankyou-actions h3{
  margin:0 0 7px;
  color:#fff;
  font-size:26px;
  font-weight:500;
}
.bsk-thankyou-actions p{margin:0;color:rgba(255,255,255,.76);}
.bsk-thankyou-actions__buttons{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.bsk-thankyou-actions .button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin:0!important;
  padding:0 20px!important;
  border-radius:999px!important;
  text-decoration:none!important;
  white-space:nowrap;
}
.bsk-button-primary{background:#fff9ef!important;color:var(--bsk-green-dark)!important;border:1px solid #fff9ef!important;}
.bsk-button-secondary{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.45)!important;}

@media(max-width:780px){
  body.bsk-order-received-v069 .woocommerce-order-overview{grid-template-columns:1fr 1fr;}
  body.bsk-order-received-v069 .woocommerce-order-overview li:nth-child(2){border-right:0!important;}
  body.bsk-order-received-v069 .woocommerce-order-overview li{border-bottom:1px solid var(--bsk-line)!important;}
  body.bsk-order-received-v069 form.woocommerce-form-login{padding:24px!important;}
  .bsk-thankyou-actions{align-items:flex-start;flex-direction:column;}
  .bsk-thankyou-actions__buttons{justify-content:flex-start;}
}
@media(max-width:520px){
  body.bsk-order-received-v069 .woocommerce{width:min(100% - 24px,1120px);}
  body.bsk-order-received-v069 .woocommerce-order-overview{grid-template-columns:1fr;}
  body.bsk-order-received-v069 .woocommerce-order-overview li{border-right:0!important;}
  body.bsk-order-received-v069 .woocommerce-order-details,
  body.bsk-order-received-v069 .woocommerce-customer-details{padding:20px!important;}
}
