/* =============================
   🧱 PRODUK DALAM GRID (1 baris 1 produk - Premium Frame)
============================= */
.product-grid-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  padding: 30px 0;
  background: #f7f9fc;
}

/* Kotak produk (professional border frame) */
.product-card-box {
  width: 90%;
  max-width: 850px;
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #d9e1ec; /* garis utama lembut */
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  text-decoration: none;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
}

/* Lapisan gradient border bila hover */
.product-card-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #5c6bc0, #42a5f5, #7e57c2);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card-box:hover::before {
  opacity: 1;
}

.product-card-box:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Bingkai dalam (lapisan lembut di tepi) */
.product-card-box::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.8);
  pointer-events: none;
}

/* Gambar produk */
.product-thumb-box {
  width: 100%;
  height: 320px;
  background: radial-gradient(circle at top, #ffffff, #f1f3f6);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 12px;
  box-sizing: border-box;
  border-bottom: 1px solid #e5e8ef; /* garis pemisah bawah gambar */
}

.product-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.product-thumb-box::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05);
  pointer-events: none;
  border-radius: 12px;
}

.product-card-box:hover img {
  transform: scale(1.05);
}

/* Info produk */
.product-info-box {
  padding: 22px;
  background: #fff;
  text-align: center;
}

.product-info-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a237e;
  letter-spacing: 0.3px;
}

.product-info-box .price {
  font-size: 17px;
  font-weight: 700;
  color: #3f51b5;
  margin-bottom: 10px;
}

.product-info-box .desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* =============================
   📱 RESPONSIVE
============================= */
@media (max-width: 768px) {
  .product-card-box {
    width: 95%;
  }

  .product-thumb-box {
    height: 250px;
  }

  .product-info-box {
    padding: 18px;
  }
}


a.btn-login,
a.btn-logout {
  all: unset !important; /* reset semua gaya terdahulu */
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer !important; /* ikon tangan aktif */
  color: #fff !important; /* warna asas putih */
  font-family: "Poppins", sans-serif !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  margin: 0 5px !important;
}

/* Hover effect warna kuning lembut */
a.btn-login:hover {
  color: #ffeb3b !important; /* kuning terang */
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6) !important;
}

/* Hover effect khas Logout merah lembut */
a.btn-logout:hover {
  color: #ffeb3b !important; /* merah lembut */
  text-shadow: 0 0 8px rgba(255, 82, 82, 0.5) !important;
}




@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

:root {
	--size: 120px;
	--font-size: 4rem;
}

.name {
	position: relative;
	display: flex;
}
.name .cosmic {
	position: relative;
	cursor: pointer;
	height: var(--size);
	display: flex;
	justify-content: center;
	align-items: center;

	span {
		font-size: var(--font-size);
		font-weight: 700;
		-webkit-text-stroke: 2px var(--color);
		color: transparent;
		transition: 0.5s;
	}

	&:hover span {
		opacity: 0;
	}
}

.name .cosmic {
	&::before {
		content: attr(data-text);
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		font-size: var(--font-size);
		height: 0;
		font-weight: 700;
		overflow: hidden;
		transition: 0.6s ease-in-out;
		text-align: center;
		line-height: var(--size);
		color: var(--color);
	}
	&:hover::before {
		height: 100%;
		filter: drop-shadow(0 0 2rem var(--color));
	}
}
