/*
CTC Separate Stylesheet
Updated: 2025-11-16 11:18:46
*/
/*--------Whatsapp Icon--------*/
.custom_social_icon_btn {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 15px;
	right: 15px;
	background-color: #25d366;
	color: #FFF;
	border-radius: 50px;
	text-align: center;
	font-size: 30px;
	box-shadow: 0px 0px 3px #777;
	z-index: 100;
}

.custom_social_btn_icon {
	margin-top: 16px;
}

/*--------Whatsapp Icon--------*/

@custom-variant dark (&:is(.dark *));

:root {
	--font-size: 16px;
	--background: #ffffff;
	--foreground: oklch(0.145 0 0);
	--card: #ffffff;
	--card-foreground: oklch(0.145 0 0);
	--popover: oklch(1 0 0);
	--popover-foreground: oklch(0.145 0 0);
	--primary: #030213;
	--primary-foreground: oklch(1 0 0);
	--secondary: oklch(0.95 0.0058 264.53);
	--secondary-foreground: #030213;
	--muted: #ececf0;
	--muted-foreground: #717182;
	--accent: #e9ebef;
	--accent-foreground: #030213;
	--destructive: #d4183d;
	--destructive-foreground: #ffffff;
	--border: rgba(0, 0, 0, 0.1);
	--input: transparent;
	--input-background: #f3f3f5;
	--switch-background: #cbced4;
	--font-weight-medium: 500;
	--font-weight-normal: 400;
	--ring: oklch(0.708 0 0);
	--chart-1: oklch(0.646 0.222 41.116);
	--chart-2: oklch(0.6 0.118 184.704);
	--chart-3: oklch(0.398 0.07 227.392);
	--chart-4: oklch(0.828 0.189 84.429);
	--chart-5: oklch(0.769 0.188 70.08);
	--radius: 0.625rem;
	--sidebar: oklch(0.985 0 0);
	--sidebar-foreground: oklch(0.145 0 0);
	--sidebar-primary: #030213;
	--sidebar-primary-foreground: oklch(0.985 0 0);
	--sidebar-accent: oklch(0.97 0 0);
	--sidebar-accent-foreground: oklch(0.205 0 0);
	--sidebar-border: oklch(0.922 0 0);
	--sidebar-ring: oklch(0.708 0 0);
}

.dark {
	--background: oklch(0.145 0 0);
	--foreground: oklch(0.985 0 0);
	--card: oklch(0.145 0 0);
	--card-foreground: oklch(0.985 0 0);
	--popover: oklch(0.145 0 0);
	--popover-foreground: oklch(0.985 0 0);
	--primary: oklch(0.985 0 0);
	--primary-foreground: oklch(0.205 0 0);
	--secondary: oklch(0.269 0 0);
	--secondary-foreground: oklch(0.985 0 0);
	--muted: oklch(0.269 0 0);
	--muted-foreground: oklch(0.708 0 0);
	--accent: oklch(0.269 0 0);
	--accent-foreground: oklch(0.985 0 0);
	--destructive: oklch(0.396 0.141 25.723);
	--destructive-foreground: oklch(0.637 0.237 25.331);
	--border: oklch(0.269 0 0);
	--input: oklch(0.269 0 0);
	--ring: oklch(0.439 0 0);
	--font-weight-medium: 500;
	--font-weight-normal: 400;
	--chart-1: oklch(0.488 0.243 264.376);
	--chart-2: oklch(0.696 0.17 162.48);
	--chart-3: oklch(0.769 0.188 70.08);
	--chart-4: oklch(0.627 0.265 303.9);
	--chart-5: oklch(0.645 0.246 16.439);
	--sidebar: oklch(0.205 0 0);
	--sidebar-foreground: oklch(0.985 0 0);
	--sidebar-primary: oklch(0.488 0.243 264.376);
	--sidebar-primary-foreground: oklch(0.985 0 0);
	--sidebar-accent: oklch(0.269 0 0);
	--sidebar-accent-foreground: oklch(0.985 0 0);
	--sidebar-border: oklch(0.269 0 0);
	--sidebar-ring: oklch(0.439 0 0);
}

