/* * {
	margin: auto;
} */

@font-face {
	font-family: font1;
	src: url(../font/Roboto-Regular.ttf);
}

@font-face {
	font-family: font2;
	src: url("../font/VarelaRound-Regular.ttf");
}

body {
	font-family: font1;
	font-size: 13px;
	color: #474747;
	background: #f6f6f6;
}

a {
	text-decoration: none;
	color: #33aa70;
}

/* LOADING */
#loading {
	position: absolute;
	top: 50%;
	left: 42%;
	display: block;
	z-index: 99999;
}

#result {
	color: #db5858;
	text-align: center;
}

/* #logoLogin {
	margin: auto;
	margin-top: auto;
	margin-bottom: 20px;
	width: 120px;
} */

#logoLogin {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
	width: 120px;
}


#linkDaftar {
	margin: 10px 0;
	font-size: 16px;
	color: #333;
	font-weight: bold;
	text-align: center;
}

#linkDaftar:hover {
	color: #10B761;
	text-decoration: underline;
}

.resultSuccess {
	padding: 6px 10px;
	font-size: 13px;
	line-height: 25px;
	color: #fff;
	background: #10B761;
	border-radius: 5px;
}

.resultFailed {
	padding: 10px 15px;
	font-size: 13px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	background: #CF3333;
	border-radius: 5px;
}

#lupa {
	width: 100%;
	margin: 10px 0;
	font-size: 16px;
	color: #333;
	font-weight: bold;
	text-align: end;
}

#lupa a {
	width: 100%;
	margin: 10px 0;
	font-size: 16px;
	color: #333;
	font-weight: bold;
	text-decoration: none;
	text-align: right;
	display: block;
}

#lupa a:hover {
	color: #10B761;
	text-decoration: underline;
}

.login-form {
	display: flex;
	flex-direction: column;
	/* align-items: center; */
	margin-bottom: 20px;
	width: 100%;
}

.labelForm {
	display: block;
	font-size: 16px;
	margin-bottom: 12px;
	font-weight: bold;
	text-align: left;
	width: 100%;
	/* Sama dengan input container */
}

.country-code {
	font-weight: bold;
	color: #333;
	white-space: nowrap;
}

.phone-input {
	border: none;
	background: transparent;
	font-size: 16px;
	/* font-weight: bold; */
	color: #333;
	outline: none;
	flex: 1;
	min-width: 0;
	letter-spacing: 0.5px;
}

.phone-input::placeholder {
	color: #999;
	font-weight: normal;
}

.input-container {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	gap: 8px;
	padding: 8px 16px;
	background-color: #fff;
	border-radius: 6px;
	border: 1px solid #ddd;
	font-family: Arial, sans-serif;
	font-size: 16px;
	width: 100%;
	margin-bottom: 12px;
}

.password-input {
	border: none;
	background: transparent;
	font-size: 16px;
	/* font-weight: bold; */
	color: #333;
	outline: none;
	flex: 1;
	min-width: 0;
	letter-spacing: 0.5px;
}

.password-confirm {
	border: none;
	background: transparent;
	font-size: 16px;
	/* font-weight: bold; */
	color: #333;
	outline: none;
	flex: 1;
	min-width: 0;
	letter-spacing: 0.5px;
}

.toggle-password {
	cursor: pointer;
	color: #999;
}

.toggle-password-confirm {
	cursor: pointer;
	color: #999;
}


/* APP */
#app {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	/* background: #f0f0f0; */
	background-color: #fff;
	animation: toTop 250ms;
	overflow-y: auto;
}

@keyframes toTop {
	0% {
		opacity: 0;
		top: 100px;
	}

	80% {
		opacity: 1;
		top: 0.5;
	}

	100% {
		opacity: 1;
		top: 0;
	}
}



/* HEADER */
/* #header {
	width: 100%;
	padding: 10px 0 8px;
	background: #fff;
	box-shadow: 0 2px 1px 0 #f0f0f0;
} */

/* .header {
	width: 100%;
	padding: 8px 0;
	background: #fff;
	box-shadow: 0 2px 1px 0 #f0f0f0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	height: 50px;
	box-sizing: border-box;
}

.backButton {
	float: left;
	font-size: 24px;
	margin: 0 10px;
	cursor: pointer;
	color: #474747;
}

.headerIcon {
	margin: 0 10px;
	width: 32px;
}

.headerIcon .logo {
	width: 100%;
	height: auto;
}

.headerText {
	font-family: font2;
	font-size: 28px;
	font-weight: bold;
	color: #33aa70;
	letter-spacing: 1px;
} */

.header {
	width: 100%;
	padding: 8px 12px;
	background: #fff;
	box-shadow: 0 2px 1px 0 #f0f0f0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	height: 50px;
	box-sizing: border-box;

	display: flex;
	align-items: center;
	/* Rata tengah vertikal */

	margin: 0 !important;
	/* PERBAIKAN KUNCI */
}

.header * {
	margin: 0 !important;
	/* Hilangkan margin auto dari selector * */
}

