/**
 * Eksen unified storefront palette.
 * Loaded last so every storefront page follows the home-page visual system.
 */
html:root {
	--primary: #e96d1f;
	--primary-hover: #b94c0d;
	--primary-light: #fff2e5;
	--secondary: #282622;
	--text: #24211e;
	--text-muted: #736d65;
	--border: #e4dbcf;
	--background: #f4f0e9;
	--surface: #fffdf9;
	--danger: #c63f32;
	--ek-warm-bg: #f4f0e9;
	--ek-surface: #fffdf9;
	--ek-cream: #fff7ec;
	--ek-ink: #24211e;
	--ek-muted: #736d65;
	--ek-line: #e4dbcf;
	--ek-orange: #e96d1f;
	--ek-orange-dark: #b94c0d;
	--ek-amber: #f6ab3b;
	--ek-charcoal: #282622;
	--ek-shadow: 0 18px 42px rgba(61, 45, 29, .09);
	--sn-blue: var(--ek-orange);
	--sn-blue-dark: var(--ek-orange-dark);
	--sm-primary: var(--ek-orange);
	--sm-primary-dark: var(--ek-orange-dark);
	--sm-primary-soft: var(--ek-cream);
	--sm-accent: var(--ek-orange);
	--sm-accent-dark: var(--ek-orange-dark);
	--sm-bg: var(--ek-warm-bg);
	--sm-surface: var(--ek-surface);
	--sm-text: var(--ek-ink);
	--sm-muted: var(--ek-muted);
	--sm-border: var(--ek-line);
}

html,
body,
body.sm-body,
.prime-body {
	background: var(--ek-warm-bg) !important;
	color: var(--ek-ink) !important;
}

/* Shared page surfaces */
.prime-page,
.prime-catalog,
.t4-product,
.checkout-page,
.auth-page,
.account-page,
.contact-page,
.cms-page {
	color: var(--ek-ink);
}

.panel,
.card,
.prime-catalog__sidebar,
.prime-catalog__main,
.prime-filter-panel,
.prime-empty,
.product-media-card,
.product-purchase-card,
.t4-product__tabs,
.t4-product-rail,
.prime-cart-box,
.prime-cart-summary__card,
.prime-cart-section,
.checkout-page__hero,
.checkout-section,
.checkout-member-bar,
.auth-card,
.account-card,
.contact-card,
.cms-content,
.modal-content,
.offcanvas {
	border-color: var(--ek-line) !important;
	background: var(--ek-surface) !important;
	box-shadow: var(--ek-shadow);
}

.prime-page__title,
.sm-section__title,
.t4-product h1,
.t4-product h2,
.prime-cart-box__title,
.prime-cart-summary__title,
.checkout-page__title,
.checkout-section__title,
.auth-card h1,
.auth-card h2,
.cms-content h1,
.cms-content h2 {
	color: var(--ek-ink) !important;
}

.text-muted,
.prime-cart-card__meta,
.checkout-page__lead,
.checkout-section__hint,
.form-text,
.t4-product__excerpt,
.t4-product__specs-label {
	color: var(--ek-muted) !important;
}

a {
	text-decoration-color: rgba(185, 76, 13, .35);
}

a:hover {
	text-decoration-color: var(--ek-orange-dark);
}

/* Breadcrumbs and compact navigation */
.breadcrumb,
.t4-product__toolbar,
.prime-catalog__toolbar,
.catalog-toolbar {
	border-color: var(--ek-line) !important;
	color: var(--ek-muted) !important;
}

.breadcrumb a,
.t4-product__crumb a,
.prime-catalog a:not(.prime-btn):not(.btn-details) {
	color: var(--ek-ink);
}

.breadcrumb a:hover,
.t4-product__crumb a:hover,
.prime-catalog a:not(.prime-btn):not(.btn-details):hover {
	color: var(--ek-orange-dark);
}

