/* Medium Layout: 1280px. */
@media only screen and (min-width: 992px) {
}

@media only screen and (min-width: 992px) and (max-width: 1200px) { 
	.hero-text h1 {
	    font-size: 45px;
	}

	a.video-play-btn {
		right: 51%;
	}
	.hero-area div.hero-form {
		bottom: -20%;
	}

	.cart-buttons a:first-child {
	    margin-right: 0;
	    margin-bottom: 15px;
	}
	.contact-form form p input[type=email] {
	    margin-left: 8px;
	}
	.contact-form-box h4 i {
	    left: -20%;
	}
	.comment-template form p input[type=email] {
	    margin-left: 8px;
	}
	ul.main-menu li a {
	    padding: 15px 13px;
	}
	span.close-btn {
	    right: 0;
	}
	ul.sub-menu li a {
	    padding: 7px 10px;
	}

}
/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) { 
	.hero-text h1 {
	    font-size: 40px;
	}
	.footer-box {
	    margin-bottom: 40px;
	}
	.copyright p {
	    text-align: center;
	}
	.copyright .social-icons {
	    text-align: center;
	}
	.single-team-item {
	    margin-bottom: 30px;
	}
	table.cart-table {
	    margin-bottom: 50px;
	}
	.order-details-wrap {
	    margin-top: 50px;
	}
	.contact-form form p input[type=text], 
	.contact-form form p input[type=tel], 
	.contact-form form p input[type=email] {
	    width: 100%;
	}

	.contact-form form p input[type=email] {
	    margin-left: 0;
	    margin-top: 15px;
	}
	.contact-form form p input[type=tel] {
		margin-bottom: 15px;
	}

	.hero-area div.hero-form {
		width: 325px;
		top: 30%;
	}

	.comment-template form p input[type=text], 
	.comment-template form p input[type=email] {
	    width: 100%;
	}

	.comment-template form p input[type=email] {
	    margin-top: 15px;
	    margin-left: 0;
	}
	.sidebar-section {
	    margin-left: 0;
	    margin-top: 50px;
	}
	.single-product-img {
	    margin-bottom: 30px;
	}
	.single-product-img img {
	    width: 100%;
	}
	.single-project-img img {
	    width: 100%;
	}
	.site-logo a img {
	    max-width: 150px;
	}
	.site-logo {
	    text-align: center;
	    position: absolute;
	    z-index: 999;
	}
	.mean-container .mean-bar {
		z-index: 2;
	}
	.responsive-menu-wrap {
	    display: block;
	}
	.header-icons {
	    text-align: center;
	}
	.top-header-area {
	    padding: 15px 0;
	}

	.responsive-menu-wrap {
	    position: absolute;
	    top: 0;
	}

	.featured-section {
	    padding: 0;
	}

	/* About section tablet optimization */
	.abt-section .section-title h3 {
		font-size: 32px;
		margin-bottom: 15px;
	}

	.abt-section .abt-bg {
		height: 300px;
		margin: 0 auto 20px auto;
		max-width: 100%;
	}

	.abt-section .abt-text {
		padding: 30px;
		text-align: center;
		margin: 0 auto;
		max-width: 100%;
		display: block;
	}

	.abt-section .abt-text h2 {
		font-size: 28px;
		margin-bottom: 20px;
	}

	/* Vision Mission tablet optimization */
	.abt-section .row > div:first-child .abt-text,
	.abt-section .row > div:last-child .abt-text {
		text-align: left;
		padding-left: 15px;
		padding-right: 15px;
	}

	/* Product categories tablet optimization */
	.product-section .single-product-item {
		margin-bottom: 40px;
		padding: 25px;
	}

	.product-section .product-image img {
		height: 220px;
		margin-bottom: 20px;
	}

	.product-section h3 {
		font-size: 20px;
		margin-bottom: 10px;
	}

	.product-section .category-description {
		font-size: 15px;
		margin-bottom: 5px;
	}

	.responsive-menu-wrap {
	    left: 50%;
	    margin-top: 10px;
	    margin-left: -57.5px;
	}
	.hero-text-tablecell {
	    padding: 0px 70px;
	}
	.hero-form .hero-text h1 {
	    font-size: 30px;
	}

	.hero-form .hero-text p.subtitle {
	    font-size: 13px;
	}

	.hero-form .hero-btns a.bordered-btn {
	    margin-left: 0;
	    margin-top: 20px;
	}

	.sticky-wrapper.is-sticky .top-header-area {
	    position: absolute!important;
	    background-color: transparent;
	}
	.featured-box {
	    padding: 30px;
	}

	.featured-section {
	    padding: 100px 0;
	}
	nav.main-menu {
	    display: none;
	}
	table.order-details {
	    width: 100%;
	}
	.contact-form-box h4 i {
	    left: -7%;
	}
	.single-product-content h3 {
	    font-size: 20px;
	    font-weight: 500;
	    line-height: 1.6;
	}

	.single-product-content {
	    margin-left: 15px;
	}
	a.mobile-hide.search-bar-icon {
	    display: none!important;
	}
	.mobile-show {
		display: block!important;
	}
	a.mobile-show.search-bar-icon {
	    position: absolute;
	    right: 60px;
	    top: 22px;
	    z-index: 999;
	    color: #fff;
	}

}

