/* Custom Shop Styles */

/* KPDV - Home e rodape */
.home-featured-products { margin-left: -8px; margin-right: -8px; }
.home-featured-products .featured-product-col { float: left; width: 25%; padding: 0 8px; }
.home-featured-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.home-featured-card .details { background: #fff; }
.home-product-image { height: 205px; position: relative; display: flex; align-items: center; justify-content: center; background: #f7f7f7; overflow: hidden; }
.home-product-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.home-product-image .badge { position: absolute; top: 8px; right: 8px; z-index: 2; }
.home-product-info { padding: 12px 10px 14px; min-height: 165px; }
.home-product-info .product_name { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; min-height: 22px; margin-bottom: 4px; }
.home-product-info .product_name a { color: #168af7; }
.home-product-info .link { font-size: 13px; color: #777; }
.home-product-info .product_price { display: block; color: #168af7; font-size: 17px; font-weight: 700; margin: 10px 0 10px; }
.home-add-to-cart { display: block; width: 100%; border-radius: 2px; text-align: center; padding: 9px 8px; font-weight: 700; white-space: nowrap; }
.home-add-to-cart i { margin-right: 5px; }
.kpdv-footer { color: #fff; }
.kpdv-footer .footer-column { min-height: 220px; }
.kpdv-footer .title-footer { color: #fff; margin-bottom: 14px; }
.kpdv-footer .title-footer:after { background: rgba(255,255,255,.25); }
.kpdv-footer .footer-custom-text { color: rgba(255,255,255,.9); line-height: 1.55; margin-bottom: 12px; }
.kpdv-footer .footer-contact { line-height: 2; }
.kpdv-footer .footer-contact i { width: 20px; }
.footer-links-list { list-style: none; padding: 0; margin: 0; }
.footer-links-list li { margin-bottom: 7px; }
.footer-links-list a { color: #fff; }
.footer-links-list i { width: 18px; }
.footer-payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 10px; margin-top: 14px; }
.footer-payment-grid span { color: #fff; font-size: 12px; line-height: 1.25; }
.footer-payment-grid i { width: 18px; text-align: center; margin-right: 3px; }
.kpdv-footer-bottom { position: relative; }
.kpdv-footer-bottom .copyright { float: left; }
.kpdv-credit { float: right; line-height: 34px; color: rgba(255,255,255,.85); }
.kpdv-credit a { color: #168af7; font-weight: 700; }
.kpdv-whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 9999; display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.kpdv-whatsapp-float i { width: 62px; height: 62px; line-height: 62px; text-align: center; border-radius: 50%; background: #25d366; color: #fff; font-size: 36px; box-shadow: 0 3px 12px rgba(0,0,0,.28); }
.kpdv-whatsapp-label { background: #fff; color: #333; padding: 9px 14px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.16); font-size: 13px; font-weight: 700; line-height: 1.25; }
@media (min-width: 1200px) {
  .home-featured-products .featured-product-col { width: 20%; }
  .home-product-image { height: 205px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .home-featured-products .featured-product-col { width: 25%; }
}
@media (max-width: 767px) {
  .home-featured-products .featured-product-col { width: 50%; }
  .home-product-image { height: 170px; }
  .home-product-info { min-height: 160px; }
  .kpdv-footer .footer-column { min-height: 0; margin-bottom: 25px; }
  .kpdv-footer-bottom .copyright, .kpdv-credit { float: none; text-align: center; }
  .kpdv-whatsapp-float { right: 14px; bottom: 14px; }
  .kpdv-whatsapp-label { display: none; }
  .kpdv-whatsapp-float i { width: 56px; height: 56px; line-height: 56px; font-size: 32px; }
}
@media (max-width: 480px) {
  .home-featured-products .featured-product-col { width: 100%; }
}

.home-featured-products .home-featured-card { padding: 0; min-height: 0; }
.home-featured-products .home-product-info { position: static; left: auto; bottom: auto; width: 100%; float: none; }
.home-featured-products .home-add-to-cart { position: static; left: auto; top: auto; opacity: 1; min-width: 0; margin: 0; border: 0; color: #fff; text-transform: none; }
.home-featured-products .home-add-to-cart:hover { color: #fff !important; }


/* KPDV V12 - espacamento da Home */
.page-contents {
  padding-top: 60px;
  padding-bottom: 60px;
}

@media (max-width: 767px) {
  .page-contents {
    padding-top: 45px;
    padding-bottom: 45px;
  }
}


/* V13 - cobrança e demonstração dos produtos */
.home-billing-label { font-size: 12px; font-weight: 700; white-space: nowrap; }
.home-demo-button { display: block; width: 100%; margin-top: 7px; border-radius: 2px; padding: 8px; font-weight: 700; }
.home-product-bottom { display: flex; flex-direction: column; align-items: stretch; }
.home-product-price { margin-bottom: 9px !important; }

/* V16 - bandeira do Brasil fixa no topo */
.kpdv-brazil-flag { padding: 0 8px; line-height: 30px; }
.kpdv-brazil-flag img { border-radius: 1px; }

/* Home - apresentação editável */
.kpdv-home-welcome { text-align:center; margin: 38px 0 18px; }
.kpdv-home-welcome h1 { margin:0; color:#ff7a00; font-size:32px; font-weight:400; line-height:1.25; }
.kpdv-home-featured-title { text-align:center; margin: 0 0 26px; font-size:25px; font-weight:400; color:#111; }
.kpdv-home-callout { text-align:center; padding: 24px 15px 45px; }
.kpdv-home-callout p { max-width:900px; margin:0 auto 28px; color:#ff7a00; font-size:24px; font-weight:400; line-height:1.25; }
.kpdv-home-callout-button { display:block; max-width:380px; margin:0 auto; padding:13px 24px; border-radius:12px; background:#06236f; color:#fff !important; font-size:25px; font-weight:400; text-decoration:none !important; }
.kpdv-home-callout-button:hover, .kpdv-home-callout-button:focus { color:#fff !important; opacity:.92; }
@media (max-width:767px) {
  .kpdv-home-welcome { margin-top:28px; }
  .kpdv-home-welcome h1 { font-size:25px; }
  .kpdv-home-featured-title { font-size:22px; margin-bottom:20px; }
  .kpdv-home-callout p { font-size:19px; }
  .kpdv-home-callout-button { font-size:21px; max-width:320px; }
}


/* V23 - Padronização dos botões de compra em todos os cards da loja */
.product .add-to-cart,
.featured-products .add-to-cart,
.product-container .add-to-cart,
.sidebar .add-to-cart,
#results .add-to-cart {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
}

#results .product-container .product {
  min-height: 0 !important;
}
#results .product-container .product .product-image {
  height: 160px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
#results .product-container .product .product-image img {
  max-width: 100% !important;
  max-height: 150px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
#results .product-container .product .product-desc {
  min-height: 72px !important;
  overflow: hidden !important;
}
#results .product-container .product .product-desc .product-name {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  line-height: 1.25 !important;
  min-height: 40px !important;
  margin: 8px 0 4px !important;
}
#results .product-container .product .product-bottom {
  margin-top: 0 !important;
}
#results .product-container .product .product-cart-button .btn-group {
  display: flex !important;
  width: 100% !important;
}
#results .product-container .product .product-cart-button .btn-group .add-to-cart {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 7px 8px !important;
}

.featured-products .product .details .add-to-cart {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 7px 8px !important;
  margin: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.product.alt .product-bottom .product-cart-button .add-to-cart,
.product-container .product .product-cart-button .add-to-cart {
  height: 34px !important;
  padding: 7px 8px !important;
  font-size: 14px !important;
}

@media (max-width: 767px) {
  #results .product-container .product .product-image { height: 145px !important; }
  #results .product-container .product .product-image img { max-height: 135px !important; }
  #results .product-container .product .product-desc { min-height: 68px !important; }
  #results .product-container .product .product-cart-button .btn-group .add-to-cart {
    font-size: 13px !important;
  }
}
