/* ============================= */
/* ===== RESET / BASE ===== */
/* ============================= */

html, body {
  height: 100%;
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================= */
/* ===== TOP BAR ===== */
/* ============================= */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

/* Select Category Button */
.categoryTrigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.35);
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  padding: 8px 16px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.categoryTrigger:hover {
  background: rgba(0,0,0,0.55);
}

.dots {
  font-size: 18px;
}

/* Cart Button */
.cartBtn {
  background: rgba(0,0,0,0.35);
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 16px;
  backdrop-filter: blur(12px);
}

/* ============================= */
/* ===== SLIDING GLASS MENU ===== */
/* ============================= */

.menu {
  position: fixed;
  top: 0;
  left: -280px;
  height: 100%;
  width: 260px;
  padding-top: 120px;
  padding-left: 30px;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border-right: 1px solid rgba(255,255,255,0.3);
  box-shadow: 10px 0 50px rgba(0,0,0,0.4);

  transition: left 0.4s ease;
  z-index: 999;
}

.menu a {
  display: block;
  margin-bottom: 28px;
  font-size: 20px;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

.menu a:hover {
  opacity: 0.7;
}

/* Menu Open State */
.menu-open {
  left: 0;
}

/* ============================= */
/* ===== HERO SECTION ===== */
/* ============================= */

.hero {
  min-height: 100vh;
  background: url("/images/welcome.png") center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* Center Content */
.overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

/* Brand */
.brand {
  font-size: 72px;
  letter-spacing: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Subtitle */
.tagline {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Button */
.hero-btn {
  background: white;
  color: black;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #f0f0f0;
}

/* ============================= */
/* ===== OTHER PAGES (SHOP) ===== */
/* ============================= */

.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 16px;
}

.box {
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  margin-bottom: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 16px;
}

.card {
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.price {
  font-weight: bold;
}

.row {
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.small {
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #eee;
}

.small.danger {
  background: #ffdddd;
}

.summary {
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #f7f7f7;
  padding: 10px;
  border-radius: 10px;
}
