



body {
  background-color: var(--background-100);
  height: 100%;
  justify-content: center;
  position: relative;
}

header{
  z-index: 100;
}





/* Base styles for mobile devices */
.wrapper {
  display: block;
  width: calc(100vw - 1rem); /* Full width on mobile */
  height: 100%; /* Full height */
  margin: 0 auto; /* Center the wrapper */
  padding-top: 0rem; /* No top padding */
  padding-bottom: 0rem; /* No bottom padding */
  max-width: 900px;
  padding-left: .5rem;
  padding-right: .5rem;
  position: relative;
}

/* Second breakpoint at 900px: Adjust for desktops */
@media only screen and (min-width: 900px) {
  .wrapper { /* Reduce width to half of the viewport */
      width: 60vw; /* Ensure it doesn't exceed 90% of the viewport width */
      margin: 0 auto; /* Keep centered */
      max-width: 1000px;
  }
}

.section{
  margin-top: 1rem;
  margin-bottom: 1rem;
}



.product_store{
  display: grid;
  grid-template-columns: auto 1fr;

}

.product_layout{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;

}

.product_preview{
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  border-radius: .25rem;
  overflow: hidden;

}

.product_description{
  width: 100%;
  overflow: hidden;
}

.icon_button{
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--action);
  border-radius: .25rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;

  z-index: 100;

  border: none;
}



.icon_button:hover{
  cursor:pointer;
}






.icon_square{
  width: 1.5rem;
  height: 1.5rem;

  background-color: transparent;
  border-radius: .25rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;

  z-index: 100;

  border: none;
}




.select_button{
  background-color: var(--action);
  color: white;
  border-radius: .25rem;
  border: none;
  height: 1.5rem;
}




.text_button{
  width: fit-content;
  height: 1.5rem;
  background-color: var(--action);
  border-radius: .25rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 0 .25rem 0 .25rem;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;

  z-index: 100;

  border: none;
}














#colorModal {
  display: none; 
  position: fixed; 
  z-index: 50;
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0); 
  padding-top: 10rem;
}


.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 300px; 
  border-radius: 8px;

  box-shadow: 0px .5rem .5rem rgba(0, 0, 0, 0.3);
}


.color-box {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  cursor: pointer;
  margin: 5px;
  border-radius: .25rem;  
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}



input{
  background: var(--background-100);
  padding: .5rem;
  width: calc(100% - 1rem);
  color: var(--font-200);
  outline: none;
  border: solid 1px var(--background-300);
  border-radius: .25rem;;
}

textarea{
  background: var(--background-100);
  padding: .5rem;
  width: calc(100% - 1rem);
  color: var(--font-200);
  outline: none;
  border: solid 1px var(--background-300);
  border-radius: .25rem;;
}