/* Forms */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
	border-color: #d8ccbe !important;
	background-color: #fffdfa !important;
	color: var(--ek-ink) !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
	border-color: var(--ek-orange) !important;
	box-shadow: 0 0 0 4px rgba(233, 109, 31, .12) !important;
	outline: 0;
}

.form-check-input:checked,
input[type="checkbox"]:checked,
input[type="radio"]:checked {
	border-color: var(--ek-orange) !important;
	background-color: var(--ek-orange) !important;
}

/* Unified actions */
.btn-primary,
.sm-btn-primary,
.prime-btn--primary,
.prime-btn--accent,
.btn-details,
.addtocart,
.t4-product__cart,
.t4-sticky-buy__cart,
.checkout-section__step {
	border-color: var(--ek-orange) !important;
	background: var(--ek-orange) !important;
	color: #fff !important;
}

.btn-primary:hover,
.sm-btn-primary:hover,
.prime-btn--primary:hover,
.prime-btn--accent:hover,
.btn-details:hover,
.addtocart:hover,
.t4-product__cart:hover,
.t4-sticky-buy__cart:hover {
	border-color: var(--ek-orange-dark) !important;
	background: var(--ek-orange-dark) !important;
	color: #fff !important;
}

.btn-outline-primary,
.prime-btn--outline,
.t4-product__buynow {
	border-color: #d39a72 !important;
	background: var(--ek-cream) !important;
	color: var(--ek-orange-dark) !important;
}

.btn-outline-primary:hover,
.prime-btn--outline:hover,
.t4-product__buynow:hover {
	border-color: var(--ek-charcoal) !important;
	background: var(--ek-charcoal) !important;
	color: #fff !important;
}

/* Catalog and filters */
.prime-catalog__layout {
	gap: 22px;
}

.prime-catalog__sidebar,
.prime-filter-panel {
	border: 1px solid var(--ek-line) !important;
	border-radius: 18px !important;
}

.prime-filter-group,
.catalog-filter-group,
.prime-filter-section {
	border-color: var(--ek-line) !important;
}

.prime-filter-group__title,
.catalog-filter-title,
.prime-filter-title {
	color: var(--ek-ink) !important;
}

.prime-filter-chip,
.badge,
.catalog-chip {
	border-color: #e5c7ae !important;
	background: var(--ek-cream) !important;
	color: var(--ek-orange-dark) !important;
}

.prime-product-card,
.product-card,
.t4-product-card,
.product-item,
.productCard {
	border-color: var(--ek-line) !important;
	background: #fff !important;
	box-shadow: 0 8px 24px rgba(61, 45, 29, .055) !important;
}

.prime-product-card:hover,
.product-card:hover,
.t4-product-card:hover,
.product-item:hover,
.productCard:hover {
	border-color: #dfa77f !important;
	box-shadow: 0 15px 32px rgba(61, 45, 29, .11) !important;
}

.current-price,
.product-price,
.prime-product-card__price,
.t4-product-card__prices {
	color: var(--ek-orange-dark) !important;
}

/* Product detail */
.product-showcase__inner,
.t4-product__showcase {
	border-color: var(--ek-line) !important;
	background: transparent !important;
}

.product-gallery__main,
.product-gallery__thumb,
.t4-product__gallery-main {
	border-color: var(--ek-line) !important;
	background: #fff !important;
}

.product-gallery__thumb.active {
	border-color: var(--ek-orange) !important;
	box-shadow: 0 0 0 2px rgba(233, 109, 31, .13) !important;
}

.t4-product__prices,
.t4-product__specs,
.product-price-block {
	border-color: var(--ek-line) !important;
	background: var(--ek-cream) !important;
}

.product-variation-option[aria-checked="true"],
.product-variation-option.active,
.qty-btn:hover,
.t4-product__fav-btn:hover,
.t4-product__pager-btn:hover,
.t4-rail__btn:hover {
	border-color: var(--ek-orange) !important;
	background: var(--ek-cream) !important;
	color: var(--ek-orange-dark) !important;
}

