/* ################################################## */
/* Base */
/* ################################################## */

:root {
	/* ######################### */
	/* Colors */
	/* ######################### */

	/* --color-primary-600: #14201c; */
	--color-primary-500: #d1916c;
	--color-primary-500-o20: color-mix(
		in srgb,
		var(--color-primary-500),
		transparent 80%
	);
	--color-primary-600: #ba784c;
	--color-primary-700: #8c5937;
	/* --color-primary-400: #435e55; */
	--color-brown-500: #373232;
	--color-brown-500-o65: color-mix(
		in srgb,
		var(--color-brown-500),
		transparent 35%
	);
	/* --color-secondary-600: #915541; */
	/* --color-secondary-400: #e1a593; */
	--color-black-400: #0a0a0a;
	--color-black-400-o65: color-mix(
		in srgb,
		var(--color-black-400),
		transparent 35%
	);
	--color-black-500: #000;
	--color-gray-500: #d7d6d6;
	--color-white-500: #fff;
	--color-white-600: #f6f5f5;
	--color-white-600-o65: color-mix(
		in srgb,
		var(--color-white-600),
		transparent 35%
	);
	/* --color-gray-500: #9d9d9d; */
	/* --color-gray-400: #e9e9e9; */
	/* --color-white-700: #f3f3f3; */
	/* --color-white-600: #fefdfd; */
	--color-success: #15a445;
	--color-error: #ef3b2c;
	/* Fix for woocommerce */
	--wc-red: #ef3b2c !important;
	/* --color-debug-red: #ff0000; */
	/* --color-debug-green: #00ff00; */
	/* --color-debug-blue: #0000ff; */

	/* ######################### */
	/* Spacing (100%) */
	/* ######################### */

	/* --spacing-5xl: 12.25rem; */
	/* --spacing-4xl: 10rem; */
	/* --spacing-3xl: 8rem; */
	/* Not using i guess (upper) */

	/* --spacing-section-lg: clamp(10rem, 8.653rem + 4.5vw, 12.25rem); */
	/* --spacing-section-md: clamp(6rem, 4.803rem + 4vw, 8rem); */
	/* --spacing-section-sm: clamp(4rem, 2.802rem + 4vw, 6rem); */
	--nav-top-container-height: 2rem;
	--nav-bottom-container-height: 6rem;
	--nav-bottom-search-container-height: 0rem;
	--spacing-nav-height: calc(
		var(--nav-top-container-height) + var(--nav-bottom-container-height) +
			var(--nav-bottom-search-container-height)
	);

	--spacing-section-lg: clamp(2rem, 0.204rem + 6vw, 5rem);
	--spacing-section-md: clamp(3rem, 1.802rem + 4vw, 5rem);
	/* Custom added (upper) */
	--spacing-3xl: 8rem; /* 128px */
	--spacing-2xl: 6rem; /* 96px */
	--spacing-xl: 4rem; /* 64px */
	--spacing-lg: 3rem; /* 48px */
	--spacing-md: 2rem; /* 32px */
	--spacing-sm: 1.5rem; /* 24px */
	--spacing-xs: 1rem; /* 16px */
	--spacing-2xs: 0.75rem; /* 12px */
	--spacing-3xs: 0.5rem; /* 8px */
	--spacing-4xs: 0.25rem; /* 4px */
	/* --spacing-5xs: 0.125rem; */

	/* ######################### */
	/* Typography (Base) */
	/* ######################### */

	--fz-4xl: clamp(2.5rem, 1.677rem + 2.75vw, 3.875rem); /* 62px (min 40px) */
	--fz-xl: clamp(2rem, 1.701rem + 1vw, 2.5rem); /* 40px (min 32px) */
	--fz-2lg: clamp(1.25rem, 0.801rem + 1.5vw, 2rem); /* 32px (min 20px) */
	--fz-lg: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem); /* 20px (min 18px) */
	--fz-md: clamp(1rem, 0.792rem + 0.69vw, 1.125rem); /* 18px (min 16px) */
	--fz-sm: clamp(0.875rem, 0.8rem + 0.25vw, 1rem); /* 16px (min 14px) */
	--fz-xs: clamp(0.75rem, 0.675rem + 0.25vw, 0.875rem); /* 14px (min 12px) */

	/* ######################### */
	/* Other */
	/* ######################### */

	/* Border radius */
	--border-radius-btn: 9999px;
	--border-radius-main: 8px;
	--border-radius-sm: 6px;
	/* --border-radius-xs: 8px; */

	/* Box shadow */
	--shadow-default: 0 4px 20px 0 rgba(0, 0, 0, 0.03);

	/* Misc */
	--grid-container-gap: var(--spacing-md);
}

