/*all products*/
#prodsect {
	padding: 140px 60px 80px;
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.prodhead {
	color: #e8e8e8;
	font-size: 32px;
	font-weight: 500;
	text-align: center;
	margin-bottom: 40px;
}

.prodfind {
	position: relative;
	max-width: 600px;
	margin: 0 auto 60px;
}

.prodbar {
	width: 100%;
	background-color: #1a1a1c;
	border: none;
	border-radius: 12px;
	padding: 14px 20px 14px 48px;
	color: #e8e8e8;
	font-size: 16px;
	outline: none;
}

.prodbar::placeholder {
	color: #555558;
}

.prodicon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
}

.prodicon path {
	stroke: #555558;
}

.prodlist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.proditem {
	background-color: #1a1a1c;
	border-radius: 20px;
	overflow: hidden;
	border: none;
}

.prodtop {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background-color: #222225;
}

.prodimg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.8;
}

.prodinfo {
	padding: 24px;
	text-align: center;
}

.prodos {
	color: #555558;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-bottom: 8px;
}

.prodname {
	color: #e8e8e8;
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 20px;
}

.prodbtn {
	width: 100%;
	background-color: #222225;
	color: #aaaaaa;
	border: none;
	padding: 14px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
}

.prodbtn:enabled{
	cursor:pointer;
}

.prodbtn:disabled {
	opacity: 1;
	cursor: not-allowed;
}

/*popup stuff*/
@keyframes popupin {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes popupout {
	from { opacity: 1; }
	to { opacity: 0; }
}

#popupoverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 10000;
	display: none;
}

#popupoverlay.entering,
#codeblock.entering {
	animation: popupin 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#popupoverlay.leaving,
#codeblock.leaving {
	animation: popupout 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#closepopup {
	margin: 0;
	cursor: pointer;
	border: none;
	outline: none;
	padding: 0 14px;
	border-radius: 6px;
	background: #1A1A1C;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
}

#closepopup svg{
	stroke: #ffffff;
	width: 20px;
	height: 20px;
}

#codeblock {
	position: fixed;
	top: 25%;
	left: 50%;
	transform: translateX(-50%);
	width: 480px;
	border: 0.5px solid black;
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
	background: #1a1a1c;
	z-index: 10001;
	display: none;
}
#codehead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 16px;
	background: #1A1A1C;
	border-bottom: 0.5px solid black;
}

#copyscript {
	margin: 0;
	cursor: pointer;
	border: none;
	outline: none;
	padding: 0 16px;
	border-radius: 6px;
	background: #1A1A1C;
	color: #555558;
	outline:0.5px solid black;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	font-family: 'Inter', sans-serif;
}


#copyscriptxt {
	margin: 0;
	opacity: 1;
	transition: opacity 0.15s ease;
}

#copyscriptxt.fading {
	opacity: 0;
}

#scriptuniversal {
	margin: 0;
	max-height: 220px;
	overflow: auto;
	white-space: pre;
	background: #1a1a1c;
}

#scriptuniversal code {
	display: block;
	padding: 16px;
	font-size: 15px;
	line-height: 1.5;
	font-family: 'Inter', sans-serif;
	text-align: center;
}

.tk-paren {
	color: #6A604F;
}

.tk-game {
	color: #9A7EDB;
}

.tk-func {
	color: #8AABCF;
}

.tk-colon {
	color: #D4D4C9;
}

.tk-arrow {
	color: #D4D4C9;
}

.tk-str {
	color: #7E9E8A;
}

@media (max-width: 768px) {
	#prodsect {
		padding: 100px 20px 60px;
	}

	.prodhead {
		font-size: 24px;
		margin-bottom: 24px;
	}

	.prodfind {
		margin: 0 auto 30px;
	}

	.prodlist {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	#codeblock {
		width: 85%;
		top: 20%;
	}
}


#notess{
	color:#222225;
	font-size:15.5px;
	position: fixed; /* or absolute, if you want it relative to a positioned ancestor instead of the viewport */
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}