.nav-tabs {
	border-color: var(--ek-line) !important;
}

.nav-tabs .nav-link.active {
	border-color: var(--ek-line) var(--ek-line) var(--ek-surface) !important;
	background: var(--ek-surface) !important;
	color: var(--ek-orange-dark) !important;
}

/* Cart and checkout */
.prime-cart-card,
.prime-cart-summary__row,
.checkout-payment-card,
.checkout-address-option {
	border-color: var(--ek-line) !important;
}

.prime-cart-card__thumb,
.checkout-payment-card__icon {
	background: var(--ek-cream) !important;
}

.prime-cart-card__total,
.prime-cart-summary__row--total,
.prime-cart-sticky__price {
	color: var(--ek-orange-dark) !important;
}

.prime-cart-summary__ship,
.checkout-member-bar,
.checkout-section__head {
	border-color: var(--ek-line) !important;
	background: var(--ek-cream) !important;
}

.checkout-steps__item.is-active,
.checkout-steps__item.is-done,
.checkout-section__login,
.checkout-member-bar__link {
	color: var(--ek-orange-dark) !important;
}

.checkout-steps__item.is-active::before,
.checkout-steps__item.is-done::before,
.checkout-steps__sep {
	background: var(--ek-orange) !important;
}

.checkout-payment-card:has(input:checked),
.checkout-address-option:has(input:checked) {
	border-color: var(--ek-orange) !important;
	background: var(--ek-cream) !important;
}

/* Account, authentication and informational pages */
.auth-card,
.t4-auth__card,
.account-card,
.contact-card,
.cms-content {
	border: 1px solid var(--ek-line) !important;
	border-radius: 20px !important;
}

/* Store information and legal pages */
.prime-page-card:has(.ek-cms-intro) {
	max-width: 1120px;
}

.prime-page-card:has(.ek-cms-intro) .prime-page__content {
	display: grid;
	gap: 22px;
}

.ek-cms-intro {
	padding: clamp(22px, 4vw, 42px);
	border: 1px solid #d9e3ec;
	border-radius: 22px;
	background: linear-gradient(135deg, #f7fafc 0%, #eef5f8 100%);
}

.ek-cms-kicker {
	display: block;
	margin-bottom: 10px;
	color: #0f6e7a;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .12em;
}

.ek-cms-intro p {
	max-width: 850px;
	margin: 0;
	color: #243746;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.7;
}

.ek-cms-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ek-cms-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ek-cms-card,
.ek-cms-section {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid #dce4ea;
	border-radius: 18px;
	background: #fff;
}

.ek-cms-card h2,
.ek-cms-section h2 {
	margin: 0 0 12px;
	color: #132f4c !important;
	font-size: 1.08rem;
}

.ek-cms-card p:last-child,
.ek-cms-section p:last-child,
.ek-cms-card .ek-cms-list:last-child {
	margin-bottom: 0;
}

.ek-cms-card--featured {
	border-top: 4px solid #0d7784;
}

.ek-cms-card__tag {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #e8f5f5;
	color: #0f6e7a;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .08em;
}

.ek-cms-data {
	display: grid;
	gap: 9px;
	margin: 0;
}

.ek-cms-data div {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 12px;
}

.ek-cms-data dt {
	color: #697c8c;
	font-weight: 700;
}

.ek-cms-data dd {
	margin: 0;
	color: #172b3a;
}

.ek-cms-list {
	display: grid;
	gap: 9px;
	margin: 0;
	padding-left: 20px;
}

.ek-cms-list li::marker {
	color: #0d7784;
}

.ek-cms-note {
	padding: 18px 20px;
	border-left: 4px solid #0d7784;
	border-radius: 8px 16px 16px 8px;
	background: #eef7f7;
	color: #264552;
}

.ek-cms-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	counter-reset: cms-step;
}

.ek-cms-steps > div {
	position: relative;
	padding: 22px 20px 22px 62px;
	border: 1px solid #dce4ea;
	border-radius: 16px;
	background: #fff;
	counter-increment: cms-step;
}