@theme inline {
	--color-background: var(--background);
	--color-foreground: var(--foreground);
	--color-card: var(--card);
	--color-card-foreground: var(--card-foreground);
	--color-popover: var(--popover);
	--color-popover-foreground: var(--popover-foreground);
	--color-primary: var(--primary);
	--color-primary-foreground: var(--primary-foreground);
	--color-secondary: var(--secondary);
	--color-secondary-foreground: var(--secondary-foreground);
	--color-muted: var(--muted);
	--color-muted-foreground: var(--muted-foreground);
	--color-accent: var(--accent);
	--color-accent-foreground: var(--accent-foreground);
	--color-destructive: var(--destructive);
	--color-destructive-foreground: var(--destructive-foreground);
	--color-border: var(--border);
	--color-input: var(--input);
	--color-input-background: var(--input-background);
	--color-switch-background: var(--switch-background);
	--color-ring: var(--ring);
	--color-chart-1: var(--chart-1);
	--color-chart-2: var(--chart-2);
	--color-chart-3: var(--chart-3);
	--color-chart-4: var(--chart-4);
	--color-chart-5: var(--chart-5);
	--radius-sm: calc(var(--radius) - 4px);
	--radius-md: calc(var(--radius) - 2px);
	--radius-lg: var(--radius);
	--radius-xl: calc(var(--radius) + 4px);
	--color-sidebar: var(--sidebar);
	--color-sidebar-foreground: var(--sidebar-foreground);
	--color-sidebar-primary: var(--sidebar-primary);
	--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
	--color-sidebar-accent: var(--sidebar-accent);
	--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
	--color-sidebar-border: var(--sidebar-border);
	--color-sidebar-ring: var(--sidebar-ring);
}

@layer base {
	* {
		@apply border-border outline-ring/50;
	}

	body {
		@apply bg-background text-foreground;
	}
}

/**
* Base typography. This is not applied to elements which have an ancestor with a Tailwind text class.
*/
@layer base {
	:where(:not(:has([class*=' text-']), :not(:has([class^='text-'])))) {
		h1 {
			font-size: var(--text-2xl);
			font-weight: var(--font-weight-medium);
			line-height: 1.5;
		}

		h2 {
			font-size: var(--text-xl);
			font-weight: var(--font-weight-medium);
			line-height: 1.5;
		}

		h3 {
			font-size: var(--text-lg);
			font-weight: var(--font-weight-medium);
			line-height: 1.5;
		}

		h4 {
			font-size: var(--text-base);
			font-weight: var(--font-weight-medium);
			line-height: 1.5;
		}

		p {
			font-size: var(--text-base);
			font-weight: var(--font-weight-normal);
			line-height: 1.5;
		}

		label {
			font-size: var(--text-base);
			font-weight: var(--font-weight-medium);
			line-height: 1.5;
		}

		button {
			font-size: var(--text-base);
			font-weight: var(--font-weight-medium);
			line-height: 1.5;
		}

		input {
			font-size: var(--text-base);
			font-weight: var(--font-weight-normal);
			line-height: 1.5;
		}
	}
}

html {
	font-size: var(--font-size);
}



/*-----------Header-----*/

/* ===== RESET / BASE ===== */
.main-nav {
	background: #ffffff;
	border-bottom: 1px solid #e5e5e5;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	position: relative;
	z-index: 1000;
}

.main-nav .nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}

