/*
 Theme Name:   Tagfitness Child
 Template:     tagfitness
*/



/*///////// single product page ///////*/
/* ============================================================
   TAG FITNESS — WooCommerce Product Page v3
   INSTRUCTIONS:
   1. Paste ALL the CSS below into:
      Appearance → Customize → Additional CSS
   
   2. Paste the JavaScript at the bottom into:
      Appearance → Theme File Editor → your theme's functions.php
      OR use a plugin like "Code Snippets" to add custom JS
   ============================================================ */


/* ═══════════════════════════════════════
   PASTE THIS INTO: Additional CSS
   ═══════════════════════════════════════ */

/* GLOBAL */
body.single-product #primary {
  padding-top: 140px;
}

body.single-product .site-main {
  width: min(1200px, 90%);
  margin: 2em auto;
}

.woocommerce div.product div.summary {
    background: var(--clr-primary);
    padding: 1.6rem 2.6rem 1.6rem 30%;
    width: 70%;
    margin-bottom: 9em;
    margin-top: 4.4em;
    min-height: 360px;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
    position: absolute;
    left: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    transition: all cubic-bezier(.795, -.035, 0, 1) .5s;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 2.9fr 1.1fr;
    width: 116%;
    gap: 20px;
    height: 500px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child a, 
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child img {
    height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #ffffff;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
    width: 100%;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .gallery-thumbnails-container {
    display: flex;
    flex-direction: column;
    gap: calc(7% / 2);
    height: 500px;
    overflow: hidden;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .gallery-thumbnails-container > div {
    height: 31%;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .gallery-thumbnails-container > div a,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .gallery-thumbnails-container > div a img {
    height: 100%;
    background: #ffffff;
}

.woocommerce div.product .product_title {
    color: var(--clr-yellow);
    font-size: 30px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 1px solid var(--clr-black);
    padding-bottom: 3px;
    font-size: 21px;
    margin-bottom: 1.3rem;
    width: max-content;
    font-weight: 500;
}

.woocommerce div.product form.cart {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /*gap: 15px;*/
    margin-bottom: 0;
}

.woocommerce div.product .quantity .qty {
    width: 2.631em;
    height: 2rem;
}

/* Target Chrome, Safari, Edge, and Opera */
.woocommerce div.product .quantity .qty::-webkit-outer-spin-button,
.woocommerce div.product .quantity .qty::-webkit-inner-spin-button { 
  -webkit-appearance: none;
  margin: 0;
}

/* Target Firefox */
.woocommerce div.product .quantity .qty[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield; /* Standard property */
}

/* Size Dropdown */
.woocommerce div.product .custom-size-wrapper {
    /*margin-bottom: 20px;*/
    margin-top: 20px;
}
.woocommerce div.product .custom-size-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.woocommerce div.product .custom-size-select-wrap {
    position: relative;
}
.woocommerce div.product .custom-size-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    appearance: none;
    background-color: #fff;
    cursor: pointer;
}
.woocommerce div.product .custom-size-select-wrap::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
}

/* Quantity Plus/Minus */
.woocommerce div.product .custom-quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    margin-right: 10px;
}
.woocommerce div.product .qty-btn {
    background: #B2B2B2;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    border-radius: 50%;
}
.woocommerce div.product .qty-btn:hover {
    background: #e74c3c;
}
.woocommerce div.product form.cart div.quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
}
.woocommerce div.product .custom-quantity-wrapper input.qty {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    height: 36px;
    -moz-appearance: textfield;
}
.woocommerce div.product .custom-quantity-wrapper input.qty::-webkit-outer-spin-button,
.woocommerce div.product .custom-quantity-wrapper input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
}


.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 3rem 0 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    bottom: auto;
    top: 0;
    border-top: 2px solid #004B8D;
}
.woocommerce-page div.product .woocommerce-tabs {
    border-bottom: 3px solid var(--clr-primary);
    padding-bottom: 30px;
}
.woocommerce-page div.product .woocommerce-tabs h2 {
    font-size: 24px;
    font-weight: 600;
	text-transform: uppercase;
	font-style: italic;
	margin-bottom: 16px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--clr-primary);
    border-radius: 20px;
    border: none;
    margin: 0 5px 10px;
    transition: .3s linear;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #ffffff;
	font-weight: 500;
	text-transform: uppercase;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--clr-yellow);
    color: var(--clr-primary);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--clr-primary);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.woocommerce #reviews #comment {
    height: 145px;
}

.woocommerce div.product .comment-form-rating {
    margin-top: 16px;
}
.woocommerce div.product .comment-form-rating label,
.woocommerce #review_form #respond p label {
    font-size: 20px;
}
.woocommerce #review_form #respond p {
    margin-top: 5px;
}



