/* =========================================================
   KEERTHI SIGNATURES STORE UI
   Premium responsive storefront
   ========================================================= */

:root {
	--ks-burgundy: #731329;
	--ks-burgundy-dark: #4e0e1d;
	--ks-gold: #b47b55;
	--ks-pink: #e84a8a;
	--ks-ink: #221b1f;
	--ks-muted: #746a70;
	--ks-line: #ede4e8;
	--ks-soft: #fbf7f8;
	--ks-white: #ffffff;
}

body:not(.wp-admin) {
	background: #fff;
	color: var(--ks-ink);
}

body:not(.wp-admin) #masthead,
body:not(.wp-admin) .site-header,
body:not(.wp-admin) footer.site-footer,
body:not(.wp-admin) .site-footer,
body:not(.wp-admin) .ast-mobile-popup-drawer,
body:not(.wp-admin) .ast-header-break-point .main-header-bar-navigation {
	display: none !important;
}

body:not(.wp-admin) .site-content,
body:not(.wp-admin) #content,
body:not(.wp-admin) .ast-container,
body:not(.wp-admin) #primary,
body:not(.wp-admin) .site-main,
body:not(.wp-admin) article,
body:not(.wp-admin) .entry-content {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:not(.wp-admin) .entry-header,
body:not(.wp-admin) .page-title {
	display: none !important;
}

.ks-site-header,
.ks-site-header *,
.ks-site-footer,
.ks-site-footer *,
.ks-store-home,
.ks-store-home * {
	box-sizing: border-box;
}

.ks-site-header {
	position: sticky;
	top: 0;
	z-index: 99999;
	background: #fff;
	border-bottom: 1px solid var(--ks-line);
	box-shadow: 0 3px 18px rgba(37, 21, 29, .035);
	font-family: Arial, Helvetica, sans-serif;
}

.admin-bar .ks-site-header {
	top: 32px;
}

.ks-header-main {
	min-height: 72px;
	display: grid;
	grid-template-columns: 190px auto minmax(250px, 1fr) auto;
	align-items: center;
	gap: 22px;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 28px;
}

.ks-logo-link img {
	display: block;
	width: 165px;
	height: auto;
	max-height: 58px;
	object-fit: contain;
}

.ks-desktop-nav {
	display: flex;
	align-items: center;
	gap: 25px;
	white-space: nowrap;
}

.ks-desktop-nav a {
	color: var(--ks-ink);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	transition: color .2s ease;
}

.ks-desktop-nav a:hover {
	color: var(--ks-burgundy);
}

.ks-search-desktop form {
	height: 42px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 14px;
	border: 1px solid #eee7ea;
	border-radius: 999px;
	background: #f8f6f7;
}

.ks-search-desktop input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 12px;
}

.ks-inline-icon {
	width: 18px;
	height: 18px;
}

.ks-inline-icon svg,
.ks-header-icon-link svg,
.ks-mobile-menu-toggle svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ks-header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

.ks-header-icon-link {
	min-width: 42px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: var(--ks-ink);
	text-decoration: none;
}

.ks-header-icon-link span {
	width: 21px;
	height: 21px;
	display: block;
}

.ks-header-icon-link small {
	font-size: 9px;
	font-weight: 700;
}

.ks-mobile-menu-toggle {
	display: none;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--ks-ink);
	cursor: pointer;
}

.ks-mobile-menu-toggle svg {
	width: 24px;
	height: 24px;
}

.ks-promo-bar {
	min-height: 48px;
	display: grid;
	grid-template-columns: 180px 1fr 180px;
	align-items: center;
	gap: 14px;
	padding: 8px 28px;
	background: linear-gradient(90deg, var(--ks-burgundy-dark), var(--ks-burgundy), var(--ks-burgundy-dark));
	color: #fff;
}

.ks-region-switch,
.ks-region-currency {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
}

.ks-region-switch {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ks-region-switch a {
	color: rgba(255,255,255,.62);
	text-decoration: none;
}

.ks-region-switch a.is-active {
	color: #fff;
}

.ks-promo-copy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	font-size: 11px;
	letter-spacing: .13em;
}

.ks-promo-copy strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: 500;
}

.ks-gift-mark {
	font-size: 22px;
	color: #d8b28d;
}

.ks-region-currency {
	text-align: right;
}

.ks-mobile-drawer {
	display: none;
}

