/*
Theme Name:   Botiga Child
Theme URI:    https://athemes.com/theme/botiga/
Description:  Child theme para Costurar e Viver
Author:       Daniel Cubas
Author URI:   https://costurareviver.com.br/
Template:     botiga
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  botiga-child
*/

/* ==========================================================================
   Customizações do tema
   ========================================================================== */

/* Adicione suas customizações CSS aqui */
/* Mobile First - Base styles above */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #565656 !important;
  font-weight: 500 !important;
}

h3 {
  font-size: 32px !important;
}

button,
a.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: #ba5946 !important;
  border-color: #ba5946 !important;
}

a.button.botiga-whatsapp-order-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  font-weight: 600;
  width: 100%;
  padding: 0.85em 1.5em;
  border-radius: 4px;
  text-transform: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.2);
}

a.button.botiga-whatsapp-order-button:hover,
a.button.botiga-whatsapp-order-button:focus {
  background-color: #1ebe5d !important;
  border-color: #1ebe5d !important;
  color: #fff !important;
}

.custom-logo-link img {
  width: 135px;
}

.botiga-whatsapp-order-button__icon {
  display: inline-flex;
  align-items: center;
}

.botiga-whatsapp-order-button__icon svg {
  width: 1.25em;
  height: 1.25em;
}

.single-product .botiga-single-description {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #4b4b4b;
}

.single-product .botiga-single-description p:last-child {
  margin-bottom: 0;
}

.single-product .summary form.cart,
.single-product .summary .quantity {
  display: none !important;
}

.merchant-payment-logos {
  display: none !important;
}

.onsale {
  background-color: #ba5946 !important;
}

article.post {
  text-align: left !important;
}
.post h2.entry-title {
  text-align: left;
  font-weight: 600;
}
.post .post-thumbnail img {
  border-radius: 8px;
  aspect-ratio: 1/0.6;
  object-fit: cover;
  object-position: center;
}
.blog .post .post-thumbnail img {
  aspect-ratio: 1/1;
}

.wp-block-image img {
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

.product.type-product {
  margin-bottom: 50px !important;
}

.bhfb-builder-item.bhfb-component-woo_icons {
  display: none !important;
}
.loop-button-wrap.button-layout3.button-width-auto {
  display: none !important;
}

.banner.banner2 .athemes-blocks-block-container-wrapper-content {
  margin-top: 35vw;
}
.banner2 {
  text-align: center;
}
.banner2 .athemes-blocks-block-container-wrapper-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banner2 h3 {
  font-weight: 500;
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffffb5;
  color: #000 !important;
  font-size: 36px !important;
}
.banner2 p {
  font-weight: 500;
  display: inline-block;
  padding: 5px 10px;
  background-color: #ffffffb5;
  color: #000 !important;
  margin-bottom: 0 !important;
}
.banner.banner2 p {
  margin-bottom: 20px !important;
}

.banner.banner2 img {
  object-fit: contain !important;
  object-position: center top !important;
}

#primary {
  padding: 0 20px !important;
}
.content-wrapper {
  margin-top: 0 !important;
}

.wp-block-athemes-blocks-post-grid {
  padding: 0 15px !important;
}
.wp-block-athemes-blocks-post-grid .at-block-post-grid__items {
  column-gap: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;
}
.wp-block-athemes-blocks-post-grid
  .at-block-post-grid__items
  .at-block-post-grid__item
  img {
  aspect-ratio: 1/1;
  object-fit: cover !important;
  object-position: center !important;
}
.wp-block-athemes-blocks-post-grid
  .at-block-post-grid__items
  .at-block-post-grid__item
  h4.at-block-post-grid__title {
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  margin-top: 10px !important;
}
.wp-block-athemes-blocks-post-grid
  .at-block-post-grid__items
  .at-block-post-grid__item:hover
  h4.at-block-post-grid__title {
  color: #ba5946 !important;
}

.wp-block-athemes-athemes-blocks-block-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

a {
  text-decoration: none !important;
}

.wc-block-grid__product-title {
  font-weight: 600 !important;
}
.related.products {
  margin-top: 50px !important;
}
.posts-archive {
  padding: 0 20px !important;
}