.ek-cms-steps > div::before {
	content: counter(cms-step);
	position: absolute;
	left: 18px;
	top: 20px;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: #12385b;
	color: #fff;
	font-weight: 800;
}

.ek-cms-steps strong,
.ek-cms-steps span,
.ek-cms-contact strong,
.ek-cms-contact span {
	display: block;
}

.ek-cms-steps span,
.ek-cms-contact span {
	margin-top: 5px;
	color: #687b89;
}

.ek-cms-contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: clamp(22px, 3vw, 30px);
	border-radius: 18px;
	background: #142f4a;
	color: #fff;
}

.ek-cms-contact span {
	color: #cad7e2;
}

.ek-cms-button {
	flex: 0 0 auto;
	padding: 11px 18px;
	border-radius: 10px;
	background: #fff;
	color: #142f4a !important;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 767.98px) {
	.ek-cms-grid,
	.ek-cms-grid--three,
	.ek-cms-steps {
		grid-template-columns: 1fr;
	}

	.ek-cms-contact {
		align-items: flex-start;
		flex-direction: column;
	}

	.ek-cms-data div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

.auth-card__aside,
.account-sidebar,
.contact-card__aside {
	background: var(--ek-charcoal) !important;
	color: #fff !important;
}

.auth-card__aside a,
.account-sidebar a,
.contact-card__aside a {
	color: #ffd7b7 !important;
}

.t4-auth__card {
	border: 1px solid var(--ek-line) !important;
	background: var(--ek-surface) !important;
	box-shadow: var(--ek-shadow) !important;
}

.t4-auth__title,
.t4-auth__subtitle,
.t4-auth__footer {
	color: var(--ek-ink) !important;
}

.t4-auth__link,
.t4-auth__home {
	color: var(--ek-orange-dark) !important;
}

.t4-auth__submit {
	border-color: var(--ek-orange) !important;
	background: var(--ek-orange) !important;
	color: #fff !important;
}

.t4-auth__submit:hover {
	border-color: var(--ek-orange-dark) !important;
	background: var(--ek-orange-dark) !important;
}

/* Footer and service strip */
.t4-service-bar {
	border-color: var(--ek-line) !important;
	background: var(--ek-surface) !important;
}

.t4-service-bar__icon {
	background: var(--ek-cream) !important;
	color: var(--ek-orange-dark) !important;
}

.t4-footer {
	background: linear-gradient(180deg, #2d2925 0%, #1f1d1a 100%) !important;
	color: rgba(255, 255, 255, .86) !important;
}

.t4-footer a {
	color: #eadfd4 !important;
}

.t4-footer a:hover {
	color: #ffc28f !important;
}

.t4-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.t4-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.t4-footer__legal a {
	font-size: .78rem;
}

/* Keep promotional discount labels hidden until merchant creates a campaign. */
.discount-badge,
.old-price,
.t4-product__discount,
.sm-product-card__price-old {
	display: none !important;
}

@media (max-width: 767.98px) {
	.panel,
	.card,
	.prime-catalog__sidebar,
	.prime-catalog__main,
	.product-media-card,
	.product-purchase-card,
	.prime-cart-box,
	.prime-cart-summary__card,
	.checkout-section,
	.auth-card,
	.cms-content {
		border-radius: 15px !important;
	}
}

/* Professional department mega menu */
.eksen-market-top {
	isolation: isolate;
}

.eksen-departments {
	position: relative;
	z-index: 30;
	overflow: visible !important;
}

.eksen-departments__nav {
	position: relative;
}

.eksen-departments__group {
	position: relative;
}

.eksen-departments__group > summary small {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 7px;
	background: #f4ede5;
	color: var(--ek-orange-dark);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	transition: transform .18s ease, background .18s ease;
}

.eksen-departments__group[open] > summary {
	background: var(--ek-cream) !important;
	color: var(--ek-orange-dark) !important;
}

.eksen-departments__group[open] > summary small {
	background: var(--ek-orange);
	color: #fff;
	transform: rotate(45deg);
}

.eksen-departments__mega {
	position: absolute;
	top: -1px;
	left: calc(100% + 14px);
	z-index: 80;
	width: min(760px, calc(100vw - 370px));
	max-height: 540px;
	overflow: auto;
	padding: 22px;
	border: 1px solid var(--ek-line);
	border-radius: 18px;
	background: var(--ek-surface);
	box-shadow: 0 24px 60px rgba(42, 31, 21, .18);
	animation: eksenMegaIn .18s ease both;
}

@keyframes eksenMegaIn {
	from { opacity: 0; transform: translateX(-8px); }
	to { opacity: 1; transform: translateX(0); }
}

.eksen-departments__mega-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ek-line);
}