.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    margin-bottom: 32px;
    color: var(--clr-yellow);
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a {
    color: #ffffff;
}

.woocommerce div.product section.up-sells {
    padding-top: 2em;
    border-bottom: 3px solid var(--clr-primary);
}

.woocommerce div.product section.related.products {
    padding-top: 2em;
}

.woocommerce div.product :is(section.up-sells, section.related.products) > h2 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 24px;
	text-transform: uppercase;
	font-style: italic;
}

.woocommerce div.product :is(section.up-sells, section.related.products) ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 100px;
}

.woocommerce div.product :is(section.up-sells, section.related.products) ul.products::before {
    display: none;
}

.woocommerce div.product :is(section.up-sells, section.related.products) li.product {
    min-height: 190px;
    position: relative;
    display: flex;
    margin: 0;
    width: 380px;
}

.woocommerce div.product :is(section.up-sells, section.related.products) li.product img {
    position: absolute;
    width: 166px;
    z-index: 6;
    background: #ffffff;
    aspect-ratio: 1;
}

.woocommerce div.product :is(section.up-sells, section.related.products) li.product .product-detail-wrapper {
    padding: 10px 10px 10px 35%;
    background-color: var(--clr-primary);
    margin-left: 60px;
    width: 100%;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce div.product :is(section.up-sells, section.related.products) li.product .product-detail-wrapper a:first-child {
    flex: 1;
}

.woocommerce div.product :is(section.up-sells, section.related.products) li.product h2 {
    font-weight: 600;
    font-size: 16px;
    padding: 0;
}

.woocommerce div.product :is(section.up-sells, section.related.products) li.product .amount {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce div.product :is(section.up-sells, section.related.products) li.product .button {
    margin-top: 4px;
}


.woocommerce div.product .product_meta {
    display: none;
}

.woocommerce div.product .woocommerce-variation.single_variation {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}
.woocommerce div.product .woocommerce-variation.single_variation .price {
    color: #ffffff !important;
}
.woocommerce div.product form.cart .variations th {
    font-size: 18px;
    text-align: left;
    text-transform: capitalize;
}
.woocommerce div.product form.cart .variations select {
    background-color: #ffffff;
    padding: 10px;
}

#commentform input {
    padding: 10px;
}

.woocommerce form .form-row {
    padding: 0;
    margin: 0;
}


.gallery-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block;
}


.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
}
.custom-modal-content {
    position: relative;
    margin: 0 auto;
    padding: 20px;
    background: white;
    text-align: center;
    width: 600px;
    aspect-ratio: 4 / 3;
    max-width: 80%;
}
.custom-modal img {
    width: 100%;
    height: 100%;
	object-fit: contain;
}
.custom-modal .close-modal {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 32px;
    cursor: pointer;
}
.custom-modal .prev, 
.custom-modal .next {
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.custom-modal .prev {
    left: -9%;
}
.custom-modal .next {
    right: -9%;
}



@media (max-width: 1279px) {
    .woocommerce div.product div.images.woocommerce-product-gallery {
        position: relative;
        width: 100%;
    }
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
        width: 100%;
    }
    .woocommerce div.product div.summary {
        margin-bottom: 3em;
        margin-top: 0em;
        min-height: auto;
    }
    .woocommerce div.product div.summary {
        padding: 1.6rem 20px 1.6rem 20px;
        width: 100%;
    }
    
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child,
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child a, 
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child img,
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper .gallery-thumbnails-container {
        height: 400px;
        width: 100%;
    }
    .woocommerce div.product :is(section.up-sells, section.related.products) li.product {
        width: 335px;
    }
}

@media (max-width: 767px) {
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child,
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child a, 
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child img,
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper .gallery-thumbnails-container {
        height: 240px;
        gap: 10px;
    }
    .woocommerce div.product :is(section.up-sells, section.related.products) li.product {
        width: 320px;
    }
    .woocommerce div.product :is(section.up-sells, section.related.products) li.product .product-detail-wrapper {
        margin-left: 34px;
    }
    .woocommerce div.product :is(section.up-sells, section.related.products) li.product img {
        width: 140px;
    }
    .custom-modal-content {
        height: 300px;
    }
}



/*////////// category page styling ////////////*/
:is(.woocommerce-shop, .tax-product_cat) #main.site-main .page-numbers,
:is(.woocommerce-shop, .tax-product_cat) ul.page-numbers li a.next.page-numbers,
:is(.woocommerce-shop, .tax-product_cat) #sidebar {
	display: none;
}

:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header__title.page-title {
	position: relative;
	z-index: 10;
}