.botiga-single-description p {
  margin-bottom: 10px !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .banner2 h3 {
    font-size: 44px !important;
  }
  .wp-block-athemes-blocks-post-grid {
    padding: 0 !important;
  }

  .banner.banner2 .athemes-blocks-block-container-wrapper-content {
    margin-top: 30vw;
  }
  .banner.banner2 .athemes-blocks-block-container-wrapper {
    padding-top: 130px !important;
    padding-bottom: 0 !important;
  }

  .wp-block-athemes-blocks-post-grid .at-block-post-grid__items {
    column-gap: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 20px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .banner.banner2 .athemes-blocks-block-container-wrapper-content {
    margin-top: 0;
  }
  .banner.banner2 .athemes-blocks-block-container-wrapper {
    padding-top: 250px !important;
    padding-bottom: 50px !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #primary {
    padding: 0 !important;
  }

  .custom-logo-link img {
    width: 200px;
  }
  .content-wrapper {
    margin-top: 50px !important;
    margin-bottom: 0 !important;
  }
  .home .content-wrapper {
    margin-top: 0 !important;
  }

  .banner.banner2 .athemes-blocks-block-container-wrapper {
    padding-top: 320px !important;
    padding-bottom: 45px !important;
  }
  .banner.banner2 img {
    object-fit: cover !important;
    object-position: center top !important;
  }
  .banner.banner2 .athemes-blocks-block-container-wrapper-content {
    margin-top: 0;
  }
  .posts-archive {
    padding: 0 !important;
  }
}
@media (min-width: 1366px) {
  .banner.banner2 .athemes-blocks-block-container-wrapper {
    padding-top: 400px !important;
    padding-bottom: 45px !important;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .banner.banner2 .athemes-blocks-block-container-wrapper {
    padding-top: 470px !important;
    padding-bottom: 50px !important;
  }
}
@media (min-width: 1920px) {
  .banner.banner2 .athemes-blocks-block-container-wrapper {
    padding-top: 480px !important;
    padding-bottom: 50px !important;
  }
}
@media (min-width: 2560px) {
  .banner.banner2 .athemes-blocks-block-container-wrapper {
    padding-top: 685px !important;
    padding-bottom: 50px !important;
  }
  .banner.banner2 img {
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* ==========================================================================
   Rodapé Customizado
   ========================================================================== */

.costurareviver-custom-footer {
  background-color: #ededed;
  color: #000000;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.costurareviver-custom-footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.costurareviver-custom-footer .footer-whatsapp {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.costurareviver-custom-footer .footer-whatsapp p {
  margin-bottom: 0;
}

.costurareviver-custom-footer .footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 10px 15px;
  border-radius: 8px;
}
.costurareviver-custom-footer .footer-whatsapp-link svg path {
  fill: #1ebe5d;
}

.costurareviver-custom-footer .footer-whatsapp-link:hover {
  color: #1ebe5d;
  background-color: rgba(37, 211, 102, 0.1);
}

.costurareviver-custom-footer .footer-whatsapp-number {
  display: inline-block;
}

.costurareviver-custom-footer .footer-whatsapp-icon {
  flex-shrink: 0;
}

.costurareviver-custom-footer .footer-logo {
  width: 100%;
  max-width: 200px;
}

.costurareviver-custom-footer .footer-logo-link {
  display: inline-block;
}

.costurareviver-custom-footer .footer-logo img {
  width: 100%;
  height: auto;
  max-width: 200px;
}

.costurareviver-custom-footer .footer-site-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
}

.costurareviver-custom-footer .footer-menu {
  width: 100%;
}

.costurareviver-custom-footer .footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.costurareviver-custom-footer .footer-navigation li {
  margin: 0;
  padding: 0;
}

.costurareviver-custom-footer .footer-navigation a {
  color: #000000;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.costurareviver-custom-footer .footer-navigation a:hover {
  color: #ba5946;
}

.costurareviver-custom-footer .footer-copyright {
  width: 100%;
  border-top: 1px solid rgba(86, 86, 86, 0.2);
  padding-top: 20px;
  margin-top: 10px;
}

.costurareviver-custom-footer .footer-copyright p {
  margin: 0;
  font-size: 14px;
  color: #000000;
}

/* Tablet e Desktop */
@media (min-width: 768px) {
  .costurareviver-custom-footer {
    padding: 60px 0 30px;
  }

  .costurareviver-custom-footer .footer-content {
    gap: 40px;
  }

  .costurareviver-custom-footer .footer-whatsapp-link {
    font-size: 20px;
    padding: 12px 20px;
  }

  .costurareviver-custom-footer .footer-navigation {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .costurareviver-custom-footer .footer-logo {
    max-width: 250px;
  }

  .costurareviver-custom-footer .footer-logo img {
    max-width: 250px;
  }
}

/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.whatsapp-float svg {
  width: 60px;
  height: 60px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 50px;
    height: 50px;
  }
}

/* WhatsApp no Header */
.bhfb-component-whatsapp-header {
  display: flex;
  align-items: center;
}

.header-whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.header-whatsapp-contact svg path {
  fill: #1ebe5d;
}

.header-whatsapp-contact:hover {
  color: #1ebe5d;
  background-color: rgba(37, 211, 102, 0.1);
}

.header-whatsapp-number {
  display: inline-block;
}

.header-whatsapp-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Ocultar em mobile */
@media (max-width: 1024px) {
  .bhfb-component-whatsapp-header {
    display: none;
  }
}