/* Logo */
.nav-logo a {
	font-size: 1.2rem;
	font-weight: 700;
	text-decoration: none;
	color: #222;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ===== DESKTOP MENU ===== */
.nav-desktop {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 24px;
	/* space between menu items */
}

.nav-desktop>.menu-item {
	position: relative;
}

.nav-desktop a {
	display: block;
	padding: 8px 0;
	text-decoration: none;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.2s ease, transform 0.15s ease;
}

.nav-desktop ul li a {
	color: #000 !important;
}

.nav-desktop ul li a:hover {
	color: #b8a551 !important;
}

/* Active / Current item (WordPress adds classes) */
.nav-desktop .current-menu-item>a,
.nav-desktop .current_page_item>a,
.nav-desktop .current-menu-ancestor>a,
.nav-desktop .current_page_ancestor>a {
	color: #b8a551;
}

/* Hover / Focus */
.nav-desktop a:hover,
.nav-desktop a:focus {
	color: #b8a551;
	/* transform: translateY(-1px); */
}

/* Dropdown arrow on items with children */
.nav-desktop .menu-item-has-children>a {
	padding-right: 16px;
	position: relative;
}

.nav-desktop .menu-item-has-children>a::after {
	content: "";
	font-size: 0.7rem;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url(/wp-content/uploads/2025/11/arrow_icon.svg);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	width: 12px;
	height: 12px;
	filter: invert(50);
}

/* ===== FIRST-LEVEL DROPDOWN ===== */
.nav-desktop .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 170px;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 999;
}

.nav-desktop .sub-menu .menu-item {
	position: relative;
}

.nav-desktop .sub-menu a {
	padding: 8px 18px;
	font-size: 0.9rem;
	white-space: nowrap;
}

/* Show dropdown on hover (desktop) */
.nav-desktop>.menu-item:hover>.sub-menu,
.nav-desktop>.menu-item:focus-within>.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ===== SECOND-LEVEL DROPDOWN (SUB OF SUB) ===== */
.nav-desktop .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	margin-left: 0;
}

.nav-desktop .sub-menu li:hover .sub-menu {
	visibility: visible !important;
	opacity: 1 !important;
}

/* arrow for second-level parent (Import – Product) */
.nav-desktop .sub-menu .menu-item-has-children>a::after {
	content: "";
	right: 0;
	transform: rotate(-90deg);
	top: 0;
	height: 100%;
	filter: unset;
}

/* ===== MOBILE TOGGLE BUTTON (HAMBURGER) ===== */
.nav-toggle {
	display: none;
	width: 34px;
	height: 26px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	position: relative;
}

.nav-toggle span {
	position: absolute;
	left: 0;
	right: 0;
	height: 3px;
	background: #222;
	border-radius: 999px;
	transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease, bottom 0.25s ease;
}

.nav-toggle span:nth-child(1) {
	top: 0;
}

.nav-toggle span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
	bottom: 0;
}

/* When nav is open (we'll toggle .is-open via JS) */
.main-nav.is-open .nav-toggle span:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

.main-nav.is-open .nav-toggle span:nth-child(2) {
	opacity: 0;
}

.main-nav.is-open .nav-toggle span:nth-child(3) {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}

/* ===== RESPONSIVE (MOBILE / TABLET) ===== */
@media (max-width: 991px) {
	
	.nav-mobile li.menu-item-has-children>a::after {
    	transform: unset !important;
	}
	.main-nav .nav-inner {
		height: 60px;
	}

	ul.nav-desktop {
		display: none !important;
	}

	/* Show hamburger */
	.nav-toggle {
		display: block;
	}

	/* Turn menu into dropdown panel */
	.nav-desktop {
		position: absolute;
		top: 60px;
		/* same as nav-inner height */
		left: 0;
		right: 0;
		background: #ffffff;
		border-top: 1px solid #e5e5e5;
		box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	/* When nav is open, expand */
	.main-nav.is-open .nav-desktop {
		max-height: 80vh;
		/* scrollable if too tall */
	}

	.nav-desktop>.menu-item {
		width: 100%;
	}

	.nav-desktop>.menu-item>a {
		padding: 10px 20px;
		width: 100%;
		border-bottom: 1px solid #f2f2f2;
	}

	/* Make all submenus visible & stacked */
	.nav-desktop .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-radius: 0;
		margin: 0;
		padding: 0;
		max-height: none;
	}

	.nav-desktop .sub-menu .menu-item>a {
		padding: 8px 32px;
		/* indent */
		border-bottom: 1px solid #f7f7f7;
	}

	.nav-desktop .sub-menu .sub-menu .menu-item>a {
		padding-left: 48px;
		/* more indent for level 2 */
	}

	/* Change dropdown arrow style on mobile (simple plus symbol) */
	.nav-desktop .menu-item-has-children>a::after {
		content: "+";
		position: static;
		float: right;
		margin-left: 8px;
		transform: none;
	}
}

