* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 1px solid #ddd;
}

header button {
  padding: 8px 16px;
  background: #2874f0;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* PRODUCTS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 30px;
}

.card {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #f5f5f5;
}

.card button {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  background: #ff9f00;
  border: none;
  cursor: pointer;
}

/* CART */
.hidden {
  display: none;
}

.cart {
  padding: 30px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.btn {
  margin: 10px;
  padding: 10px 18px;
  background: #2874f0;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* SUCCESS CARD */
.success-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
}

.confirmation-card {
  width: 1080px;
  height: 1080px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 40px;
}

.checkmark-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.checkmark {
  width: 45px;
  height: 25px;
  border-left: 6px solid #fff;
  border-bottom: 6px solid #fff;
  transform: rotate(-45deg);
}

.main-heading {
  font-size: 42px;
  margin-bottom: 10px;
}

.subheading {
  font-size: 26px;
  color: #444;
}

.items-box {
  margin-top: 20px;
  font-size: 20px;
  text-align: left;
  width: 70%;
}

.total-text {
  margin-top: 15px;
  font-size: 24px;
  font-weight: bold;
}

.instagram {
  position: absolute;
  bottom: 40px;
  color: #999;
  font-size: 18px;
}

.instagram a {
  color: #2874f0;
  text-decoration: none;
}
