/* ==========================================================================
   TFitness UI — GymEdge Child
   Brand: #4b0070 violet · #ff8300 orange
   ========================================================================== */

:root {
	--tf-violet: #4b0070;
	--tf-violet-deep: #32004c;
	--tf-orange: #ff8300;
	--tf-orange-hot: #ff6a00;
	--tf-ink: #1a1224;
	--tf-muted: #6b6475;
	--tf-line: rgba(75, 0, 112, 0.12);
	--tf-surface: #ffffff;
	--tf-soft: #faf7fc;
	--tf-radius: 16px;
	--tf-shadow: 0 10px 30px rgba(50, 0, 76, 0.1);
	--tf-font: Tahoma, "IRANSansX", "Segoe UI", sans-serif;
}

html {
	overflow-x: hidden;
}

body.tf-site,
body {
	font-family: var(--tf-font);
	color: var(--tf-ink);
	background: var(--tf-soft);
}

/* Hide leftover shortcode-only menu items */
.elementor-nav-menu a[href="#"]:empty,
.menu-item a:empty {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.tf-topbar,
#tophead.tf-topbar {
	background: linear-gradient(90deg, var(--tf-violet-deep), var(--tf-violet));
	color: #fff;
	font-size: 13px;
	padding: 8px 0;
}

.tf-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.tf-topbar__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
}

.tf-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff !important;
	text-decoration: none !important;
	opacity: 0.95;
}

.tf-topbar__item i {
	color: var(--tf-orange);
}

.tf-topbar__ig {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	padding: 6px 14px;
	color: #fff !important;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.tf-topbar__ig:hover {
	background: var(--tf-orange);
	transform: translateY(-1px);
}

@media (max-width: 640px) {
	.tf-topbar__hours {
		display: none;
	}
	.tf-topbar__ig span {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.tf-header,
#masthead.tf-header {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--tf-line);
	box-shadow: 0 4px 20px rgba(50, 0, 76, 0.06);
	position: sticky;
	top: 0;
	z-index: 999;
}

.tf-header .tf-header__bar {
	padding-top: 10px;
	padding-bottom: 10px;
}

.tf-header .site-branding img {
	max-height: 52px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.tf-header .main-navigation nav > ul > li > a {
	font-weight: 700;
	color: var(--tf-ink) !important;
	padding: 10px 14px !important;
	border-radius: 10px;
	transition: color 0.2s ease, background 0.2s ease;
}

.tf-header .main-navigation nav > ul > li > a:hover,
.tf-header .main-navigation nav > ul > li.current-menu-item > a {
	color: var(--tf-violet) !important;
	background: rgba(75, 0, 112, 0.06);
}

.tf-header .main-navigation ul.sub-menu {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--tf-shadow);
	border: 1px solid var(--tf-line);
}

.tf-header .cart-icon-area > a,
.tf-header .search-button {
	color: var(--tf-violet) !important;
}

.tf-header .cart-icon-num {
	background: var(--tf-orange) !important;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.tf-footer {
	margin-top: 48px;
	color: #e8e0ef;
	background: #12081c;
	position: relative;
}

.tf-footer__accent {
	height: 4px;
	background: linear-gradient(90deg, var(--tf-violet), var(--tf-orange), var(--tf-violet));
}

.tf-footer__main {
	padding: 48px 0 32px;
}

.tf-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 32px;
}

.tf-footer__logo img {
	max-height: 48px;
	width: auto;
	filter: brightness(1.05);
}

.tf-footer__brand-name {
	font-size: 1.5rem;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
}

.tf-footer__about {
	margin: 14px 0 18px;
	line-height: 1.8;
	color: #cbbfd8;
	font-size: 14px;
}

.tf-footer__ig-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
	color: #fff !important;
	text-decoration: none !important;
	padding: 12px 18px;
	border-radius: 999px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(221, 42, 123, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tf-footer__ig-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(221, 42, 123, 0.35);
}

.tf-footer__title {
	color: #fff;
	font-size: 1.05rem;
	font-weight: 800;
	margin: 0 0 16px;
	position: relative;
	padding-bottom: 10px;
}

.tf-footer__title::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	border-radius: 999px;
	background: var(--tf-orange);
}

.tf-footer__links,
.tf-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tf-footer__links li,
.tf-footer__contact li {
	margin-bottom: 10px;
}

.tf-footer__links a,
.tf-footer__contact a {
	color: #d6cce2 !important;
	text-decoration: none !important;
}

.tf-footer__links a:hover,
.tf-footer__contact a:hover {
	color: var(--tf-orange) !important;
}

.tf-footer__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.7;
	color: #d6cce2;
	font-size: 14px;
}

.tf-footer__contact i {
	color: var(--tf-orange);
	margin-top: 4px;
	width: 16px;
}

.tf-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 0;
	text-align: center;
	font-size: 13px;
	color: #a89bb8;
}

@media (max-width: 900px) {
	.tf-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

/* --------------------------------------------------------------------------
   Prices
   -------------------------------------------------------------------------- */
.tf-price {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
	font-family: var(--tf-font);
}

.tf-price__num {
	font-weight: 800;
	font-size: 1.15em;
	color: var(--tf-violet);
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
}

.tf-price__unit {
	font-size: 0.78em;
	font-weight: 700;
	color: var(--tf-orange);
	background: rgba(255, 131, 0, 0.12);
	padding: 2px 8px;
	border-radius: 999px;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.elementor-widget-woocommerce-products .price,
.elementor-widget-woocommerce-product-price .price {
	color: var(--tf-violet) !important;
}

/* --------------------------------------------------------------------------
   Shop / product archive cards
   -------------------------------------------------------------------------- */
.woocommerce ul.products,
.elementor-widget-woocommerce-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}

.woocommerce ul.products li.product,
.elementor-widget-woocommerce-products ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	background: var(--tf-surface);
	border: 1px solid var(--tf-line);
	border-radius: var(--tf-radius);
	box-shadow: var(--tf-shadow);
	overflow: hidden;
	padding: 0 0 18px !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(50, 0, 76, 0.14);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	padding: 0 16px !important;
	color: var(--tf-ink) !important;
}

