/**
 * Amar Store homepage polish
 * Editorial commerce direction: clean white surfaces, confident green,
 * compact depth and crisp product imagery.
 */

.home {
	--as-home-green: #009935;
	--as-home-green-dark: #007d2c;
	--as-home-blue: #0a6ce9;
	--as-home-ink: #10233f;
	--as-home-muted: #68778c;
	--as-home-line: rgba(16, 35, 63, 0.10);
	--as-home-shadow: 0 16px 42px rgba(16, 35, 63, 0.09);
	background:
		radial-gradient(circle at 8% 8%, rgba(0, 153, 53, 0.055), transparent 25rem),
		#f7fafc;
}

.home .site-main,
.home .entry-content {
	overflow: clip;
}

.home .elementor-54 > .e-con {
	padding-top: 18px;
	padding-bottom: 18px;
}

.home .elementor-54 > .e-con:first-child {
	padding-top: 22px;
}

.home .click-shop-slider-outer,
.home .click-shop-slider {
	overflow: hidden;
	border: 1px solid rgba(16, 35, 63, 0.09);
	border-radius: 24px;
	box-shadow: 0 22px 55px rgba(16, 35, 63, 0.14);
}

.home .click-shop-slider .swiper-slide::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: "";
	pointer-events: none;
	background: linear-gradient(90deg, rgba(5, 18, 35, 0.72), rgba(5, 18, 35, 0.12) 62%, transparent);
}

.home .click-shop-slider .slide-content {
	position: relative;
	z-index: 1;
}