/* Optional: nicer focus outline for accessibility */
.nav-desktop a:focus-visible,
.nav-toggle:focus-visible {
	outline: 2px solid #b8a551;
	outline-offset: 2px;
}


/*------------------*/

/* Mobile nav base */
.nav-mobile {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-mobile li {
	position: relative;
}

/* Hide all submenus by default */
.nav-mobile .sub-menu {
	display: none;
	padding-left: 15px;
	/* indent child menus */
}

/* Show submenu when parent <li> has .open */
.nav-mobile li.open>.sub-menu {
	display: block;
}

/* Add + / - icon for items with children */

.nav-mobile li.menu-item-has-children>a {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.nav-mobile li.menu-item-has-children>a::after {
	content: '';
	margin-left: 8px;
	background-image: url(/wp-content/uploads/2025/11/arrow_icon.svg);
	background-size: contain;
	background-repeat: no-repeat;
	width: 100%;
	transform: rotate(-180deg);
	max-width: 12px;
	height: 100%;
	position: absolute;
	right: 0;
	background-position: center;
}

.nav-mobile li.open>a::after {
	content: '';
	background-image: url(/wp-content/uploads/2025/11/arrow_icon.svg);
	transform: unset;
}

.nav-mobile li:not(:last-child) {
	margin-bottom: 8px;
}

.nav-mobile .sub-menu {
	margin-top: 8px;
}

.nav-mobile .sub-menu .sub-menu {
	margin-left: 0 !important;
}

.nav-mobile li.open>.sub-menu {
	display: block;
	margin-left: 10px;
}

.header-content.active button#mobileMenuBtn span.hamburger {
	background-color: transparent;
}

.header-content.active button#mobileMenuBtn span.hamburger::before {
	transform: rotate(44deg);
	top: 0 !important;
	background: #fff;
}

.header-content.active button#mobileMenuBtn span.hamburger::after {
	transform: rotate(-48deg);
	bottom: 0px !important;
	background: #fff;
}

.header-content.active button#mobileMenuBtn {
	position: relative;
	z-index: 100;
	/*     height: 100%; */
}

.toggle_active header.header .header-content.active button#mobileMenuBtn {
	background-color: transparent !important;
	width: fit-content;
}

.header_cta_btn {
	display: flex;
	gap: 10px;
}

.custom_catalogue_mobile_menu a:empty {
	display: none !important;
}

.custom_catalogue_mobile_menu .header_cta_btn {
	display: block !important;
}

.custom_catalogue_mobile_menu .header_cta_btn a {
	background-color: transparent;
}

.custom_catalogue_mobile_menu .header_cta_btn a:hover {
	background-color: #16a34a !important;
	border-color: #16a34a !important;
}

.nav-mobile.active a.custom-logo-link {
	margin-bottom: 40px !important;
	display: block;
}

@media (max-width: 767px) {
	.header-widgets-area {
		display: none;
	}

	.header-content img.custom-logo {
		max-width: 210px;
		width: 100%;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.header-content {
		position: relative;
	}

	.header-widgets-area {
		position: absolute;
		right: 80px;
	}
}