.woocommerce ul.products li.product .price {
	padding: 0 16px 8px !important;
	display: block;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
	margin: 8px 16px 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px !important;
	border-radius: 12px !important;
	background: linear-gradient(135deg, var(--tf-violet), var(--tf-violet-deep)) !important;
	color: #fff !important;
	border: 0 !important;
	font-weight: 700 !important;
}

.woocommerce ul.products li.product .button:hover {
	background: linear-gradient(135deg, var(--tf-orange), var(--tf-orange-hot)) !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 18px;
}

.woocommerce .page-title,
.woocommerce-products-header__title {
	font-weight: 900;
	color: var(--tf-violet);
}

/* Product archive Elementor template polish */
.elementor-location-archive .elementor-widget-heading .elementor-heading-title {
	font-weight: 900;
}

/* --------------------------------------------------------------------------
   Homepage Elementor polish
   -------------------------------------------------------------------------- */
.home .elementor-widget-button .elementor-button,
.page-id-68 .elementor-widget-button .elementor-button {
	border-radius: 12px !important;
	font-weight: 700 !important;
	min-height: 44px;
	padding: 12px 22px !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home .elementor-widget-button .elementor-button:hover,
.page-id-68 .elementor-widget-button .elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(75, 0, 112, 0.25);
}

.home .elementor-section.elementor-section-boxed > .elementor-container,
.page-id-68 .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1140px;
}

.home .elementor-widget-heading .elementor-heading-title,
.page-id-68 .elementor-widget-heading .elementor-heading-title {
	letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Instagram landing page
   -------------------------------------------------------------------------- */
.tf-ig-page {
	background: var(--tf-soft);
}

.tf-ig-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 56px;
	background:
		radial-gradient(ellipse at 20% 20%, rgba(255, 131, 0, 0.25), transparent 50%),
		radial-gradient(ellipse at 80% 0%, rgba(129, 52, 175, 0.35), transparent 45%),
		linear-gradient(160deg, #1a0b28 0%, #4b0070 55%, #2a1040 100%);
	color: #fff;
	text-align: center;
}

.tf-ig-hero__glow {
	position: absolute;
	inset: auto auto -40% 50%;
	transform: translateX(-50%);
	width: 60vw;
	height: 40vh;
	background: radial-gradient(circle, rgba(255, 131, 0, 0.35), transparent 70%);
	pointer-events: none;
}

.tf-ig-hero__content {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
}

.tf-ig-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 18px;
}

.tf-ig-hero__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 900;
	margin: 0 0 14px;
	color: #fff;
}

.tf-ig-hero__lead {
	font-size: 1.05rem;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 10px;
}

.tf-ig-hero__handle {
	font-weight: 800;
	color: var(--tf-orange);
	font-size: 1.15rem;
	margin: 0 0 24px;
	direction: ltr;
}

.tf-ig-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.tf-ig-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 14px;
	font-weight: 800;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tf-ig-btn--primary {
	background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(221, 42, 123, 0.35);
}

.tf-ig-btn--ghost {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff !important;
}

.tf-ig-btn:hover {
	transform: translateY(-2px);
}

.tf-ig-grid-section {
	padding: 48px 0 64px;
}

.tf-ig-section-head {
	text-align: center;
	margin-bottom: 28px;
}

.tf-ig-section-head h2 {
	font-weight: 900;
	color: var(--tf-violet);
	margin: 0 0 8px;
}

.tf-ig-section-head p {
	color: var(--tf-muted);
	margin: 0;
}

.tf-ig-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}

.tf-ig-tile {
	aspect-ratio: 1;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none !important;
	color: #fff !important;
	font-weight: 800;
	box-shadow: var(--tf-shadow);
	transition: transform 0.2s ease;
}

.tf-ig-tile:hover {
	transform: scale(1.03);
}

.tf-ig-tile__icon {
	font-size: 1.6rem;
	opacity: 0.9;
}

.tf-ig-tile--violet {
	background: linear-gradient(145deg, #5b1a8a, #32004c);
}

.tf-ig-tile--orange {
	background: linear-gradient(145deg, #ff9a2e, #e65c00);
}

.tf-ig-tile--dark {
	background: linear-gradient(145deg, #2d1840, #12081c);
}

.tf-ig-cta-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--tf-line);
	border-radius: 18px;
	padding: 20px 24px;
	box-shadow: var(--tf-shadow);
}

.tf-ig-cta-band strong {
	display: block;
	color: var(--tf-violet);
	font-size: 1.05rem;
	margin-bottom: 4px;
}

.tf-ig-cta-band span {
	color: var(--tf-muted);
	font-size: 14px;
}

.tf-ig-cta-band .tf-ig-btn--primary {
	color: #fff !important;
}

@media (max-width: 768px) {
	.tf-ig-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.tf-ig-hero {
		padding: 48px 0 40px;
	}
	.tf-ig-cta-band {
		flex-direction: column;
		text-align: center;
	}
}