:is(.woocommerce-shop, .tax-product_cat) header.woocommerce-products-header {
	min-height: 460px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(/wp-content/uploads/2026/04/558477297_1636130381059040_387535591897532945_n.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}

:is(.woocommerce-shop, .tax-product_cat) header.woocommerce-products-header::before {
	content: '';
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(#1018286b, #101828);
}

:is(.woocommerce-shop, .tax-product_cat) header.woocommerce-products-header::after {
	content: '';
	position: absolute;
	bottom: -28px;
	left: -20%;
	z-index: 8;
	height: 150px;
	width: 140%;
	background: linear-gradient(
		to bottom,
		transparent,
		#101828,
		var(--clr-black)
	);
	filter: blur(12px);
}

:is(.woocommerce-shop, .tax-product_cat) .woocommerce-result-count {
	float: right;
	font-family: 'Saira';
	margin-top: -14px;
	font-weight: 600;
}

:is(.woocommerce-shop, .tax-product_cat) .woocommerce-ordering {
	float: left;
}

:is(.woocommerce-shop, .tax-product_cat) .woocommerce-ordering select {
	padding: 10px;
	margin-bottom: 18px;
	margin-top: -22px;
}

:is(.woocommerce-shop, .tax-product_cat) ul.products.columns-4 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

:is(.woocommerce-shop, .tax-product_cat) ul.products li.product {
	width: 100%;
	margin: 0;
}

:is(.woocommerce-shop, .tax-product_cat) ul.products::before {
	display: none;
}

:is(.woocommerce-shop, .tax-product_cat) ul.products li.product .woocommerce-loop-product__title {
	font-weight: 600;
	margin-top: -10px;
}

:is(.woocommerce-shop, .tax-product_cat) .woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
	margin-bottom: 10px;
}

:is(.woocommerce-shop, .tax-product_cat) .woocommerce-breadcrumb a {
	font-family: 'Montserrat';
}

:is(.woocommerce-shop, .tax-product_cat) ul.products li.product .price {
	font-family: 'Montserrat';
	color: var(--clr-yellow) !important;
	font-weight: 500;
}

:is(.woocommerce-shop, .tax-product_cat) .add_to_cart_button {
	display: none !important;
}

:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination ul li span.current {
	background: var(--clr-primary);
	color: #ffffff;
}

:is(.woocommerce-shop, .tax-product_cat) li.product .woocommerce-LoopProduct-link {
	position: relative;
	background-color: #ffffff;
	display: block;
}

:is(.woocommerce-shop, .tax-product_cat) .product-image-icons {
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 10;
	opacity: 1;
	transition: opacity 0.3s ease;
}

:is(.woocommerce-shop, .tax-product_cat) li.product:hover .product-image-icons {
	opacity: 1;
}

:is(.woocommerce-shop, .tax-product_cat) .product-wishlist-btn,
:is(.woocommerce-shop, .tax-product_cat) .product-cart-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--clr-red);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

:is(.woocommerce-shop, .tax-product_cat) .product-wishlist-btn {
	background: transparent;
}

:is(.woocommerce-shop, .tax-product_cat) ul.products li.product a img {
	aspect-ratio: 1;
	object-fit: contain;
}

.single-product ul.products li.product a img {
	object-fit: contain;
}

.gallery-thumbnails-container .woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/*////// fav products /wishlist style starts /////// */
.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button-over-image--top-left {
    right: -7px;
    top: 0;
	left: auto;
	color: var(--clr-red) !important;
}
.yith-add-to-wishlist-button-block {
    width: auto;
}
.woocommerce table.shop_table.wishlist_table tr td,
.wishlist_table thead tr th {
	background: transparent !important;
	color: #ffffff;
	border-color: #ffffff50;
}
.wishlist-title.wishlist-title-with-form h2:hover {
    background: transparent;
}
.btn.button.show-title-form {
	display: none !important;
}

.wishlist_table .attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    width: 200px;
    aspect-ratio: 1;
    object-fit: contain;
    background: #ffffff;
}

.wishlist_table li {
    display: flex;
    margin-bottom: 40px !important;
}

.wishlist_table .additional-info-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

/*////// fav products /wishlist style ends /////// */


:is(.woocommerce-shop, .tax-product_cat) .load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

:is(.woocommerce-shop, .tax-product_cat) .load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-image-icons .cart-text {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 36px;
    border-radius: 100px;
    background-color: var(--clr-red);
    border: none;
    cursor: pointer;
    text-align: center;
    color: white;
	text-wrap: nowrap;
    font-size: 14px;
    font-weight: 600;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 0 16px;
    opacity: 0;
	visibility: hidden;
    transition: opacity 0.3s ease;
	width: 0;
}

.cart-text:hover,
.product-cart-btn:hover .cart-text {
    opacity: 1;
	visibility: visible;
	width: auto;
}

:is(.woocommerce-shop, .tax-product_cat) .product-wishlist-btn {
	display: none !important;
}