/* Mobile Layout: 320px. */
@media only screen and (max-width: 767px) {

	.site-logo img {
	    max-width: 100px;
	}

	.responsive-menu-wrap {
	    top: -35px;
	}

	span.close-btn {
		right: 35px;
	}
	.header-icons {
	    text-align: center;
	}
	.hero-text h1 {
	    font-size: 28px;
	}

	.hero-text p.subtitle {
	    font-size: 13px;
	}
	.section-title p {
	    max-width: 400px;
	}

	.section-title h3 {
	    font-size: 25px;
	}

	p.testimonial-body {
	    font-size: 15px;
	}
	.responsive-menu {
	    left: auto;
	    right: 0;
	}

	.featured-section {
	    padding: 0;
	}

	a.video-play-btn {
	    right: auto;
	    left: 50%;
	    margin-left: -45px;
	}

	.shop-banner h3 {
		font-size: 34px;
	}

	.footer-box {
	    /* margin-bottom: 50px; */
	}

	.copyright p {
	    text-align: center;
	}

	.social-icons {
	    text-align: center;
	}

	.footer-area {
		padding: 80px 0;
	}

	.hero-text {
	    text-align: center;
	}

	.responsive-menu-wrap {
	    position: relative;
	}

	.breadcrumb-text h1 {
	    font-size: 30px;
	}

	.feature-bg:after {
	    display: none;
	}
	
	.text-block {
	    margin-bottom: 50px;
	}

	.single-team-item {
	    margin-bottom: 50px;
	}

	.team-bg {
	    height: 450px;
	}

	.total-section {
	    margin-top: 30px;
	}

	.order-details-wrap {
	    margin-top: 50px;
	}

	.contact-form form p input[type=text], 
	.contact-form form p input[type=tel], 
	.contact-form form p input[type=email] {
	    width: 100%;
	}
	.contact-form form p input[type=tel] {
		margin-bottom: 15px;
	}

	.contact-form form p input[type=email] {
	    margin-left: 0;
	    margin-top: 15px;
	}

	.find-location p {
	    font-size: 20px;
	}

	.comment-template form p input[type=email] {
	    margin-left: 0;
	    margin-top: 15px;
	}

	.comment-template form p input[type=text], 
	.comment-template form p input[type=email] {
	    width: 100%;
	}

	.sidebar-section {
	    margin-left: 0;
	    margin-top: 50px;
	}

	.single-product-content {
	    margin-left: 0;
	    margin-top: 15px;
	}

	.single-product-content h3 {
	    font-size: 20px;
	    line-height: 1.5;
	}

	.product-image {
	    padding: 20px;
	    padding-bottom: 0;
	}

	.header-icons {
	    text-align: right;
	    margin-top: 15px;
	}

	.feature-bg {
	    margin: 20px 0;
	}

	.margin-top-150p {
	    margin-top: 650px;
	}

	.display-hidden {
	    display: none;
	}

	.hero-area div.hero-form {
		right: 0;
	}

	.hero-btns a.boxed-btn {
	    display: block;
	    margin: 0 auto;
	}

	.hero-btns {
	    text-align: center;
	}

	.hero-btns a.bordered-btn {
	    margin-left: 0;
	    margin-top: 15px;
	    display: block;
	}
	.hero-area div.hero-form {
		width: auto;
	}
	.section-title p {
		max-width: 285px;
	}

	p.testimonial-body {
		max-width: 285px;
	}
	.hero-area div.hero-form {
		top: 0;
	}
	.single-media-wrap h4 {
	    font-size: 15px;
	}

	.sticky-wrapper.is-sticky .top-header-area {
	    position: absolute!important;
	    background-color: transparent;
	    padding: 25px 0;
	}
	.featured-box {
	    padding: 0 45px;
	    margin-bottom: 10px;
	}

	.featured-section {
	    padding: 100px 0;
	}
	.search-bar-tablecell input {
	    font-size: 20px;
	}
	.header-icons {
		margin-top: 0;
	}
	.site-logo {
    position: absolute;
	    z-index: 99;
	}

	.mean-container .mean-bar {
	    z-index: 2;
	}
	.section-title {
	    margin-bottom: 1px;
	}
	.service-text h3 {
	    font-size: 18px;
	}
	.featured-box h2 {
	    font-size: 23px;
	}

	.featured-box h3 {
	    font-size: 18px;
	}

	.cta-text h3 {
	    line-height: 1.6;
	}

	.news-text-box h3 {
	    font-size: 20px;
	    line-height: 1.5;
	}

	.copyright p {
	    padding-bottom: 0;
	}
	.single-service-box {
	    padding: 30px;
	}

	.service-icon-table {
	    height: 80px;
	}

	.service-icon-tablecell i {
	    font-size: 30px;
	}

	.main-menu {
	    display: none;
	}
	.error-text h1 {
	    font-size: 25px;
	}
	h2.widget-title {
	    font-size: 20px;
		margin-top: 30px;
	}
	.cart-table-wrap {
	    width: 100%;
	    overflow-x: scroll;
	}
	table.cart-table {
		width: 690px;
	}
	.cart-buttons a:first-child {
	    margin-bottom: 15px;
	}
	.form-title h2 {
	    font-size: 20px;
	}

	.contact-form-box h4 i {
	    left: -20%;
	}
	.featured-text p {
	    line-height: 1.8;
	}
	.single-artcile-bg {
	    height: 300px;
	}

	.single-article-text h2 {
	    font-size: 20px;
	}

	.comments-list-wrap h3, .comment-template h4 {
	    font-size: 20px;
	}

	.comment-user-avater img {
	    max-width: 45px;
	}

	.comment-text-body {
	    padding-left: 60px;
	}

	.comment-text-body h4 a {
	    display: block;
	    border: none;
	    margin-left: 0;
	    margin-top: 10px;
	}

	.comment-text-body h4 {
	    font-size: 18px;
	}

	.comment-text-body p {
	    line-height: 1.8;
	}

	.single-comment-body.child {
	    margin-left: 0;
	}
	.single-product-content h3 {
	    font-size: 20px;
	    line-height: 1.5;
	}
	a.mobile-hide.search-bar-icon {
	    display: none!important;
	}
	.mobile-show {
		display: block!important;
	}
	a.mobile-show.search-bar-icon {
	    position: absolute;
	    right: 60px;
	    top: 22px;
	    z-index: 999;
	    color: #fff;
	}

	/* About section mobile optimization */

	/* About Us heading above section */
	.abt-section .section-title h3 {
		font-size: 28px;
		margin-bottom: 10px;
	}

	.abt-section .abt-bg {
		display: block !important;
		height: 250px;
		margin: 0 auto 30px auto;
		border-radius: 15px;
		overflow: hidden;
		position: relative;
		max-width: 100%;
	}

	.abt-section .abt-bg a.video-play-btn {
		position: absolute;
		top: 50%;
		left: 54%;
		/* transform: translate(-50%, -50%); */
		font-size: 24px;
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.9);
		color: #1564b8;
		display: flex;
		align-items: center;
		justify-content: center;
		box-shadow: 0 4px 15px rgba(0,0,0,0.3);
		transition: all 0.3s ease;
		z-index: 10;
	}

	.abt-section .abt-bg a.video-play-btn:hover {
		background: #1564b8;
		color: white;
		/* transform: translate(-50%, -50%) scale(1.1); */
	}

	.abt-section .abt-text {
		padding: 20px;
		text-align: center !important;
		margin: 0 auto;
		max-width: 100%;
		display: block;
	}

	.abt-section .abt-text h2 {
		font-size: 24px;
		margin-bottom: 15px;
		line-height: 1.3;
	}

	.abt-section .abt-text p {
		font-size: 16px;
		line-height: 1.6;
		margin-bottom: 15px;
	}

	.abt-section .abt-text .boxed-btn {
		margin-top: 20px;
		display: inline-block;
	}

	/* Vision Mission section mobile optimization */
	.abt-section .row > div:first-child .abt-text {
		text-align: left;
		padding-left: 0;
		padding-right: 10px;
	}

	.abt-section .row > div:last-child .abt-text {
		text-align: right;
		padding-right: 0;
		padding-left: 0;
	}

	.abt-section .abt-text p.top-sub {
		font-size: 14px;
		margin-bottom: 8px;
		text-transform: uppercase;
		font-weight: 600;
		letter-spacing: 1px;
	}

	/* Button below mission section */
	.abt-section .boxed-btn {
		display: inline-block;
		margin: 20px auto;
	}

	/* Mobile background colors for About, Vision, Mission sections */
	/* About Us section background - grey */
	.abt-section:nth-of-type(1) {
		background-color: #f8f9fa;
		padding: 40px 0;
		margin: 20px 0;
		border-radius: 10px;
	}

	/* Vision section background - white */
	.abt-section:nth-of-type(2) .row > div:first-child .abt-text {
		background-color: #ffffff;
		padding: 25px 20px;
		border-radius: 10px;
		margin-bottom: 20px;
		box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	}

	/* Mission section background - grey */
	.abt-section:nth-of-type(2) .row > div:last-child .abt-text {
		background-color: #f8f9fa;
		padding: 25px 20px;
		border-radius: 10px;
		margin-bottom: 20px;
		box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	}

	/* Personalized Formulations section - center content on mobile */
	.abt-section:nth-of-type(3) .row > div:last-child .abt-text {
		text-align: center !important;
		padding: 20px;
	}

	/* Product categories mobile optimization */
	.product-section {
		/* padding: 60px 0; */
	}

	.product-section .single-product-item {
		margin-bottom: 30px;
		padding: 20px;
		background: #fff;
		border-radius: 10px;
		box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	}

	.product-section .product-image img {
		width: 100%;
		height: 180px;
		object-fit: cover;
		border-radius: 8px;
		margin-bottom: 15px;
	}

	.product-section h3 {
		font-size: 18px;
		font-weight: 600;
		margin-bottom: 8px;
		line-height: 1.3;
	}

	.product-section .category-description {
		font-size: 14px;
		line-height: 1.4;
		color: #666;
		margin-bottom: 0;
	}

	.product-section .section-title h3 {
		font-size: 24px;
		margin-bottom: 15px;
	}

	.product-section .section-title p {
		font-size: 14px;
		line-height: 1.5;
		margin-bottom: 0;
		max-width: 100%;
	}

	.product-section .cta-buttons {
		/* margin-top: 30px; */
	}

	.product-section .cta-buttons a {
		display: block;
		margin: 10px 0;
		width: 100%;
		max-width: 250px;
		margin-left: auto;
		margin-right: auto;
	}

	/* Counter stats section mobile layout */
	.time-countdown {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		gap: 10px;
		justify-items: center;
		align-items: center;
		text-align: center;
	}

	.time-countdown .counter-column:nth-child(1) {
		grid-column: 1;
		grid-row: 1;
	}

	.time-countdown .counter-column:nth-child(2) {
		grid-column: 1 / span 2;
		grid-row: 2;
		margin: 10px auto;
	}

	.time-countdown .counter-column:nth-child(3) {
		grid-column: 2;
		grid-row: 1;
	}

	/* Hide capsule icons and individual products section on mobile */
	.product-card .product-icon {
		display: none;
	}

	.individual-products {
		display: none;
	}

	/* Optimize product card layout for mobile */
	.product-card .card-body {
		padding: 15px;
	}

	.product-card h6 {
		font-size: 16px;
		margin-bottom: 8px;
	}

	/* Optimize category tabs for mobile - display all on screen */
	.category-tabs {
		padding: 10px 0;
	}

	.category-tabs .nav-pills {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		padding: 0 15px;
		margin-bottom: 0;
	}

	.category-tabs .nav-pills .nav-link {
		flex-shrink: 0;
		padding: 8px 16px;
		margin: 2px 0;
		font-size: 13px;
		font-weight: 500;
		border-radius: 18px;
		white-space: nowrap;
		min-width: auto;
	}

	/* Improve product cards mobile layout */
	.individual-products .row {
		margin: 0 -5px;
	}

	.individual-products .col-lg-6 {
		padding: 0 5px;
		margin-bottom: 15px;
	}

	.individual-products .card-text {
		font-size: 14px;
		line-height: 1.4;
		margin-bottom: 12px;
	}

	.individual-products .btn-sm {
		font-size: 12px;
		padding: 6px 12px;
	}

	/* Sports Nutrition Hero section mobile optimization */
	.sports-nutrition-hero .sports-content h2 {
		line-height: 1.4;
		margin-bottom: 20px;
	}

	.sports-nutrition-hero .key-features .row {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.sports-nutrition-hero .key-features .col-md-6 {
		flex: 1;
		padding: 0;
		width: 100%;
	}

	/* Center the Request Information button */
	.sports-nutrition-hero .boxed-btn {
		display: block;
		margin: 20px auto 0 auto;
		text-align: center;
		width: fit-content;
	}

	.personalized-formulations-right {
		padding-left: 15px !important;
		margin-top: 20px !important;
	}

}
/* Wide Mobile Layout: 480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) { 
	.hero-area div.hero-form {
	    margin: 0 auto;
	    right: auto;
	    width: 380px;
	    left: 50%;
	    margin-left: -190px;
	}

	.personalized-formulations-right {
		padding-left: 0 !important;
	}

	.hero-btns {
	    text-align: center;
	}

	.hero-btns a.bordered-btn {
	    margin-left: 0;
	    margin-top: 15px;
	    display: block;
	}
}

@media only screen and (max-width: 767.96px) {
    .vision-mission-section {
        margin-top: 0px !important;
    }

    /* Improve hero slider mobile handling */
    .homepage-slider {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y pinch-zoom;
    }

    .single-homepage-slider {
        min-height: 100vh;
        touch-action: pan-y;
    }

    .hero-text-tablecell {
        padding: 20px;
        position: relative;
        z-index: 2;
    }

    .hero-text h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    .hero-text p.subtitle {
        font-size: 12px !important;
    }

    /* Prevent text from disappearing on mobile */
    .hero-text-tablecell .subtitle,
    .hero-text-tablecell h1,
    .hero-btns {
        opacity: 1 !important;
        transform: none !important;
    }


    /* Additional mobile slider fixes */
    .owl-carousel .owl-stage {
        touch-action: pan-y;
    }

    .owl-carousel .owl-item {
        touch-action: pan-y;
    }
}

/* Additional mobile breakpoints for hero slider */
@media only screen and (max-width: 480px) {
    .hero-text-tablecell {
        padding: 15px;
    }

    .hero-text h1 {
        font-size: 20px !important;
        line-height: 1.1 !important;
    }

    .single-homepage-slider {
        min-height: 90vh;
    }

    .homepage-slider {
        touch-action: pan-y;
    }
}