.ks-hero {
	position: relative;
	overflow: hidden;
	background: #f5eee9;
}

.ks-hero-track {
	position: relative;
	min-height: min(640px, 49vw);
}

.ks-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease, visibility .6s ease;
}

.ks-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.ks-hero-slide > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ks-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255,247,242,.96) 0%,
		rgba(255,247,242,.83) 27%,
		rgba(255,247,242,.30) 48%,
		rgba(255,247,242,0) 68%
	);
}

.ks-hero-content {
	position: relative;
	z-index: 2;
	max-width: 1500px;
	height: 100%;
	margin: 0 auto;
	padding: clamp(70px, 8vw, 120px) 12vw;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.ks-hero-eyebrow {
	margin-bottom: 12px;
	color: var(--ks-pink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .17em;
}

.ks-hero-content h1 {
	max-width: 560px;
	margin: 0 0 18px;
	color: var(--ks-burgundy-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(42px, 5.8vw, 78px);
	line-height: .98;
	font-weight: 500;
	text-transform: uppercase;
}

.ks-hero-content p {
	max-width: 490px;
	margin: 0 0 28px;
	color: #60565b;
	font-size: 15px;
	line-height: 1.7;
}

.ks-primary-cta {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0 24px;
	border-radius: 3px;
	background: var(--ks-burgundy);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	transition: background .2s ease, transform .2s ease;
}

.ks-primary-cta:hover {
	background: var(--ks-burgundy-dark);
	transform: translateY(-1px);
}

.ks-hero-arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	border: 1px solid rgba(70,34,45,.10);
	border-radius: 50%;
	background: rgba(255,255,255,.88);
	color: var(--ks-burgundy-dark);
	font-family: Georgia, serif;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.ks-prev { left: 20px; }
.ks-next { right: 20px; }

.ks-hero-dots {
	position: absolute;
	z-index: 10;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	display: flex;
	gap: 7px;
}

.ks-hero-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.85);
	cursor: pointer;
	transition: width .2s ease, background .2s ease;
}

.ks-hero-dots button.is-active {
	width: 24px;
	border-radius: 999px;
	background: var(--ks-burgundy);
}

.ks-home-section {
	padding: 86px 32px;
}

.ks-home-section:nth-of-type(even) {
	background: #fff;
}

.ks-home-section:nth-of-type(odd) {
	background: #fcfafb;
}

.ks-section-heading {
	max-width: 720px;
	margin: 0 auto 42px;
	text-align: center;
}

.ks-section-heading > span {
	display: block;
	margin-bottom: 10px;
	color: var(--ks-pink);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .22em;
}

.ks-section-heading h2 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 500;
	color: var(--ks-ink);
}

.ks-section-heading p {
	margin: 0;
	color: var(--ks-muted);
	font-size: 14px;
	line-height: 1.7;
}

.ks-category-grid {
	max-width: 1380px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.ks-category-card {
	position: relative;
	min-height: 380px;
	overflow: hidden;
	background: #f7f1f3;
	text-decoration: none;
}

.ks-category-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.ks-category-card:hover img {
	transform: scale(1.045);
}

.ks-category-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(32,16,23,.72) 100%);
}

.ks-category-content {
	position: absolute;
	z-index: 2;
	left: 24px;
	right: 24px;
	bottom: 24px;
	color: #fff;
}

.ks-category-content span {
	display: block;
	margin-bottom: 5px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.ks-category-content h3 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 29px;
	font-weight: 500;
}

.ks-product-grid {
	max-width: 1380px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 18px;
}

.ks-product-card {
	background: #fff;
}

.ks-product-image {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #f7f4f5;
}

.ks-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.ks-product-card:hover .ks-product-image img {
	transform: scale(1.035);
}

.ks-product-info {
	padding: 15px 2px 4px;
}

.ks-product-category {
	margin-bottom: 5px;
	color: var(--ks-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ks-product-info h3 {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.35;
}

.ks-product-info h3 a {
	color: var(--ks-ink);
	text-decoration: none;
}

.ks-product-price {
	font-size: 14px;
	font-weight: 700;
	color: var(--ks-burgundy);
}

.ks-product-price del {
	margin-right: 6px;
	color: #9b8f95;
	font-weight: 400;
}

.ks-product-price ins {
	text-decoration: none;
}

.ks-center-action {
	margin-top: 38px;
	text-align: center;
}

.ks-outline-cta {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	border: 1px solid var(--ks-burgundy);
	color: var(--ks-burgundy) !important;
	text-decoration: none !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ks-editorial-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 65px 7vw;
	background: var(--ks-burgundy-dark);
	color: #fff;
}

.ks-editorial-strip > div {
	max-width: 900px;
}

.ks-editorial-strip span {
	display: block;
	margin-bottom: 10px;
	color: #e5b899;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .20em;
}

.ks-editorial-strip h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 4vw, 50px);
	line-height: 1.15;
	font-weight: 500;
}

