/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ================================================
   SATG Homepage Hero
   ================================================ */

/* Break out of the Flatsome page container */
.satg-hero-wrap {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	overflow: hidden;
}

.satg-hero {
	position: relative;
	min-height: 640px;
	background-size: cover;
	background-position: left center;
	background-repeat: no-repeat;
}

/* Right panel — starts at 25% from the top, occupies the right ~47% */
.satg-hero__right {
	position: absolute;
	right: 3%;
	top: 25%;
	width: 47%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}

/* ---- Product cards row ---- */
.satg-hero__cards {
	display: flex;
	gap: 12px;
	width: 100%;
	justify-content: center;
}

.satg-card {
	flex: 1;
	max-width: 178px;
	min-height: 280px;
	background: #fff;
	border: 2px solid #E07820;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	display: flex;
	flex-direction: column;
}

.satg-card__img-link {
	display: block;
	line-height: 0;
}

.satg-card__img-link img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.satg-card__body {
	padding: 10px 10px 12px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
}

.satg-card__title {
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	color: #1a1a1a !important;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.satg-card__price {
	font-size: 0.82rem;
	font-weight: 700;
	color: #333;
	margin: 0;
}

.satg-card__price .woocommerce-Price-amount {
	color: #333;
}

.satg-card__btn {
	display: block;
	background: #E07820;
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	padding: 7px 10px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	margin-top: auto;
	transition: background 0.2s ease;
}

.satg-card__btn:hover {
	background: #c4661a !important;
	color: #fff !important;
}

/* ---- CTA below cards ---- */
.satg-hero__cta {
	text-align: center;
	width: 100%;
}

.satg-hero__headline {
	font-size: clamp(1.15rem, 2vw, 1.65rem) !important;
	font-weight: 700 !important;
	color: #fff !important;
	text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.6);
	margin: 0 0 14px !important;
	line-height: 1.25 !important;
}

.satg-hero__shop-btn {
	display: inline-block;
	background: #E07820;
	color: #fff !important;
	text-decoration: none !important;
	padding: 14px 40px;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
	transition: background 0.2s ease;
}

.satg-hero__shop-btn:hover {
	background: #c4661a !important;
	color: #fff !important;
}

/* ================================================
   SATG Favorites Slider
   ================================================ */

.satg-fav-wrap {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	background: #fff;
	padding: 48px 0 56px;
}

.satg-fav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.satg-fav-heading {
	text-align: center;
	font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 0 32px !important;
}

.satg-fav-slider {
	display: flex;
	align-items: center;
	gap: 12px;
}

.satg-fav-track-wrap {
	flex: 1;
	min-width: 0;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.satg-fav-track {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 12px;
	transition: transform 0.4s ease;
	will-change: transform;
}

.satg-fav-card {
	flex-shrink: 0;
	flex-grow: 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.satg-fav-card__img {
	display: block;
	line-height: 0;
}

.satg-fav-card__img img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.satg-fav-card__body {
	padding: 12px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
}

.satg-fav-card__title {
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	color: #1a1a1a !important;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.satg-fav-card__price {
	font-size: 0.85rem;
	font-weight: 700;
	color: #333;
	margin: 0;
}

.satg-fav-card__price .woocommerce-Price-amount {
	color: #333;
}

.satg-fav-card__btn {
	display: block;
	background: #E07820;
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-top: auto;
	transition: background 0.2s ease;
}

.satg-fav-card__btn:hover {
	background: #c4661a !important;
	color: #fff !important;
}

.satg-fav-btn {
	flex-shrink: 0;
	background: #fff;
	border: 2px solid #E07820;
	color: #E07820;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
	padding: 0;
	line-height: 1;
}

.satg-fav-btn:hover:not(:disabled) {
	background: #E07820;
	color: #fff;
}

.satg-fav-btn:disabled {
	opacity: 0.3;
	cursor: default;
}


/* ================================================
   SATG Category Grid
   ================================================ */

.satg-cat-wrap {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	background: #f3f4f6;
	padding: 48px 0 56px;
}

.satg-cat-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.satg-cat-heading {
	text-align: center;
	font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 0 32px !important;
}

.satg-cat-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 16px !important;
	list-style: none;
	margin: 0;
	padding: 0;
}

.satg-cat-cell {
	display: flex !important;
	flex-direction: column !important;
	text-decoration: none !important;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.satg-cat-cell:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.satg-cat-cell__img-wrap {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #e5e7eb;
	flex-shrink: 0;
}

.satg-cat-cell__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.satg-cat-cell:hover .satg-cat-cell__img-wrap img {
	transform: scale(1.06);
}

.satg-cat-cell__name {
	padding: 10px 10px 12px;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	text-align: center;
	line-height: 1.3;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

	.satg-hero {
		min-height: 260px;
		background-position: left top;
	}

	.satg-hero__right {
		position: static;
		width: 100%;
		padding: 24px 16px 32px;
		background: rgba(255, 255, 255, 0.96);
		gap: 18px;
	}

	.satg-hero__cards {
		flex-wrap: wrap;
		justify-content: center;
	}

	.satg-card {
		min-width: 140px;
		max-width: 165px;
	}

	.satg-hero__headline {
		color: #1a1a1a !important;
		text-shadow: none;
	}

	.satg-fav-wrap {
		padding: 32px 0 40px;
	}

	.satg-fav-inner {
		padding: 0 8px;
	}

	.satg-fav-slider {
		gap: 8px;
	}

	.satg-fav-btn {
		width: 32px;
		height: 32px;
		font-size: 0.9rem;
	}

	.satg-fav-card__img img {
		height: 140px;
	}

	.satg-cat-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}

	.satg-cat-cell__name {
		font-size: 0.82rem !important;
		padding: 8px 8px 10px;
	}

	.satg-col-wrap {
		padding: 32px 0 40px;
	}

	.satg-col-inner {
		padding: 0 8px;
	}

	.satg-col-tile__overlay-name {
		font-size: 0.9rem;
		padding: 8px;
	}
}

/* ================================================
   SATG Collections Slider
   ================================================ */

.satg-col-wrap {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	background: #1a1a1a;
	padding: 48px 0 56px;
}

.satg-col-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.satg-col-heading {
	text-align: center;
	font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 32px !important;
}

/* .satg-col-tile shares .satg-fav-card structural rules;
   override only the visual card styling */
.satg-col-tile.satg-fav-card {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
}

.satg-col-tile__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #E07820;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	transition: filter 0.2s ease;
}

.satg-col-tile:hover .satg-col-tile__img {
	filter: brightness(1.1);
}

.satg-col-tile__overlay-name {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.3;
	padding: 12px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.satg-col-tile__name {
	margin: 10px 0 0 !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	color: rgba(255, 255, 255, 0.9) !important;
	text-align: center;
	line-height: 1.3;
}
