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

body {
  font-family: 'Red Hat Text', Arial, sans-serif;
  line-height: 1.5;
  background: #fefaf6;
}

header {
  padding: 30px;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
}

.container {
  display: flex;
  justify-content: flex-start;
  padding: 20px;
  padding-right: 440px;
  gap: 30px;
}

.gridsystem {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.box1 {
  background: transparent;
  border-radius: 15px;
  overflow: visible;
}

.image-container {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.image-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.02);
}

.first-design {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 2px solid orangered;
  border-radius: 25px;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
  font-size: 14px;
}

.first-design img {
  width: 18px;
  height: 18px;
}

.first-design:hover {
  background: orangered;
  color: white;
}

.click-design {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  justify-content: space-between;
  background: orangered;
  border: none;
  border-radius: 25px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  width: 130px;
}

.click-design img {
  width: 20px;
  height: 20px;
  cursor: pointer;
  border: 2px solid white;
  border-radius: 50%;
  padding: 2px;
  transition: all 0.2s;
}

.click-design img:hover {
  background: rgba(255, 255, 255, 0.2);
}

.click-design .value {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.box1 > p:first-of-type {
  color: #999;
  font-size: 14px;
  margin-top: 25px;
  font-weight: normal;
}

h3 {
  font-size: 16px;
  margin-top: 5px;
  font-weight: 600;
  color: #333;
}

.colored {
  color: orangered;
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
}

.contain,
.empty-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  overflow-y: auto;
  visibility: visible;
}

.contain {
  visibility: hidden;
}

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}

.empty-cart .cart {
  align-self: flex-start;
  margin-bottom: 80px;
}

.empty-cart img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-cart p:not(.cart) {
  color: #999;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}

.light {
  font-size: 14px;
  color: #999;
  font-weight: normal;
}

.cart {
  color: orangered;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
}

.cart-box {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
}

.order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
}

.order > p {
  font-size: 14px;
  color: #666;
}

.total {
  display: flex;
  align-items: center;
}

.delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  padding: 16px;
  background: #fef8f5;
  border-radius: 10px;
}

.delivery img {
  width: 20px;
  height: 20px;
}

.delivery p {
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.designer {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.design {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background-color: orangered;
  color: white;
  cursor: pointer;
  border: none;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
}

.design:hover {
  background: #ff4500;
}

.top {
  display: none;
}

@media (max-width: 1200px) {
  .gridsystem {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .container {
    padding-right: 420px;
  }
}

@media (max-width: 768px) {
  .gridsystem {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding-right: 20px;
  }
  
  .contain,
  .empty-cart {
    width: 100%;
    position: relative;
    margin-top: 30px;
  }
}