.ks-editorial-strip a {
	flex: 0 0 auto;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}

.ks-site-footer {
	padding: 62px 32px 22px;
	background: #161214;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

.ks-footer-grid {
	max-width: 1380px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 50px;
}

.ks-footer-brand img {
	width: 200px;
	height: auto;
	filter: brightness(0) invert(1);
	opacity: .95;
}

.ks-footer-brand p {
	max-width: 430px;
	margin: 18px 0 0;
	color: rgba(255,255,255,.58);
	font-size: 13px;
	line-height: 1.8;
}

.ks-footer-grid h3 {
	margin: 0 0 16px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 500;
}

.ks-footer-grid > div:not(.ks-footer-brand) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ks-footer-grid a {
	margin: 0 0 10px;
	color: rgba(255,255,255,.68);
	text-decoration: none;
	font-size: 12px;
}

.ks-footer-grid a:hover {
	color: #fff;
}

.ks-footer-bottom {
	max-width: 1380px;
	margin: 42px auto 0;
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid rgba(255,255,255,.10);
	color: rgba(255,255,255,.48);
	font-size: 11px;
}

.ks-footer-bottom a {
	color: rgba(255,255,255,.72);
	text-decoration: none;
}

/* WooCommerce shop/category/product/account/cart harmonization */

body.woocommerce .woocommerce-breadcrumb,
body.woocommerce-page .woocommerce-breadcrumb {
	max-width: 1380px;
	margin: 28px auto 14px !important;
	padding: 0 24px;
	color: var(--ks-muted);
	font-size: 11px;
}

body.woocommerce .woocommerce-products-header,
body.woocommerce-page .woocommerce-products-header {
	max-width: 1380px;
	margin: 0 auto;
	padding: 35px 24px 12px;
}

body.woocommerce .woocommerce-products-header__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 500;
}

body.woocommerce .woocommerce-notices-wrapper,
body.woocommerce-page .woocommerce-notices-wrapper,
body.woocommerce .woocommerce-result-count,
body.woocommerce .woocommerce-ordering,
body.woocommerce ul.products,
body.woocommerce div.product,
body.woocommerce-cart .woocommerce,
body.woocommerce-account .woocommerce,
body.woocommerce-checkout .woocommerce {
	max-width: 1380px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px;
	padding-right: 24px;
}

body.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 18px;
	padding-bottom: 70px;
}

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

body.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

body.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin-bottom: 14px;
	background: #f8f4f5;
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	color: var(--ks-ink);
	font-size: 14px;
	font-weight: 700;
}

body.woocommerce ul.products li.product .price {
	color: var(--ks-burgundy);
	font-size: 14px;
	font-weight: 700;
}

body.woocommerce ul.products li.product .button {
	margin-top: 10px;
	border-radius: 2px;
	background: var(--ks-burgundy);
	color: #fff;
	font-size: 11px;
}

body.woocommerce div.product {
	padding-top: 45px;
	padding-bottom: 75px;
}

body.woocommerce div.product .product_title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 500;
}

body.woocommerce div.product p.price,
body.woocommerce div.product span.price {
	color: var(--ks-burgundy);
	font-size: 22px;
}

body.woocommerce-account .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
	padding-top: 45px;
	padding-bottom: 70px;
}

@media (max-width: 1180px) {
	.ks-header-main {
		grid-template-columns: 170px 1fr auto;
	}

	.ks-desktop-nav {
		display: none;
	}

	.ks-search-desktop {
		max-width: 520px;
	}

	.ks-mobile-menu-toggle {
		display: flex;
	}

	.ks-category-grid,
	.ks-product-grid,
	body.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ks-mobile-drawer.is-open {
		display: block;
		border-top: 1px solid var(--ks-line);
		background: #fff;
	}

	.ks-mobile-drawer-inner {
		display: grid;
		padding: 18px 24px 26px;
	}

	.ks-mobile-drawer-inner > a {
		padding: 12px 0;
		border-bottom: 1px solid var(--ks-line);
		color: var(--ks-ink);
		text-decoration: none;
		font-size: 13px;
		font-weight: 700;
	}

	.ks-mobile-search {
		margin-bottom: 8px;
	}

	.ks-mobile-search input {
		width: 100%;
		min-height: 42px;
		padding: 0 13px;
		border: 1px solid var(--ks-line);
		border-radius: 999px;
	}
}