/* ################################################## */
/* Responsive */
/* ################################################## */

/* ######################### */
/* MAX-WIDTH: 1279px (Wrapper) */
/* ######################### */

@media (max-width: 1279px) {
	:root {
		/* Spacing: ~93.75% */
		--spacing-5xs: 0.1172rem;
		--spacing-4xs: 0.2344rem;
		--spacing-3xs: 0.4688rem;
		--spacing-2xs: 0.7031rem;
		--spacing-xs: 0.9375rem;
		--spacing-sm: 1.4063rem;
		--spacing-md: 1.875rem;
		--spacing-lg: 2.8125rem;
		--spacing-xl: 3.75rem;
		--spacing-2xl: 5.625rem;
		--spacing-3xl: 7.5rem;
		--spacing-4xl: 9.375rem;
		--spacing-5xl: 11.4844rem;
	}
}

/* ######################### */
/* MAX-WIDTH: 1119px (Tablet Landscape) */
/* ######################### */

@media (max-width: 1119px) {
	:root {
		/* Spacing: 87.5% */
		--spacing-5xs: 0.1094rem;
		--spacing-4xs: 0.2188rem;
		--spacing-3xs: 0.4375rem;
		--spacing-2xs: 0.6563rem;
		--spacing-xs: 0.875rem;
		--spacing-sm: 1.3125rem;
		--spacing-md: 1.75rem;
		--spacing-lg: 2.625rem;
		--spacing-xl: 3.5rem;
		--spacing-2xl: 5.25rem;
		--spacing-3xl: 7rem;
		--spacing-4xl: 8.75rem;
		--spacing-5xl: 10.7188rem;
	}
}

/* ######################### */
/* MAX-WIDTH: 1023px (Tablet Portrait) */
/* ######################### */

@media (max-width: 1023px) {
	:root {
		/* Spacing: ~81.25% */
		--spacing-5xs: 0.1016rem;
		--spacing-4xs: 0.2031rem;
		--spacing-3xs: 0.4063rem;
		--spacing-2xs: 0.6094rem;
		--spacing-xs: 0.8125rem;
		--spacing-sm: 1.2188rem;
		--spacing-md: 1.625rem;
		--spacing-lg: 2.4375rem;
		--spacing-xl: 3.25rem;
		--spacing-2xl: 4.875rem;
		--spacing-3xl: 6.5rem;
		--spacing-4xl: 8.125rem;
		--spacing-5xl: 9.9531rem;
	}
}

/* ######################### */
/* MAX-WIDTH: 767px (Phone Landscape) */
/* ######################### */

@media (max-width: 767px) {
	:root {
		--nav-bottom-container-height: 5rem;
		--nav-bottom-search-container-height: 3.5rem;

		/* Spacing: 75% */
		--spacing-5xs: 0.0938rem;
		--spacing-4xs: 0.1875rem;
		--spacing-3xs: 0.375rem;
		--spacing-2xs: 0.5625rem;
		--spacing-xs: 0.75rem;
		--spacing-sm: 1.125rem;
		--spacing-md: 1.5rem;
		--spacing-lg: 2.25rem;
		--spacing-xl: 3rem;
		--spacing-2xl: 4.5rem;
		--spacing-3xl: 6rem;
		--spacing-4xl: 7.5rem;
		--spacing-5xl: 9.1875rem;
	}
}

/* ######################### */
/* MAX-WIDTH: 479px (Phone Portrait) */
/* ######################### */

@media (max-width: 479px) {
	:root {
		--nav-bottom-container-height: 4rem;
		/* Spacing: 62.5% */
		--spacing-5xs: 0.0781rem;
		--spacing-4xs: 0.1563rem;
		--spacing-3xs: 0.3125rem;
		--spacing-2xs: 0.4688rem;
		--spacing-xs: 0.625rem;
		--spacing-sm: 0.9375rem;
		--spacing-md: 1.25rem;
		--spacing-lg: 1.875rem;
		--spacing-xl: 2.5rem;
		--spacing-2xl: 3.75rem;
		--spacing-3xl: 5rem;
		--spacing-4xl: 6.25rem;
		--spacing-5xl: 7.6563rem;

		--grid-container-gap: var(--spacing-sm);
	}
}