.home .click-shop-slider .slide-title {
	max-width: 660px;
	color: #fff;
	font-size: clamp(30px, 5vw, 58px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.035em;
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.home .click-shop-slider .slide-description {
	margin-top: 12px;
	font-size: clamp(17px, 2vw, 23px);
}

.home .click-shop-slider .slide-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 20px;
	padding: 12px 23px;
	color: #fff;
	font-weight: 700;
	background: linear-gradient(135deg, var(--as-home-green), #00b95c);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 12px;
	box-shadow: 0 10px 26px rgba(0, 153, 53, 0.3);
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home .click-shop-slider .slide-button:hover {
	color: #fff;
	background: linear-gradient(135deg, var(--as-home-green-dark), var(--as-home-green));
	box-shadow: 0 13px 30px rgba(0, 153, 53, 0.38);
	transform: translateY(-2px);
}

.home .click-shop-slider .swiper-button-next,
.home .click-shop-slider .swiper-button-prev {
	width: 42px;
	height: 42px;
	color: var(--as-home-ink);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(16, 35, 63, 0.16);
	backdrop-filter: blur(10px);
}

.home .click-shop-slider .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, 0.7);
	opacity: 1;
	transition: width 180ms ease, background 180ms ease;
}

.home .click-shop-slider .swiper-pagination-bullet-active {
	width: 24px;
	background: #fff;
	border-radius: 999px;
}

.home .cs-category-slider-container {
	padding: 6px 4px 18px;
}

.home .category-cs a {
	display: flex;
	min-height: 148px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 10px;
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--as-home-line);
	border-radius: 18px;
	box-shadow: 0 8px 25px rgba(16, 35, 63, 0.055);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home .category-cs a:hover {
	border-color: rgba(0, 153, 53, 0.32);
	box-shadow: 0 15px 34px rgba(16, 35, 63, 0.10);
	transform: translateY(-4px);
}

.home .category-cs img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	padding: 7px;
	background: linear-gradient(145deg, #f5faf7, #edf5ff);
	border-radius: 17px;
	transition: transform 180ms ease;
}

.home .category-cs a:hover img {
	transform: scale(1.05);
}

.home .category-cs-title {
	margin: 0;
	color: var(--as-home-ink);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.home .category-cs-count {
	display: inline-flex;
	min-width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	margin-left: 4px;
	padding: 0 6px;
	color: var(--as-home-green-dark);
	font-size: 11px;
	background: rgba(0, 153, 53, 0.09);
	border-radius: 999px;
}

.home .elementor-widget-heading .elementor-heading-title {
	position: relative;
	color: var(--as-home-ink);
	font-weight: 800;
	letter-spacing: -0.025em;
}

.home .elementor-widget-heading .elementor-heading-title::after {
	display: block;
	width: 52px;
	height: 4px;
	margin-top: 9px;
	content: "";
	background: linear-gradient(90deg, var(--as-home-green), var(--as-home-blue));
	border-radius: 999px;
}

.home .click-shop-product-loop {
	height: 100%;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--as-home-line);
	border-radius: 18px;
	box-shadow: 0 9px 26px rgba(16, 35, 63, 0.06);
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.home .click-shop-product-loop:hover {
	border-color: rgba(0, 153, 53, 0.26);
	box-shadow: var(--as-home-shadow);
	transform: translateY(-5px);
}

.home .click-shop-product-loop__media {
	overflow: hidden;
	background: #f2f6f8;
	border-radius: 14px;
}

.home .click-shop-product-loop__media img {
	width: 100%;
	transition: transform 350ms ease;
}

.home .click-shop-product-loop:hover .click-shop-product-loop__media img {
	transform: scale(1.045);
}

.home .click-shop-product-loop__content {
	display: flex;
	height: 100%;
	flex-direction: column;
	padding: 0 0 12px;
}

.home .woocommerce-loop-product__title {
	min-height: 46px;
	margin: 14px 11px 6px;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.5;
}

.home .woocommerce-loop-product__title a {
	color: var(--as-home-ink);
}

.home .product-category-wrapper,
.home .click-shop-product-loop .price {
	margin-right: 11px;
	margin-left: 11px;
}

.home .click-shop-product-loop .price {
	margin-top: 8px;
	color: var(--as-home-green-dark);
	font-size: 16px;
	font-weight: 800;
}

.home .click-shop-cart-buttons {
	margin: auto 11px 0;
	padding-top: 13px;
}

.home .click-shop-cart-buttons .button {
	width: 100%;
	min-height: 42px;
	color: #fff;
	font-weight: 700;
	background: linear-gradient(135deg, var(--as-home-green), #00af52);
	border: 0;
	border-radius: 11px;
	box-shadow: 0 8px 18px rgba(0, 153, 53, 0.2);
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home .click-shop-cart-buttons .button:hover {
	color: #fff;
	background: linear-gradient(135deg, var(--as-home-green-dark), var(--as-home-green));
	box-shadow: 0 11px 23px rgba(0, 153, 53, 0.28);
	transform: translateY(-1px);
}

.home .click-shop-product-loop__badges .onsale,
.home .click-shop-product-loop .cs-discount-badge {
	color: #fff;
	background: var(--as-home-green);
	border-radius: 9px;
	box-shadow: 0 6px 15px rgba(0, 153, 53, 0.22);
}

.home .elementor-widget-container > .swiper-container > .swiper-button-next,
.home .elementor-widget-container > .swiper-container > .swiper-button-prev {
	color: #fff;
	background: var(--as-home-green);
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(0, 153, 53, 0.25);
}

/* Red button treatment; retain the existing non-button brand accents. */
.home .click-shop-slider .slide-button,
.home .click-shop-cart-buttons .button {
	color: #fff;
	background: #c81e2b;
	border-color: #c81e2b;
	box-shadow: 0 8px 20px rgba(200, 30, 43, 0.20);
}
.home .click-shop-slider .slide-button:hover,
.home .click-shop-cart-buttons .button:hover {
	color: #fff;
	background: #a91521;
	border-color: #a91521;
	box-shadow: 0 10px 24px rgba(200, 30, 43, 0.26);
}
.home .elementor-widget-container > .swiper-container > .swiper-button-next,
.home .elementor-widget-container > .swiper-container > .swiper-button-prev {
	color: #fff;
	background: #c81e2b;
	box-shadow: 0 8px 20px rgba(200, 30, 43, 0.20);
}
.home .click-shop-slider .slide-button:focus-visible,
.home .click-shop-cart-buttons .button:focus-visible {
	outline: 3px solid #a91521;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.home .elementor-54 > .e-con {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.home .elementor-54 > .e-con:first-child {
		padding-top: 10px;
	}

	.home .click-shop-slider-outer,
	.home .click-shop-slider {
		border-radius: 16px;
	}

	.home .click-shop-slider .swiper-slide::before {
		background: linear-gradient(90deg, rgba(5, 18, 35, 0.72), rgba(5, 18, 35, 0.24));
	}

	.home .click-shop-slider .slide-title {
		font-size: 27px;
	}

	.home .click-shop-slider .slide-description {
		font-size: 15px;
	}

	.home .click-shop-slider .slide-button {
		min-height: 40px;
		margin-top: 14px;
		padding: 9px 17px;
		border-radius: 10px;
	}

	.home .click-shop-slider .swiper-button-next,
	.home .click-shop-slider .swiper-button-prev {
		display: none;
	}

	.home .category-cs a {
		min-height: 118px;
		padding: 11px 7px;
		border-radius: 14px;
	}

	.home .category-cs img {
		width: 58px;
		height: 58px;
		border-radius: 13px;
	}

	.home .category-cs-title {
		font-size: 12px;
	}

	.home .click-shop-product-loop {
		padding: 4px;
		border-radius: 14px;
	}

	.home .click-shop-product-loop__media {
		border-radius: 11px;
	}

	.home .woocommerce-loop-product__title {
		min-height: 42px;
		margin: 10px 8px 5px;
		font-size: 13px !important;
		line-height: 1.45;
	}

	.home .product-category-wrapper,
	.home .click-shop-product-loop .price {
		margin-right: 8px;
		margin-left: 8px;
	}

	.home .click-shop-product-loop .price {
		font-size: 14px;
	}

	.home .click-shop-cart-buttons {
		margin-right: 8px;
		margin-left: 8px;
		padding-top: 10px;
	}

	.home .click-shop-cart-buttons .button {
		min-height: 38px;
		padding: 8px 7px;
		font-size: 12px;
		border-radius: 9px;
	}
}

/* Mobile hero: reset inherited offsets and reserve room for content. */
@media (max-width: 767px) {
	.home .elementor-54 .elementor-widget-click_shop_slider,
	.home .elementor-54 .elementor-widget-click_shop_slider .elementor-widget-container {
		min-width: 0;
		width: 100%;
	}
	.home .elementor-54 .click-shop-slider,
	.home .elementor-54 .click-shop-slider .swiper-slide,
	.home .elementor-54 .click-shop-slider-skeleton .skeleton-slide {
		height: var(--as-hero-fit-height, clamp(160px, 43vw, 210px)) !important;
		min-height: 0;
		box-sizing: border-box;
	}
	.home .elementor-54 .elementor-widget-click_shop_slider .click-shop-slider .slide-content {
		position: absolute !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		transform: none !important;
		translate: none !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 10px 16px 24px !important;
		box-sizing: border-box;
		text-align: center !important;
		z-index: 2;
	}
	.home .elementor-54 .elementor-widget-click_shop_slider .slide-content > .animated-element {
		align-self: center !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		text-align: center !important;
		max-width: 100%;
	}
	.home .elementor-54 .click-shop-slider .slide-title {
		margin: 0 0 4px;
		font-size: clamp(20px, 5vw, 24px);
		line-height: 1.15;
		overflow-wrap: anywhere;
	}
	.home .elementor-54 .click-shop-slider .slide-description {
		margin: 0 0 6px;
		font-size: 13px;
		line-height: 1.4;
	}
	.home .elementor-54 .click-shop-slider .slide-button {
		width: auto;
		min-height: 44px;
		margin: 0;
		padding: 8px 16px;
		font-size: 13px;
		line-height: 1.4;
		flex-shrink: 0;
	}
	.home .elementor-54 .click-shop-slider .swiper-slide {
		background-size: contain !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
		background-color: #10233f;
	}
	.home .elementor-54 .click-shop-slider a.swiper-slide::before {
		background: none;
	}
	.home .elementor-54 .click-shop-slider .swiper-pagination {
		bottom: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home .category-cs a,
	.home .category-cs img,
	.home .click-shop-product-loop,
	.home .click-shop-product-loop__media img,
	.home .click-shop-cart-buttons .button,
	.home .click-shop-slider .slide-button {
		transition: none;
	}
}
