/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* Estica o banner */
.an_homeproducts-banner.col-sm-12 {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Ajusta home slider */
#an_homecategories {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    transform: none !important;
}

#an_homecategories .an_homecategories-item {
    flex: 0 0 calc(25% - 12px) !important;
    max-width: calc(25% - 12px) !important;
    float: none !important;
    margin: 0 !important;
}

#an_homecategories .an_homecategories-image {
    height: 200px !important;
    overflow: hidden !important;
}

#an_homecategories .an_homecategories-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

@media (max-width: 991px) {
    #an_homecategories .an_homecategories-item {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

@media (max-width: 575px) {
    #an_homecategories .an_homecategories-item {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

/* Neutraliza classes do owl/slick slider */
#an_homecategories.owl-carousel,
#an_homecategories.slick-slider {
    display: flex !important;
}

#an_homecategories .owl-stage,
#an_homecategories .slick-track {
    display: flex !important;
    flex-wrap: wrap !important;
    transform: none !important;
    width: 100% !important;
}

#an_homecategories .owl-item,
#an_homecategories .slick-slide {
    flex: 0 0 calc(25% - 12px) !important;
    max-width: calc(25% - 12px) !important;
    float: none !important;
}

@media (max-width: 991px) {
    #an_homecategories .owl-item,
    #an_homecategories .slick-slide {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

.an_homecategories-item-desc {

    padding: 10px 16px !important;
}

.products-sort-order .select-title {
    color: #1e6b9b !important;
}

.breadcrumb li a {
	color: #F5F2ED;
}

.breadcrumb li:after {
    color: #F5F2ED;
}

/* Icon social */
.block-social li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.block-social li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    background: transparent !important;
}

.block-social li {
    background-color:  transparent !important;
}

.facebook a:last-child {
    display: none !important;
}

.facebook .anicon svg path {
    fill: #ffffff;
}

.facebook .anicon svg {
    background: transparent;
}

.block-social ul {
    margin-bottom: 0;
    padding: 0;
}

/* Search button */
#header .search-dropdown .search-widget {
    min-width: 320px;
}

#header .dropdown-menu {
    min-width: 320px; 
}

#footer .copyright-container p {
    font-size: 14px;
    color: #F5F2ED;
    text-align: center;
}

@media (max-width: 991px) {
    #header .header-nav {
        background: #620b1b !important;
    }
	
	#header {
        background: #620b1b !important;
    }
}

.an_homeslider .an_homeslider-desc p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.an_homeslider.an_homeslider-responsive .an_homeslider-desc .h2 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.footer-container {
    background: #620b1b;
}

.copyright-container {
     background: none;
}

.footer-store-card {
  display: block;

}
.footer-store-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  color:#fff;
}
.footer-store-icon {
  font-size: 18px;
  line-height: 1.4;
}
.footer-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  margin-top: 4px;
  transition: background 0.2s;
}
.footer-store-btn:hover {
  background: rgba(255,255,255,0.1);
}
.footer-store-btn i {
  font-size: 16px;
}

@media (max-width: 767px) {
  .footer-store-card {
    padding: 10px 0;
  }
  .footer-container .footer-store-info {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}



@media (max-width: 991px) {
	/* Slider responsive */
	.an_homeslider.owl-carousel.owl-drag .owl-item .an_homeslider-item img:not(.owl-lazy), .an_homeslider.owl-carousel.owl-drag .owl-item .an_homeslider-item img.anhs-img-loaded {
		width: 100% !important;
		height: 250px !important;   
		object-fit: cover !important;
		object-position: center !important;
	}
}

@media (max-width: 600px) {
    #footer .block-social ul {
         justify-content: center !important;
    }
}

@media (max-width: 991px) {
    #header .header-nav.tablet-h .top-logo {
        height: 110px !important;
    }
}