* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
  background: url("image2.png") no-repeat center center fixed;
  background-size: cover;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  padding: 15px 25px;
  background: transparent;
  z-index: 1000;
}

.logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 15px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  white-space: nowrap;
}

h1 {
  margin-top: 140px;
  color: white;
  font-size: 42px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

#cart {
  max-width: 550px;
  margin: 35px auto;
  background: rgba(255,255,255,0.85);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

#cart p {
  padding: 12px;
  border-bottom: 1px solid #ffd1dc;
  font-weight: bold;
}

#total {
  margin: 20px;
  color: white;
  font-size: 32px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

button {
  background: #ff8fb3;
  border: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #ff6fa0;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 35px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.popup-content p {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  header {
    padding: 12px 15px;
  }

  .logo {
    height: 60px;
  }

  nav {
    gap: 16px;
    padding-right: 5px;
  }

  nav a {
    font-size: 20px;
  }

  h1 {
    margin-top: 110px;
    font-size: 32px;
  }

  #cart {
    width: 90%;
  }
}