/* CJ Bridge storefront: saree grid, filters and product cards. Colours follow the Baindee palette. */
.cjb-store,
ul.products {
	--cjb-primary: var(--primary, #C85144);
	--cjb-ink: var(--ink, #40281f);
	--cjb-cream: var(--cream, #FBF6EF);
	--cjb-sand: var(--sand, #F3E9DC);
	--cjb-gold: var(--gold, #B8893B);
	--cjb-muted: var(--muted, #6E5A4C);
	--cjb-line: var(--line, #E6D8C7);
	--cjb-maroon: var(--maroon, #662a26);
	--cjb-font: var(--font-body, Manrope), "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.cjb-store {
	scroll-margin-top: 110px;
	font-family: var(--cjb-font);
	color: var(--cjb-ink);
}

.cjb-store [hidden] {
	display: none !important;
}

.cjb-store svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

/* Theme Builder header stays on top while scrolling. */
.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .elementor-location-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .elementor-location-header {
		top: 0;
	}
}

html {
	scroll-behavior: smooth;
}

/* Site-wide type and WooCommerce pages, in the Baindee style. */
body {
	font-family: var(--font-body, Manrope), "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--ink, #40281f);
	background-color: var(--cream, #FBF6EF);
}

.woocommerce .product_title {
	font-family: var(--font-display, Manrope), "Manrope", sans-serif;
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: var(--ink, #40281f);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ink, #40281f);
	font-weight: 800;
}

.woocommerce div.product p.price .cjb-from {
	color: var(--muted, #6E5A4C);
	font-weight: 600;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
	color: var(--muted, #6E5A4C);
	font-size: 13px;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
	border-radius: 20px;
}

.woocommerce-tabs a,
.woocommerce .posted_in a {
	color: var(--primary, #C85144);
}

/* Product tabs (Description, Additional information, Reviews) as a modern card. */
.woocommerce div.product .woocommerce-tabs {
	margin: 56px 0 64px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--line, #E6D8C7);
	border-radius: 28px;
	box-shadow: 0 24px 60px -40px rgba(64, 40, 31, .35);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--sand, #F3E9DC);
	border-radius: 22px;
	overflow: visible;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
	content: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 16px;
	text-align: center;
	transition: background .2s, box-shadow .2s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 20px;
	font-family: var(--font-body, Manrope), "Manrope", sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--muted, #6E5A4C);
	text-decoration: none;
	white-space: nowrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a {
	color: var(--ink, #40281f);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: #fff;
	box-shadow: 0 8px 20px -12px rgba(64, 40, 31, .45);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--primary, #C85144);
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: 36px 40px 40px;
	font-family: var(--font-body, Manrope), "Manrope", sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: var(--muted, #6E5A4C);
}

/* The tab already names the section, so the repeated panel heading is hidden. */
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
	display: none;
}

.woocommerce div.product .woocommerce-tabs .panel p {
	max-width: 820px;
	margin: 0 0 18px;
}

.woocommerce div.product .woocommerce-tabs .panel strong {
	color: var(--ink, #40281f);
}

.woocommerce div.product .woocommerce-tabs .panel ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce div.product .woocommerce-tabs .panel ul li {
	position: relative;
	padding: 12px 16px 12px 44px;
	background: var(--cream, #FBF6EF);
	border: 1px solid var(--line, #E6D8C7);
	border-radius: 14px;
	color: var(--ink, #40281f);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}

.woocommerce div.product .woocommerce-tabs .panel ul li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 18px;
	width: 10px;
	height: 10px;
	background: var(--primary, #C85144);
	border-radius: 2px;
	transform: translateY(-50%) rotate(45deg);
}

.woocommerce div.product .woocommerce-tabs .panel ul li::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 21px;
	width: 4px;
	height: 4px;
	background: var(--cream, #FBF6EF);
	border-radius: 50%;
	transform: translateY(-50%);
}

/* Additional information table */
.woocommerce div.product .woocommerce-tabs table.shop_attributes {
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid var(--line, #E6D8C7);
	border-radius: 16px;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
	padding: 16px 20px;
	border: 0;
	border-bottom: 1px solid var(--line, #E6D8C7);
	background: #fff;
	font-style: normal;
	text-align: left;
	vertical-align: middle;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:last-child th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:last-child td {
	border-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes th {
	width: 220px;
	background: var(--cream, #FBF6EF);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold, #B8893B);
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes td p {
	margin: 0;
	padding: 0;
	color: var(--ink, #40281f);
	font-weight: 600;
}

/* Reviews */
.woocommerce #reviews #comments h2,
.woocommerce #reviews .comment-reply-title {
	font-family: var(--font-display, Manrope), "Manrope", sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: var(--ink, #40281f);
}

.woocommerce #reviews .woocommerce-noreviews {
	padding: 20px;
	background: var(--cream, #FBF6EF);
	border: 1px dashed var(--line, #E6D8C7);
	border-radius: 14px;
	text-align: center;
}

.woocommerce #reviews #review_form_wrapper {
	margin-top: 24px;
}

.woocommerce #reviews #respond input[type="text"],
.woocommerce #reviews #respond input[type="email"],
.woocommerce #reviews #respond textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--line, #E6D8C7);
	border-radius: 14px;
	background: var(--cream, #FBF6EF);
	font: inherit;
	color: var(--ink, #40281f);
}

.woocommerce #reviews #respond input:focus,
.woocommerce #reviews #respond textarea:focus {
	outline: none;
	border-color: var(--primary, #C85144);
	box-shadow: 0 0 0 4px rgba(200, 81, 68, .12);
}

.woocommerce #reviews #respond .form-submit input#submit {
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--primary, #C85144);
	color: #fff;
	font: 700 15px/1 var(--font-body, Manrope), "Manrope", sans-serif;
	cursor: pointer;
}

.woocommerce #reviews #respond .form-submit input#submit:hover {
	background: var(--maroon, #662a26);
}

.woocommerce p.stars a {
	color: var(--gold, #B8893B);
}

/* Product meta line and related products heading */
.woocommerce div.product .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	padding-top: 16px;
	border-top: 1px solid var(--line, #E6D8C7);
	font-size: 13px;
	color: var(--muted, #6E5A4C);
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
	margin: 0 0 24px;
	font-family: var(--font-display, Manrope), "Manrope", sans-serif;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--ink, #40281f);
}

@media (max-width: 767px) {
	.woocommerce div.product .woocommerce-tabs {
		margin: 36px 0 44px;
		padding: 6px;
		border-radius: 22px;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs {
		gap: 4px;
		padding: 4px;
		border-radius: 18px;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		padding: 11px 12px;
		font-size: 13px;
	}

	.woocommerce div.product .woocommerce-tabs .panel {
		padding: 24px 18px 26px;
		font-size: 15px;
	}

	.woocommerce div.product .woocommerce-tabs table.shop_attributes th {
		width: 40%;
		padding: 14px;
	}

	.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
		padding: 14px;
	}
}

/* Search, filter toggle, sort */
.cjb-store__bar {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.cjb-search {
	flex: 1 1 260px;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 16px;
	background: #fff;
	border: 1px solid var(--cjb-line);
	border-radius: 999px;
	color: var(--cjb-muted);
	transition: border-color .15s, box-shadow .15s;
}

.cjb-search:focus-within {
	border-color: var(--cjb-primary);
	box-shadow: 0 0 0 4px rgba(200, 81, 68, .12);
}

.cjb-store .cjb-search input {
	all: unset;
	flex: 1;
	min-width: 0;
	font: 500 15px/1 var(--cjb-font);
	color: var(--cjb-ink);
}

.cjb-store .cjb-search input::placeholder {
	color: var(--cjb-muted);
	opacity: .8;
}

.cjb-store button.cjb-store__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 18px;
	border: 1px solid var(--cjb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--cjb-ink);
	font: 600 14px/1 var(--cjb-font);
	cursor: pointer;
}

.cjb-store button.cjb-store__toggle b {
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--cjb-primary);
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
}

.cjb-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 6px 0 18px;
	border: 1px solid var(--cjb-line);
	border-radius: 999px;
	background: #fff;
	font: 600 13px/1 var(--cjb-font);
	color: var(--cjb-muted);
}

.cjb-store .cjb-sort select {
	border: 0;
	background: transparent;
	font: 600 14px/1 var(--cjb-font);
	color: var(--cjb-ink);
	padding: 8px 6px;
	cursor: pointer;
	outline: none;
}

/* Filter chips */
.cjb-store__filters {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 20px;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--cjb-line);
	border-radius: 20px;
}

.cjb-store__filters:empty {
	display: none;
}

.cjb-filter {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.cjb-filter__label {
	flex: none;
	width: 90px;
	padding-top: 9px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cjb-gold);
}

.cjb-filter__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cjb-store button.cjb-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--cjb-line);
	border-radius: 999px;
	background: var(--cjb-cream);
	color: var(--cjb-ink);
	font: 600 13px/1 var(--cjb-font);
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}

.cjb-store button.cjb-chip:hover,
.cjb-store button.cjb-chip:focus {
	border-color: var(--cjb-primary);
	background: var(--cjb-cream);
	color: var(--cjb-ink);
}

.cjb-store button.cjb-store__toggle:hover,
.cjb-store button.cjb-store__toggle:focus {
	border-color: var(--cjb-ink);
	background: #fff;
	color: var(--cjb-ink);
}

.cjb-store button.cjb-store__clear:hover,
.cjb-store button.cjb-store__clear:focus {
	background: none;
	color: var(--cjb-maroon);
}

.cjb-store button.cjb-chip:focus-visible,
.cjb-store button.cjb-store__toggle:focus-visible,
.cjb-pcard__cta:focus-visible {
	outline: 2px solid var(--cjb-primary);
	outline-offset: 2px;
}

.cjb-store button.cjb-chip i {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.cjb-store button.cjb-chip small {
	font-size: 11px;
	font-weight: 600;
	color: var(--cjb-muted);
}

.cjb-store button.cjb-chip[aria-pressed="true"] {
	background: var(--cjb-ink);
	border-color: var(--cjb-ink);
	color: #fff;
}

.cjb-store button.cjb-chip[aria-pressed="true"] small {
	color: rgba(255, 255, 255, .7);
}

.cjb-store__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 24px 0 16px;
}

.cjb-store__meta p {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--cjb-muted);
}

.cjb-store button.cjb-store__clear {
	border: 0;
	background: none;
	padding: 4px 0;
	color: var(--cjb-primary);
	font: 700 14px/1 var(--cjb-font);
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

/* Product grid and cards */
.cjb-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 22px;
}

.cjb-pcard {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--cjb-line);
	border-radius: 18px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}

.cjb-pcard:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -22px rgba(64, 40, 31, .45);
}

.cjb-pcard__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--cjb-sand);
}

.cjb-pcard__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: opacity .4s ease, transform .6s ease;
}

.cjb-pcard__img--hover {
	opacity: 0;
}

.cjb-pcard:hover .cjb-pcard__img {
	transform: scale(1.04);
}

.cjb-pcard:hover .cjb-pcard__img--hover {
	opacity: 1;
}

.cjb-pcard__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(251, 246, 239, .92);
	color: var(--cjb-maroon);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
}

.cjb-pcard__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	padding: 16px 16px 18px;
}

.cjb-pcard__dots {
	display: flex;
	gap: 6px;
}

.cjb-pcard__dots span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--cjb-line);
}

.cjb-pcard__title {
	margin: 2px 0 0;
	font: 700 16px/1.35 var(--cjb-font);
	letter-spacing: -.01em;
}

.cjb-pcard__title a {
	color: var(--cjb-ink);
	text-decoration: none;
}

.cjb-pcard__title a:hover {
	color: var(--cjb-primary);
}

.cjb-pcard__price {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 800;
	color: var(--cjb-ink);
}

.cjb-pcard__price .cjb-pcard__from {
	display: block;
	margin-bottom: 2px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cjb-muted);
}

.cjb-pcard__price .woocommerce-Price-amount {
	color: inherit;
}

.cjb-pcard__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
	height: 44px;
	border-radius: 999px;
	background: var(--cjb-primary);
	color: #fff !important;
	font: 700 14px/1 var(--cjb-font);
	text-decoration: none;
	transition: background .15s, gap .15s;
}

.cjb-pcard__cta:hover {
	background: var(--cjb-maroon);
	gap: 12px;
}

.cjb-grid-none,
.cjb-grid-empty {
	padding: 56px 20px;
	text-align: center;
	background: #fff;
	border: 1px dashed var(--cjb-line);
	border-radius: 18px;
	color: var(--cjb-muted);
	font-family: var(--cjb-font);
}

.cjb-grid-none p {
	margin: 0 0 8px;
	font-weight: 600;
}

/* WooCommerce loops (related products and similar) share the card look. */
ul.products li.product {
	background: #fff;
	border: 1px solid var(--cjb-line);
	border-radius: 18px;
	overflow: hidden;
	padding: 0 0 16px !important;
	font-family: var(--cjb-font);
	transition: transform .25s ease, box-shadow .25s ease;
}

ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -22px rgba(64, 40, 31, .45);
}

ul.products li.product a img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin: 0 0 12px !important;
	background: var(--cjb-sand);
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price,
ul.products li.product .button {
	margin-left: 16px !important;
	margin-right: 16px !important;
}

ul.products li.product .woocommerce-loop-product__title {
	font: 700 16px/1.35 var(--cjb-font) !important;
	color: var(--cjb-ink);
}

ul.products li.product .price {
	display: block;
	color: var(--cjb-ink) !important;
	font-weight: 800;
}

ul.products li.product .price .cjb-from {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cjb-muted);
}

ul.products li.product .button {
	display: block !important;
	border-radius: 999px !important;
	background: var(--cjb-primary) !important;
	color: #fff !important;
	text-align: center;
	font-weight: 700;
}

@media (max-width: 1100px) {
	.cjb-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.cjb-store__bar {
		gap: 8px;
	}

	.cjb-search {
		flex-basis: 100%;
	}

	.cjb-store button.cjb-store__toggle {
		display: inline-flex;
		flex: 1 1 0;
		min-width: 0;
		justify-content: center;
	}

	.cjb-sort {
		flex: 1 1 0;
		min-width: 0;
		padding-left: 14px;
	}

	.cjb-sort span {
		display: none;
	}

	.cjb-store .cjb-sort select {
		width: 100%;
		min-width: 0;
	}

	.cjb-store__filters {
		display: none;
		margin-top: 12px;
		padding: 16px;
	}

	.cjb-store__filters.is-open {
		display: flex;
	}

	.cjb-filter {
		flex-direction: column;
		gap: 8px;
	}

	.cjb-filter__label {
		width: auto;
		padding-top: 0;
	}

	.cjb-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 12px;
	}

	.cjb-pcard {
		border-radius: 14px;
	}

	.cjb-pcard__badge {
		top: 8px;
		left: 8px;
		padding: 4px 8px;
		font-size: 9px;
	}

	.cjb-pcard__body {
		padding: 12px 12px 14px;
		gap: 6px;
	}

	.cjb-pcard__title {
		font-size: 14px;
	}

	.cjb-pcard__price {
		font-size: 14px;
	}

	.cjb-pcard__cta {
		height: 38px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cjb-pcard,
	.cjb-pcard__img {
		transition: none;
	}
}
