/**
 * First Shoes — ajustes de layout móvil
 */

@media (max-width: 991px) {
	html,
	body {
		overflow-x: hidden;
		max-width: 100%;
	}

	body.body-footer-mobile {
		padding-bottom: 72px;
	}

	body.mobile-menu-open {
		overflow: hidden;
	}

	body.mobile-menu-open .qlwapp,
	body.mobile-menu-open .qlwapp__container {
		display: none !important;
	}

	.goal-header {
		display: none !important;
	}

	#goal-header-mobile {
		position: sticky;
		top: 0;
		z-index: 1100;
		background: #fff;
		box-shadow: 0 1px 8px rgba(22, 30, 70, 0.08);
		padding: 8px 10px;
	}

	#goal-header-mobile .container-fluid,
	#goal-header-mobile .row,
	#goal-header-mobile .flex-middle {
		display: flex !important;
		align-items: center;
		width: 100%;
		margin: 0;
	}

	#goal-header-mobile .flex-middle > [class*="col-"] {
		float: none;
		padding: 0 8px;
		min-height: 0;
	}

	#goal-header-mobile .flex-middle > .col-xs-3 {
		width: 52px;
		flex: 0 0 52px;
		max-width: 52px;
	}

	#goal-header-mobile .flex-middle > .col-xs-6 {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
		text-align: center;
	}

	#goal-header-mobile .flex-middle > .col-xs-3:last-child {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	#goal-header-mobile .btn-showmenu {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		min-height: 44px;
		font-size: 24px;
		color: #161e46;
		line-height: 1;
	}

	#goal-header-mobile .logo {
		margin: 0 auto;
	}

	#goal-header-mobile .logo img {
		display: block;
		margin: 0 auto;
		max-height: 48px;
		width: auto;
		max-width: 180px;
		height: auto;
	}

	#goal-header-mobile .box-right {
		margin: 0;
	}

	#goal-header-mobile .top-cart {
		margin: 0;
	}

	#goal-mobile-menu {
		width: 86%;
		max-width: 360px;
		z-index: 100050;
		position: fixed !important;
		top: 0;
		left: 0;
		height: 100%;
		background: #fff;
	}

	#goal-mobile-menu.active {
		transform: translateX(0) !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	#goal-mobile-menu .goal-offcanvas-body {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 80px;
	}

	#goal-mobile-menu .header-offcanvas .flex-middle {
		display: flex !important;
		align-items: center;
		width: 100%;
	}

	#goal-mobile-menu .header-offcanvas .flex-middle > [class*="col-"] {
		float: none;
		padding: 0 8px;
	}

	#goal-mobile-menu .header-offcanvas .flex-middle > .col-xs-3 {
		width: 44px;
		flex: 0 0 44px;
		max-width: 44px;
	}

	#goal-mobile-menu .header-offcanvas .flex-middle > .col-xs-6 {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
	}

	#goal-mobile-menu .header-offcanvas .logo img {
		max-height: 36px;
		width: auto;
		max-width: 140px;
		height: auto;
	}

	#goal-mobile-menu .header-offcanvas .top-cart {
		display: none;
	}

	#goal-mobile-menu .header-mobile-bottom {
		display: none;
	}

	#goal-mobile-menu .middle-offcanvas {
		flex: 1 1 auto;
	}

	#mobile-menu-container a,
	#goal-mobile-menu .navbar-offcanvas a {
		display: block;
		padding: 14px 20px;
		font-size: 17px;
		font-weight: 600;
		color: #161e46;
		border-bottom: 1px solid #eee;
		text-decoration: none;
	}

	#goal-mobile-menu .navbar-offcanvas a:hover,
	#goal-mobile-menu .navbar-offcanvas a:focus,
	#goal-mobile-menu .navbar-offcanvas li.active > a {
		color: #fd4132;
	}

	#goal-mobile-menu .my-account {
		text-transform: none;
	}

	.over-dark.active {
		z-index: 100040;
	}

	.goal-footer-mobile {
		z-index: 1000;
		padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
	}

	.goal-footer-mobile > ul {
		display: flex;
		align-items: center;
		justify-content: space-around;
		width: 100%;
	}

	.goal-footer-mobile > ul > li {
		display: block;
		flex: 1 1 0;
		padding: 0 4px;
		min-width: 0;
	}

	.goal-footer-mobile > ul > li a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}

	.goal-footer-mobile > ul > li span {
		font-size: 10px;
		letter-spacing: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: 100%;
	}

	.widget.widget-products-tabs .top-info-tabs {
		overflow: visible;
		margin-bottom: 12px;
	}

	.widget.widget-products-tabs .nav-tabs,
	.tabs-v1 .nav-tabs,
	.nav.tabs-product,
	.nav-tabs.tabs-product {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: center;
		align-items: center;
		white-space: normal !important;
		overflow: visible !important;
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
		padding: 8px;
		gap: 6px;
	}

	.nav.tabs-product.st_1 {
		margin: 8px auto 0;
		gap: 6px !important;
	}

	.widget.widget-products-tabs .nav-tabs > li,
	.tabs-v1 .nav-tabs > li,
	.nav.tabs-product > li,
	.nav-tabs.tabs-product > li {
		flex: 0 0 auto;
		float: none !important;
		display: block !important;
		margin: 0 !important;
	}

	.widget.widget-products-tabs .nav-tabs > li > a,
	.tabs-v1 .nav-tabs > li > a,
	.nav.tabs-product > li > a,
	.nav-tabs.tabs-product > li > a {
		display: block;
		padding: 6px 10px !important;
		font-size: 11px !important;
		letter-spacing: 0 !important;
		margin: 0;
		white-space: nowrap;
	}

	.slick-carousel.products {
		margin-left: 0;
		margin-right: 0;
	}

	.slick-carousel .slick-arrow {
		z-index: 2;
		width: 36px;
		height: 36px;
		line-height: 36px;
	}

	.slick-carousel .slick-arrow .textnav {
		display: none;
	}

	.product-block.grid .name,
	.product-block.grid .name a {
		white-space: normal;
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		line-height: 1.3;
		max-height: none;
		height: auto;
	}

	.product-block .groups-button .add-cart a,
	.product-block .add-cart a,
	.product-block .button {
		display: block;
		width: 100%;
		text-align: center;
		font-size: 11px;
		letter-spacing: 0;
		padding: 8px 6px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.qlwapp,
	.qlwapp__container {
		bottom: 78px !important;
	}

	.elementor-407 .elementor-element-cb85434,
	.elementor-407 .elementor-element-e0e032a,
	.elementor-407 .elementor-element-dd43c47,
	.elementor-407 .elementor-element-c014fa0 {
		--margin-top: 0px !important;
		margin-top: 0 !important;
	}

	.elementor-407 .elementor-element-eaa5494 {
		--padding-top: 24px !important;
		padding-top: 24px !important;
	}

	.elementor-407 .elementor-element-9acdc72,
	.elementor-407 .elementor-element-df1bbe9 {
		--margin-top: 0px !important;
		--margin-bottom: 16px !important;
		--margin-left: 0px !important;
		--margin-right: 0px !important;
		margin: 0 0 16px !important;
	}

	.elementor .elementor-widget-image img {
		max-width: 100%;
		height: auto;
	}

}

@media (max-width: 767px) {
	.elementor-407 .elementor-element-548a71d .inner {
		padding: 0 20px !important;
	}

	.elementor-407 .elementor-element-081e1a2 .elementor-heading-title {
		font-size: 26px !important;
		line-height: 1.2;
		padding: 0 12px;
	}

	.elementor-407 .elementor-element-3601431 > .elementor-widget-container,
	.elementor-407 .elementor-element-4b017b3 > .elementor-widget-container {
		padding: 20px 15px 20px !important;
	}

	.product-block.grid .name a {
		font-size: 15px;
		line-height: 1.3;
	}

	.goal-header {
		display: none !important;
	}
}
