/* Perbesar icon coffee/gmail di card */
.contact__star-icon {
	width: 42px !important;
	height: 42px !important;
	min-width: 32px;
	min-height: 32px;
	max-width: 50px;
	max-height: 50px;
	object-fit: contain;
	margin-right: 4px;
}
@media screen and (max-width: 600px) {
	.contact__star-icon {
		width: 35px !important;
		height: 35px !important;
		min-width: 24px;
		min-height: 24px;
		max-width: 70px;
		margin-right: 8px !important; /* Increased spacing */
	}
}
@media screen and (max-width: 600px) {
	.contact__card-redesign {
		display: flex; /* Force flex to handle width */
		min-width: 0;
		width: fit-content !important; /* Shrink to content */
		max-width: 90% !important; /* Prevent touching screen edges */
		min-width: 0 !important;
		box-sizing: border-box;
		padding: 0.25rem 1rem 0.25rem 0.8rem !important; /* Force padding */
		justify-content: center !important; /* Center content */
		gap: 6px; /* Add small gap between elements */
	}

	.contact__email-text {
		font-size: 16px !important; /* Smaller font on mobile */
		margin-right: 0 !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		flex: 0 1 auto; /* Allow shrinking */
		min-width: 0; /* Enable flex shrinking */
	}

	.contact__copy-btn {
		padding: 0.25rem 0.5rem !important;
		font-size: 0.75rem !important;
		margin-left: 0.5rem !important;
	}
}

/* Email Card Only Styles */
.contact__card-redesign {
	background: #fff;
	padding: 8px !important;
	border-radius: 100px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
	display: inline-flex;
	align-items: center;
	gap: 0;
	min-width: unset;
	width: fit-content;
	padding-right: 2rem !important;
	justify-content: center;
}

.contact__email-text {
	font-size: 1.5rem;
	color: #000;
	font-weight: 800;
	letter-spacing: -0.5px;
	margin-left: 0;
	margin-right: 0.5rem;
	white-space: nowrap;
	overflow: hidden; /* sembunyikan teks yang keluar */
	text-overflow: ellipsis;
}

.contact__copy-btn {
	background: #000;
	color: #fff;
	border: none;
	padding: 0.4rem 0.8rem 0.4rem 0.4rem;
	border-radius: 50px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 500;
	transition: 0.3s;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-left: auto;
	flex-shrink: 0;
}

.contact__copy-btn i {
	font-size: 1.1rem;
}

.contact__copy-btn:hover {
	transform: scale(1.05);
	background: #222;
}

/* Independent Styling Hooks */
#email-card {
	padding-right: 0.5rem !important;
	/* Reduce right padding to match left padding on desktop */
	/* Edit specific styles for Email card here */
}

#coffee-card {
	padding-right: 0.5rem !important; /* Reduce right padding to match left padding on desktop */
}

@media screen and (max-width: 600px) {
	#coffee-card {
		justify-content: center !important; /* Match email card */
		padding-right: 1.2rem !important; /* Ensure spacing */
		padding-left: 1.2rem !important;
	}
	#coffee-card .contact__star-icon {
		margin-right: 0 !important; /* Let gap handle it */
	}
	#coffee-card .contact__copy-btn {
		margin-left: 0 !important; /* Let gap handle it */
		padding: 0.25rem 0.5rem !important; /* Match email button compact size */
		font-size: 0.75rem !important;
	}
	#email-card .contact__copy-btn {
		padding: 0.25rem 0.5rem !important; /* Truly compact for mobile */
		font-size: 0.75rem !important;
	}
	#email-card .contact__copy-btn i {
		font-size: 1rem !important;
	}
	#email-card > a:first-child {
		flex: 0 0 auto !important;
	}
	#email-card {
		padding-right: 1.2rem !important;
		padding-left: 1.2rem !important;
	}
}

/* Button Icon Style */
.contact__btn-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
	display: block;
}

@media screen and (max-width: 600px) {
	.contact__btn-icon {
		width: 28px;
		height: 28px;
	}
}
