/* -----------------------------*/
/* 	 	SITE MAIN STYLE START	*/
/* -----------------------------*/

/* SCROLLBARS */
html {
	scrollbar-color: var(--scroll-color) transparent;
	scrollbar-width: thin;
	font: var(--font);
}

::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
	background: var(--scroll-color);
	border-radius: 5px;
}

/* BASIC */
body {
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

/* THEME SWITCH */
.themeswitch {
	display: flex;
	height: 100%;
	--switch-radius: 8px;
}

.themeswitch .theme-btn {
	color: var(--txt2);
	display: flex;
	border-radius: var(--switch-radius);
	cursor: pointer;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 35px;
}

.themeswitch i {
	display: flex;
	pointer-events: none;
	border-radius: var(--switch-radius);
	position: absolute;
	z-index: 2;
	font-size: calc(var(--switch-radius) * 2);
	margin: 0 calc(var(--switch-radius, 10px) / 2);
	color: var(--txt2);
	justify-content: center;
	align-items: center;
	transition:
		transform 0.4s ease-in-out,
		opacity 0.4s ease-in-out;
	overflow: hidden;
}

.themeswitch .theme-btn[data-theme='dark'] i.light {
	transform: translateY(-100%);
	opacity: 0;
}

.themeswitch .theme-btn[data-theme='dark'] i.dark {
	transform: translateY(0);
	opacity: 1;
}

.themeswitch .theme-btn[data-theme='light'] i.dark {
	transform: translateY(100%);
	opacity: 0;
}

.themeswitch .theme-btn[data-theme='light'] i.light {
	transform: translateY(0);
	opacity: 1;
}

/* -----------------------------*/
/* 		 SITE MAIN STYLE END	*/
/* -----------------------------*/


/* ----- HEADER START ----- */
.header-outer {
	--sidecalc: max(var(--mq-mw-pad, 20px), calc((100% - 1600px) / 2));
	position: sticky;
	top: -0.05px;
	left: 0;
	padding: 0;
	background-color: var(--bg);
	overflow: visible;
	grid-template-columns: 1fr;
	box-shadow: inset 0 0 0 transparent;
	z-index: 100;
	transition: background-color var(--trans-def),
				box-shadow var(--trans-def);
}
.header-outer.sticky {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* TOP */
.header-top-wrapper {
	grid-row: 1;
	grid-column: 1;
	background-color: var(--bg2);
	color: var(--txt2);
}
.header-top-inner {
	grid-template-columns: minmax(min-content, max-content) 1fr repeat(2, minmax(min-content, max-content));
	align-items: center;
	column-gap: 20px;
	min-height: 40px;
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 14px;
}
.header-top-info {
	white-space: nowrap;
}
.header-top-promo {
	text-align: center;
}
.header-top-socials {
	display: flex;
	align-items: center;
	gap: 14px;
}
.header-top-socials a {
	color: inherit;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	transition: color var(--trans-def);
}
.header-top-socials a:hover,
.header-top-socials a:focus {
	color: var(--color1);
}
.header-top-socials i {
	font-size: 14px;
}

/* BOTTOM */
.header-bottom-inner {
	grid-row: 2;
	grid-column: 1;
	grid-template-columns: var(--logo-width) minmax(min-content, max-content);
	grid-template-rows: 1fr;
	align-items: center;
	justify-content: space-between;
	grid-column-gap: 25px;
	min-height: 90px;
	padding-top: 12px;
	padding-bottom: 12px;
	position: relative;
	z-index: 1;
}
.header-bottom-inner .logo {
	width: var(--logo-width);
	position: relative;
	z-index: 3;
}
.header-bottom-inner .logo a {}
.header-bottom-inner .logo img {
	max-width: var(--logo-width);
	object-fit: contain;
	object-position: center;
	width: 100%;
}
.header-bottom-inner .actions-cnt {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
	position: relative;
	z-index: 3;
}
.header-bottom-inner .action-btn {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	background: none;
	color: inherit;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: color var(--trans-def);
}
.header-bottom-inner .action-btn:hover,
.header-bottom-inner .action-btn:focus {
	color: var(--color1);
}
.header-bottom-inner .action-btn i {
	font-size: 18px;
	pointer-events: none;
}
.header-bottom-inner .action-btn span {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	border-radius: 50px;
	background-color: var(--color1);
	color: var(--txt2);
	font-size: 10px;
	display: flex;
	pointer-events: none;
	align-items: center;
    justify-content: center;
}
.header-bottom-inner .search-btn {}
.header-bottom-inner .user-btn {}
.header-bottom-inner .favorite-btn {}
.header-bottom-inner .cart-btn {}
/* ----- HEADER END ----- */


/* ----- CONTENT START ----- */
.content-section {
	width: 100%;
	min-height: 60vh;
}
.content-outer {
	
}
/* ----- CONTENT END ----- */


/* ----- FOOTER START ----- */
.footer-outer {
	padding: 50px 0;
	background-color: var(--bg2);
}

.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-areas:
		'middle right'
		'left left';
	gap: 64px;
	justify-items: center;
	align-items: start;
}
.footer-title {
	position: relative;
	font: var(--font);
	font-weight: 500;
	color: var(--txt2);
	font-size: 24px;
	margin-bottom: 24px;
}
.footer-title:before {
	content: '';
	width: 55px;
	height: 3px;
	background-color: var(--txt5);
	position: absolute;
	bottom: -7.5px;
	left: 0;
}
.footer-left {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.footer-left .footer-title {
	grid-column: span 3;
}
.footer-middle {
    grid-area: middle;
}
.footer-right {
	width: 100%;
	grid-area: right;
}
.footer-right p {
	color: var(--txt2);
	letter-spacing: 0.08em;
}

.footer-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.fl-item {
	padding: 0;
	margin: 0;
}
.fl-item a  {
	color: var(--txt2);
}
.fl-item a:focus,
.fl-item a:hover  {
	color: var(--txt3);
}
.fl-item a:focus:not(:has(> i)),
.fl-item a:hover:not(:has(> i))  {
	text-decoration: underline;
}
.fl-item i {
	font-size: 24px;
}
.footer-bottom {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid var(--txt5);
}
.footer-copyright {
	color: var(--txt2);
}

/* BACK TO TOP */
.back-to-top {
	position: fixed;
	--btt-size: 50px;
	display: grid;
	align-items: center;
    justify-items: center;
	bottom: calc(0px - var(--btt-size));
	right: 50px;
	width: var(--btt-size);
	height: var(--btt-size);
	color: var(--txt2);
	cursor: pointer;
	pointer-events: none;
	z-index: 100;
	transition: color var(--trans-def),
				border-color var(--trans-def),
				background-color var(--trans-def),
				bottom var(--trans-def);
}

.back-to-top:before {
	content: '';
	position: absolute;
	background: var(--color1);
	height: 100%;
	width: 100%;
	pointer-events: none;
	left: 0;
	top: 0;
	z-index: 1;
	border-radius: 50%;
	transition: background var(--trans-def);
	box-shadow: inset 0 0 0 1px rgb(255, 255, 255, 10%),
				0 2px 6px rgb(0, 0, 0, 10%);
}

.back-to-top.visible {
	bottom: 50px;
	pointer-events: all;
}

.back-to-top i {
	font-size: 20px;
	text-align: center;
	pointer-events: none;
	position: relative;
	z-index: 2;
	max-height: var(--btt-size);
	max-width: var(--btt-size);
}

.back-to-top:hover:before,
.back-to-top:focus:before {
	background: var(--color1h);
}

/* ----- FOOTER END ----- */


/* ---- MEDIA QUERIES START ---- */
@media screen and (max-width: 1024px) {
	:root {--logo-width: 91px; }
	.logo img { height: 70px; }
}
/* ---- MEDIA QUERIES END ---- */