.backButton {
	font-size: 24px;
	cursor: pointer;
	color: #474747;
	margin-right: 10px !important;
}

.headerIcon {
	width: 32px;
	margin-right: 10px !important;
}

.headerIcon .logo {
	width: 100%;
	height: auto;
}

.headerText {
	font-family: font2;
	font-size: 24px;
	font-weight: bold;
	color: #33aa70;
	letter-spacing: 1px;
}




#slide {
	width: 100%;
}

#slideInfo {
	margin: 20px;
	text-align: justify;
}

#slideInfo h3 {
	margin-bottom: 10px;
}



/* BAR*/
#bar {
	width: 100%;
	padding: 10px 0 8px;
	background: #fff;
	box-shadow: 0 2px 1px 0 #f0f0f0;
}

#dompet {
	margin: 0 10px;
	padding: 10px;
	color: #fff;
	background: #33aa70;
	background: linear-gradient(to right, #17804c, #2db77c);
	border-radius: 10px;
}

#dompetLeft {
	float: left;
	width: 100px;
	padding: 5px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 5px;
}

#dompetTop {
	margin: 0 0 5px 0;
	font-size: 16px;
	font-weight: bold;
}

#dompetBottom {
	font-size: 14px;
}

#dompetRight {
	margin: 10px 0 0 110px;
}

#dompetBox {
	float: left;
	width: 33.3333%;
	line-height: 12px;
	text-align: center;
}



/* BOX FORM */
#login {
	margin: 40px 20px;
}

/* #loginLayout {
	align-items: center;
} */

#loginLayout {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
	box-sizing: border-box;
}

#boxformLogin {
	margin: auto;
	padding: 8px 0;
}

.boxiconLogin {
	float: left;
	width: 24px;
	height: 24px;
	padding: 6px 8px 10px;
	font-size: 16px;
	text-align: center;
	color: #fff;
	background: #33aa70;
	border-radius: 5px 0 0 5px;
}

#region {
	margin-left: -3px;
	font-size: 16px;
	line-height: 28px;
}

#boxform {
	margin: auto;
	padding: 8px 0;
}

.boxicon {
	float: left;
	width: 22px;
	height: 22px;
	padding: 6px 8px 6px 0;
	font-size: 12px;
	text-align: center;
	color: #747474;
	border-bottom: 2px solid #d0d0d0;
}



/* PILIHAN*/
#pilihan {
	margin: 10px 20px;
	padding: 5px 10px 2px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 1px 0 #d0d0d0;
}

#pilihanIcon {
	float: left;
	margin-right: 10px;
	width: 50px;
}

.logoPilihan {
	width: 100%;
	height: auto;
}

#pilihanText {
	float: left;
	font-size: 18px;
	line-height: 50px;
	color: #474747;
}



/* CONTENT */
#page {
	width: 100%;
	padding: 10px 0 8px;
	background: #fff;
	margin-top: 60px;
	/* box-shadow: 0 2px 1px 0 #f0f0f0; */
	overflow-x: scroll;
}

#content {
	margin: 10px 20px;
}

#content-tengah {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	margin: 10px 20px;
	min-height: calc(100vh - 80px);
	justify-content: center;
	padding-bottom: 40px;
}

#logo-tengah {
	margin: auto;
	padding: 20px;
	width: 160px;
}

#content h3 {
	margin: 5px 0 15px;
	color: #33aa70;
}



/* BOX */
#box {
	float: left;
	width: 50%;
}

#box a {
	text-decoration: none;
	color: #474747;
	transition: ease .3s;
}

#box a:hover {
	opacity: .8;
}

#boxFill {
	margin: 10px;
	background: #fff;
}

#boxIcon {
	margin: 0 20px;
	padding: 10px 0;
	text-align: center;
	color: #fff;
	background: #fff;
	/*	background:linear-gradient(to right, #17804c, #2db77c);*/
	/*	border-radius:50%;*/
}

#boxText {
	font-weight: bold;
	text-align: center;
}



/* INFORMASI */
#informasi {
	width: 100%;
	padding: 20px 0;
	background: #33aa70;
	background: linear-gradient(to right, #17804c, #2db77c);
	box-shadow: 0 2px 1px 0 #f0f0f0;
}

#informasi h3 {
	float: left;
	margin: 0 0 0 20px;
	color: #fff;
}

#informasi .infoAll {
	float: right;
	margin: 2px 20px 0 0;
	color: #fff;
}

.informasiSlide {
	width: calc(100% - 40px);
	margin: 20px;
}



/* NAVIGASI */
#navigasi {
	position: fixed;
	bottom: 0;
	z-index: 999;
	width: 100%;
	padding: 8px 0 6px;
	background: #fff;
	box-shadow: 0 0px 5px 0 #999;
}

#boxNavigasi {
	float: left;
	width: 25%;
}

#boxNavigasi a {
	text-decoration: none;
	color: #474747;
	transition: ease .3s;
}

#boxNavigasi a:hover {
	opacity: .8;
	background-color: #f0f0f0;
	border-radius: 5px;
	transition: all 0.3s ease;
}