.woocommerce ul.products li.product .onsale {
	right: auto;
	left: -10px;
}

.woocommerce-cart .wp-block-woocommerce-product-collection,
.woocommerce-cart .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--icon-button:is(button),
.single-product .add-to-wishlist-before_image.product.type-product .yith-add-to-wishlist-button-block,
.single-product .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
    display: none;
}

.woocommerce-cart .wc-block-grid__products .wc-block-grid__product-image img {
    aspect-ratio: 1;
    object-fit: contain;
    background: #ffffff;
}



@media(max-width: 767px) {
	:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header__title.page-title {
		font-size: 36px;		
	}
	:is(.woocommerce-shop, .tax-product_cat) .woocommerce-result-count {
		float: left;
		margin-bottom: 40px;
        margin-right: 20px;
	}
	.wishlist_table li {
	    flex-direction: column;
	}
}

@media (max-width: 768px) {
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
		margin: 0 !important;
    }
}

@media (max-width: 639px) {
	:is(.woocommerce-shop, .tax-product_cat) ul.products.columns-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

/*////////// header popup forms ////////////*/
body.tagfitness-popup-open {
	overflow: hidden;
}

.tagfitness-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(16, 24, 40, 0.72);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tagfitness-popup-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.tagfitness-popup {
	width: min(760px, 100%);
	max-height: 92vh;
	overflow: auto;
	position: relative;
	background: #FFFDFA;
	border-radius: 18px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(0, 75, 141, 0.1);
}

.tagfitness-popup-header {
	padding: 30px 32px 18px;
	background: linear-gradient(135deg, var(--clr-primary), #004B8D);
	color: #FFFDFA;
	margin: -10px;
}

.tagfitness-popup-kicker {
	margin: 0px;
	font-family: "Saira", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	opacity: 0.85;
}

.tagfitness-popup-title {
	margin: 0;
	font-family: "Saira", sans-serif;
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.1;
	font-style: italic;
}

.tagfitness-popup-subtitle {
	margin: 3px 0 0;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

.tagfitness-popup-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	z-index: 10;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #FFFDFA;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.tagfitness-popup-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.tagfitness-popup-body {
	padding: 28px 32px 34px;
}

.tagfitness-popup-body .wpcf7 form {
	display: grid;
	gap: 0px;
}

.tagfitness-popup-body .wpcf7-form-control-wrap {
	display: block;
}

.tagfitness-popup-body input[type="text"],
.tagfitness-popup-body input[type="email"],
.tagfitness-popup-body input[type="tel"],
.tagfitness-popup-body input[type="number"],
.tagfitness-popup-body textarea,
.tagfitness-popup-body select {
	width: 100%;
	border: 1px solid #d2dae5;
	border-radius: 10px;
	padding: 13px 14px;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	background: #FFFDFA;
	color: #101828;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tagfitness-popup-body input:focus,
.tagfitness-popup-body textarea:focus,
.tagfitness-popup-body select:focus {
	outline: none;
	border-color: var(--clr-primary);
	box-shadow: 0 0 0 3px rgba(0, 75, 141, 0.14);
}

.tagfitness-popup-body textarea {
	min-height: 140px;
	resize: vertical;
}

.tagfitness-popup-body .wpcf7-submit {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 6px 26px;
	font-family: "Saira", sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0px;
	text-transform: uppercase;
	background: var(--clr-red);
	color: #FFFDFA;
	cursor: pointer;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.tagfitness-popup-body .wpcf7-submit:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.tagfitness-popup-missing-form {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	padding: 14px;
	border-left: 4px solid var(--clr-red);
	background: #fff8f8;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
    color: initial;
}

/* Smart popup scrollbar (desktop + mobile) */
.tagfitness-popup {
  max-height: min(92vh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
  -webkit-overflow-scrolling: touch;
}

/* Firefox */
.tagfitness-popup {
  scrollbar-width: thin;
  scrollbar-color: #004B8D #e9eef6;
}

/* Chrome/Edge/Safari */
.tagfitness-popup::-webkit-scrollbar {
  width: 10px;
}

.tagfitness-popup::-webkit-scrollbar-track {
  background: #e9eef6;
  border-radius: 999px;
}

.tagfitness-popup::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0d63ad, #004b8d);
  border-radius: 999px;
  border: 2px solid #e9eef6;
}

.tagfitness-popup::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1674c3, #0b5fa6);
}

/* Optional: keep submit area visible feeling on long forms */
.tagfitness-popup-body {
  padding-bottom: 20px;
  margin-left: -10px;
}


@media (max-width: 767px) {
	.tagfitness-popup-overlay {
		padding: 12px;
	}

	.tagfitness-popup-header {
		padding: 26px 20px 16px;
	}

	.tagfitness-popup-body {
		padding: 20px 20px 24px;
	}
}







