.hero-section {
  padding: 127px 20px 64px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
}

.box-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  padding-top: 36px;
  flex-wrap: wrap;
  cursor: pointer;
}

.boxes {
  border: 1px solid #ccc;
  padding: 16px 17px;
  position: relative;
  border-radius: 8px;
  background-color: white;
}

.boxes .label {
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f26178;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.quantity {
  font-size: 20px;
  padding-bottom: 8px;
}

.price {
  font-size: 14px;
  padding-bottom: 8px;
  color: #333;
}

.note {
  position: absolute;
  bottom: -22px;
  font-size: 12px;
  color: #555;
}

.active-color {
  background-color: #f1e4b2;
  border-color: #f26178;
}

.total-cost h4 {
  font-size: 20px;
  padding-top: 32px;
  padding-bottom: 16px;
}
.total-cost p {
  font-size: 20px;
}
/* customized */
.other-options {
  padding-top: 32px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.personalized {
  display: flex;
  padding: 24px 16px;
  gap: 236px;
  border: 1px solid #ccc;
}

.personalized p {
  padding-right: 9px;
  padding-bottom: 16px;
}
.personalized select {
  font-size: 16px;
  padding: 4px 8px;
  height: 32px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.special-occasion,
.personalized-greeting {
  display: flex;
  flex-direction: column;
}
.personalized input[type="checkbox"] {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 8px;
  accent-color:#A0E2BA;
}
.btn-options {
  padding-top: 32px;
  margin: 0 auto;
}
.disabled-btn {
  opacity: 0.5;
  pointer-events: none;
}
.build-btn{
  /* all: unset; */
  border: none;
  padding: 24px 32px;
  background-color: #f26178;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-color: #f26178;
  margin-right: 16px;
  cursor: pointer;
}
/* Macarons-types */
.Macarons-types {
  border-top: 1px solid black;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.Macarons {
  border-radius: 10px;
  padding: 25px 30px 34px;
  background-color: #f1e4b2;
  position: relative;
}
.Macarons img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}
.Macarons p {
  text-align: center;
  padding: 32px 0px 24px;
}
.Macaron-special-card p {
  padding: 32px 0px 47px;
}
.info-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
}
.back-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  cursor: pointer;
}
.buy-btn {
  all: unset;
  display: block;
  margin: 0 auto;
  padding: 24px 32px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  background-color: #f26178;
  cursor: pointer;
}
.hidden-macarons-info {
  display: none !important;
}
.hidden-summary-info{
    display: none !important;
}
.info-details {
  color: black;
  text-align: center;
}
.info-details h4 {
  font-size: 20px;
}
.info-details p {
  font-size: 14px;
  padding: 16px 0px;
}
.info-details a {
  all: unset;
  /* color: black; */
  cursor: pointer;
  text-decoration: underline;
}
.info-details a:hover {
  color: #f26178;
  transition: 0.8 ease-in;
}
.product {
  text-align: center;
}
.counter {
  display: none;
  align-items: center;
  gap: 16px;
}
.cart-btn {
  /* all: unset; */
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f26178;
  color: white;
  padding: 16px;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 32px;
}
.number-of {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f26178;
  color: white;
  padding: 23px 24px;
  border-radius: 50%;
  width: 58px;
  height: 58px;
}

/* model popup */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #f1e4b2;
  border-radius: 10px;
  padding: 48px 46px 49px 47px;
  max-width: 420px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  text-align: center;
}
.summary-modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 16px 99px 79px;
  max-width: 680px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  text-align: center;
  /* overflow: hidden; */
}
.summary{
    max-height: 300px; /* or 60vh, etc. */
  overflow-y: auto;
  border: 1px solid black; /* you already have this */
  padding-right: 8px; 
    border: 1px solid black;
}
.add-more{
    margin-top: 64px;
}
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #555;
}
.detail-info{
    padding-top: 40px;
}
.modal-body p {
  margin-top: 24px;
}
.modal-body a {
  color: black;
}
.modal-body .buy-btn {
  margin-top: 32px;
}
/* Hide utility */
.hidden-macarons-info {
  display: none !important;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* sticky-options */
.sticky-options{
  width: 100%;
  background-color: #F26178;
  padding: 20px 0px;
  text-align: center;
  position: fixed;
  bottom: 0px;
  z-index:9999;
  cursor: pointer;
}
.sticky-options p{
  font-size: 16px;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
}
/* media query */
@media (max-width: 600px) {
  .hero-section {
    padding: 47px 16px 32px;
  }
  .hero-section h1 {
    font-size: 34px;
  }
  .box-options {
    gap: 18px;
    padding-top: 48px;
  }
  .counter{
    gap: 8px;
  }
  .summary-modal-content{
    padding: 0px 20px 82px;
  }
  .summary-modal-content h2{
    font-size: 24px;
  }
  .detail-info{
    padding-top: 32px;
  }
  .add-more{
    margin-top: 48px;
  }
  .cart-btn{
    width: 10px;
    height: 10px;
    padding: 15px;
    font-size: 16px;
  }
  .number-of{
    width: 29px;
    height: 29px;
    font-size: 18px;
    
  }
  .note {
    bottom: -30px;
  }

  .total-cost h4 {
    padding-top: 56px;
    font-size: 16px;
    font-weight: 400;
  }
  .total-cost p {
    font-size: 16px;
  }
  .other-options {
    padding-top: 40px;
  }
  .personalized {
    width: 343px;
    padding: 16px;
    gap: 56px;
  }
  .personalized p {
    /* padding-right: 0px; */
    font-size: 13px;
  }

  .btn-options button {
    width: 183px;
    padding: 16px 20.5px;
    margin-bottom: 16px;
  }
  /* Macarons-types  */
  .Macarons-types {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 8px;
    padding-bottom: 48px;
  }
  .Macarons {
    border-radius: 5px;
    padding: 8px 0px 24px;
  }
  .Macarons img {
    width: 140px;
    height: 98px;
    margin: 0 auto;
    padding-top: 16px;
  }
  .Macarons p {
    font-size: 14px;
    padding: 8px 0px 16px;
  }
  .Macaron-special-card p {
    padding: 8px 0px 36px;
  }
  .buy-btn {
    font-size: 10px;
    padding: 16px 24px;
  }
  .info-btn {
    height: 24px;
    width: 24px;
  }
}
@media (min-width: 765px) and (max-width: 900px) {
  .Macarons {
    padding: 14px 15px 17px;
  }
   .counter{
    gap: 8px;
  }
  .cart-btn{
    width: 10px;
    height: 10px;
    padding: 15px;
    font-size: 16px;
  }
  .number-of{
    width: 29px;
    height: 29px;
    font-size: 18px;
    
  }
  .personalized {
    width: 622px;
  }
  .Macarons p {
    padding: 16px 0px 12px;
    font-size: 12px;
  }
   .Macaron-special-card p {
    padding: 16px 0px 29px;
  }
  .buy-btn {
    padding: 12px 16px;
    font-size: 11px;
  }
}
@media (min-width: 901px) and (max-width: 1024px) {
  .personalized {
    width: 640px;
    justify-content: space-between;
  }
    .counter{
    gap: 8px;
  }
  .cart-btn{
    width: 10px;
    height: 10px;
    padding: 15px;
    font-size: 16px;
  }
  .number-of{
    width: 29px;
    height: 29px;
    font-size: 18px;
    
  }
  .Macarons {
    padding: 17px 15px;
  }
  .Macarons p {
    padding: 16px 0px 12px;
    font-size: 14px;
  }
   .Macaron-special-card p {
    padding: 16px 0px 30px;
  }
  .buy-btn {
    padding: 12px 16px;
    font-size: 12px;
  }
}