#boxNavigasi a:active {
	opacity: 0.6;
	transform: scale(0.95);
}

#boxNavigasiFill {
	background: #fff;
}

#boxNavigasiIcon {
	font-size: 18px;
	text-align: center;
	color: #474747;
}

#boxNavigasiText {
	font-size: 12px;
	text-align: center;
}



/* FORM */
#searchContainer {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

#cari {
	width: calc(100% - 50px);
	font-family: font1;
	padding: 5px 14px;
	font-style: italic;
	border-radius: 50px;
	background: #f0f0f0;
	border: none;
	line-height: 29px;
	font-size: 14px;
	outline: none;
	flex: 1;
}

#tombol {
	width: 100%;
	padding: 16px;
	margin: 20px 0;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	background: #33aa70;
	border: none;
	border-radius: 15px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	box-sizing: border-box;
}

.voice-btn {
	position: absolute;
	right: 5px;
	width: 35px;
	height: 35px;
	border: none;
	background: #33aa70;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: background-color 0.3s ease;
	outline: none;
}

.voice-btn .flaticon-voice-message-microphone-button:before {
	font-size: 16px;
}

.voice-btn:hover {
	background: #2db77c;
}

.voice-btn:active {
	background: #17804c;
}

.voice-btn.listening {
	background: #db5858 !important;
	animation: pulse 1.2s infinite;
	box-shadow: 0 0 10px rgba(219, 88, 88, 0.5);
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 5px rgba(219, 88, 88, 0.3);
	}

	50% {
		transform: scale(1.1);
		opacity: 0.9;
		box-shadow: 0 0 20px rgba(219, 88, 88, 0.7);
	}

	100% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 5px rgba(219, 88, 88, 0.3);
	}
}

/* HOME PAGE STYLES */
#headerHome {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	width: 100%;
	padding: 0;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 15px;
}

.logo-home-container {
	display: flex;
	align-items: center;
}

.logo-home {
	width: 35px;
	height: auto;
}

.title {
	font-family: font2;
	font-size: 24px;
	font-weight: bold;
	color: #33aa70;
	letter-spacing: 0.5px;
}

.home-container-right {
	display: flex;
	gap: 15px;
	align-items: center;
}

#categorySection {
	padding: 20px 15px;
	background: white;
}

#categorySection h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 15px 0;
	color: #333;
}

.categoryBtn {
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 10px 25px;
	border: none;
	border-radius: 25px;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
}

.categoryBtn:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

.categoryBtn.active {
	background: #33aa70 !important;
	color: white !important;
}

#productGrid {
	padding: 0 15px 80px 15px;
	background: #f9f9f9;
}

.productCard {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	margin: 0 !important;
}

/* .productCard * {
	margin: 0 !important;
} */

.productCard:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ensure header content aligns left; override global * { margin:auto } */
#headerHome,
#headerHome * {
	margin: 0 !important;
}

.hide-scrollbar::-webkit-scrollbar {
	display: none;
}

.hide-scrollbar {
	-ms-overflow-style: none;
	/* IE/Edge */
	scrollbar-width: none;
	/* Firefox */
}

.product-detail-container {
	background: #f9f9f9;
	min-height: 100vh;
	padding-bottom: 80px;
}

.product-card {
	/* background: white; */
	margin-top: 60px;
	padding-left: 10px;
	padding-right: 10px;
	overflow: hidden;
	/* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.product-image-main {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.product-content {
	margin-top: 10px;
}

.info-card {
	background: white;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.product-title-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
}

.product-info {
	flex: 1;
}

.product-name {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 0 0 8px 0;
}

.product-price {
	font-size: 18px;
	font-weight: 700;
	color: #2db77c;
	margin: 0;
}

.product-price span {
	font-size: 14px;
	font-weight: 400;
	color: #999;
}

.btn-visit {
	background: #2db77c;
	color: white;
	border: none;
	padding: 8px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}

.btn-visit:hover {
	background: #25a066;
}

.product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 14px;
}

.product-rating .stars {
	color: #FFC107;
	font-size: 16px;
}

.product-rating span {
	color: #666;
}

.seller-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.seller-info {
	flex: 1;
}

.seller-label {
	font-size: 12px;
	color: #999;
	margin-bottom: 4px;
}

.seller-name {
	font-size: 15px;
	font-weight: 500;
	color: #333;
}

.btn-chat-wa {
	background: white;
	color: #2db77c;
	border: 1px solid #2db77c;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}

.btn-chat-wa:hover {
	background: #f0fdf7;
}

.description-section h3 {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin: 0 0 10px 0;
}

.description-section p {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	margin: 0;
}

.bottom-actions {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white;
	padding: 15px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	gap: 10px;
	z-index: 100;
}

.btn-chat-seller {
	flex: 1;
	padding: 12px;
	background: white;
	color: #2db77c;
	border: 2px solid #2db77c;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-chat-seller:hover {
	background: #f0fdf7;
}

.btn-add-cart {
	flex: 1;
	padding: 12px;
	background: #2db77c;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-add-cart:hover {
	background: #25a066;
}