@media (max-width: 782px) {
	.admin-bar .ks-site-header {
		top: 46px;
	}

	.ks-header-main {
		min-height: 66px;
		grid-template-columns: 1fr auto;
		gap: 12px;
		padding: 0 15px;
	}

	.ks-logo-link img {
		width: 145px;
	}

	.ks-search-desktop {
		display: none;
	}

	.ks-header-icon-link small {
		display: none;
	}

	.ks-header-actions {
		gap: 8px;
	}

	.ks-promo-bar {
		grid-template-columns: auto 1fr auto;
		min-height: 42px;
		padding: 7px 14px;
	}

	.ks-promo-copy span:not(.ks-gift-mark) {
		display: none;
	}

	.ks-promo-copy strong {
		font-size: 13px;
	}

	.ks-region-switch,
	.ks-region-currency {
		font-size: 9px;
	}

	.ks-hero-track {
		min-height: 62vw;
	}

	.ks-hero-content {
		padding: 45px 14vw;
	}

	.ks-hero-content h1 {
		max-width: 55%;
		font-size: clamp(28px, 7vw, 48px);
	}

	.ks-hero-content p {
		max-width: 55%;
		font-size: 12px;
	}

	.ks-primary-cta {
		min-height: 40px;
		padding: 0 17px;
		font-size: 9px;
	}

	.ks-hero-arrow {
		width: 36px;
		height: 36px;
		font-size: 23px;
	}

	.ks-prev { left: 8px; }
	.ks-next { right: 8px; }

	.ks-home-section {
		padding: 62px 16px;
	}

	.ks-category-grid,
	.ks-product-grid,
	body.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 12px;
	}

	.ks-category-card {
		min-height: 300px;
	}

	.ks-editorial-strip {
		align-items: flex-start;
		flex-direction: column;
		padding: 50px 22px;
	}

	.ks-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 35px 20px;
	}

	.ks-footer-brand {
		grid-column: 1 / -1;
	}

	.ks-footer-bottom {
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	.ks-logo-link img {
		width: 128px;
	}

	.ks-header-icon-link {
		min-width: 32px;
	}

	.ks-header-icon-link span {
		width: 20px;
		height: 20px;
	}

	.ks-promo-bar {
		grid-template-columns: auto 1fr;
	}

	.ks-region-currency {
		display: none;
	}

	.ks-hero-track {
		min-height: 70vw;
	}

	.ks-hero-overlay {
		background: linear-gradient(90deg, rgba(255,247,242,.95) 0%, rgba(255,247,242,.68) 44%, rgba(255,247,242,.10) 72%, rgba(255,247,242,0) 100%);
	}

	.ks-hero-content {
		padding: 32px 45px;
	}

	.ks-hero-eyebrow {
		font-size: 7px;
		margin-bottom: 7px;
	}

	.ks-hero-content h1 {
		max-width: 60%;
		margin-bottom: 10px;
		font-size: clamp(22px, 7vw, 34px);
	}

	.ks-hero-content p {
		display: none;
	}

	.ks-primary-cta {
		min-height: 34px;
		padding: 0 12px;
		font-size: 7px;
	}

	.ks-section-heading {
		margin-bottom: 28px;
	}

	.ks-section-heading h2 {
		font-size: 30px;
	}

	.ks-category-card {
		min-height: 235px;
	}

	.ks-category-content {
		left: 15px;
		right: 15px;
		bottom: 15px;
	}

	.ks-category-content h3 {
		font-size: 22px;
	}

	body.woocommerce .woocommerce-breadcrumb,
	body.woocommerce .woocommerce-products-header,
	body.woocommerce ul.products,
	body.woocommerce div.product,
	body.woocommerce-cart .woocommerce,
	body.woocommerce-account .woocommerce,
	body.woocommerce-checkout .woocommerce {
		padding-left: 14px;
		padding-right: 14px;
	}
}