.eksen-departments__mega-head small {
	display: block;
	margin-bottom: 4px;
	color: var(--ek-orange-dark);
	font-size: .68rem;
	font-weight: 900;
	letter-spacing: .14em;
}

.eksen-departments__mega-head strong {
	color: var(--ek-ink);
	font-size: 1.18rem;
	font-weight: 850;
}

.eksen-departments__mega-head > a {
	flex: 0 0 auto;
	padding: 9px 13px;
	border: 1px solid #e2b48e;
	border-radius: 9px;
	background: var(--ek-cream);
	color: var(--ek-orange-dark) !important;
	font-size: .78rem;
	font-weight: 800;
	text-decoration: none !important;
}

.eksen-departments__mega-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.eksen-departments__branch {
	min-width: 0;
	padding: 14px;
	border: 1px solid #eadfd4;
	border-radius: 13px;
	background: #fffaf4;
}

.eksen-departments__branch-title {
	display: block;
	padding-bottom: 9px;
	border-bottom: 1px solid #ecdfd3;
	color: var(--ek-ink) !important;
	font-size: .83rem;
	font-weight: 850;
	line-height: 1.3;
	text-decoration: none !important;
}

.eksen-departments__branch-title:hover {
	color: var(--ek-orange-dark) !important;
}

.eksen-departments__grandchildren {
	display: grid;
	gap: 6px;
	padding-top: 10px;
}

.eksen-departments__grandchildren a {
	display: block;
	color: #665d54 !important;
	font-size: .72rem;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
}

.eksen-departments__grandchildren a:hover {
	color: var(--ek-orange-dark) !important;
}

.eksen-departments__mega-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding: 13px 15px;
	border-radius: 11px;
	background: var(--ek-charcoal);
	color: #e9dfd5;
	font-size: .75rem;
}

.eksen-departments__mega-foot a {
	color: #ffc28f !important;
	font-weight: 800;
	text-decoration: none !important;
}

@media (max-width: 1199.98px) {
	.eksen-departments__mega {
		width: min(650px, calc(100vw - 340px));
	}

	.eksen-departments__mega-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Homepage image-led promotional banners. */
.eksen-promo-grid {
	gap: 18px !important;
	margin-bottom: 34px !important;
}

.eksen-promo {
	position: relative !important;
	display: block !important;
	min-height: 0 !important;
	aspect-ratio: 2 / 1;
	overflow: hidden !important;
	padding: 0 !important;
	border: 1px solid var(--ek-line) !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 16px 38px rgba(42, 34, 27, .12) !important;
}

.eksen-promo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease, filter .45s ease;
}

.eksen-promo::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .38);
	border-radius: inherit;
	pointer-events: none;
}

.eksen-promo:hover img {
	transform: scale(1.035);
	filter: saturate(1.04) contrast(1.02);
}

.eksen-promo:focus-visible {
	outline: 3px solid rgba(30, 105, 143, .25);
	outline-offset: 3px;
}

@media (max-width: 575.98px) {
	.eksen-promo {
		aspect-ratio: 16 / 9;
		border-radius: 16px !important;
	}
}

