
/* CSS RESET */


*, *::before, *::after {
  box-sizing: border-box;
}


* {
  margin: 0;
  padding: 0;
}


body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}


img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}




body {
    min-height: 100vh;
    font-family: "Playfair Display", serif;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(images/background.jpg);
    background-repeat: none;
    background-position: center;
    background-size: cover;


}

.container{
    display: flex; 
    gap: 30px;
    background-color: #ffe5d9;
    padding: 0 60px;
    border-radius: 10px;
     box-shadow: 0 0px 15px rgba(0, 0, 0, 0.7); 
     padding: 15px 30px; 
}

.products {
    display: flex;
    flex-direction: column;
    gap: 5px; 
}

.product {
    display: flex;
    align-items: center;
   justify-content:flex-start;
    padding: 10px;
    font-size: 8px;
    border-radius: 20px;
     box-shadow: 0 0px 15px rgba(0, 0, 0, 0.2); 
}

.product-info {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    margin-inline-end: 40px;
}

.piece {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 15px 0;
    margin-block-end: 8px;
    border: 1px solid;
    border-radius: 3px;
    padding: 3px;
    width: fit-content;
    background-color:#e6ccb2;  
}

.remove {
    background-color: #b6ad90;
    font-weight: 500;
    width: fit-content;
    padding: 1px 3px;
    border-radius: 2px;
    cursor: pointer;
}

img {
    width: 90px;
    height: 100px;
    object-fit: cover;
    margin-inline-end: 10px;
    border-radius: 10px;
}

h2 {
    margin-block-end: 20px;
    color:#583101;
    font-weight: 900;
    align-self: center;
    
}

h3 {
    font-size: 10px;
    margin-bottom: 3px;
}

i {
    font-size: 7px;
    cursor: pointer;
}

hr {
  border: none;                  
  height: 0.5px;                   
  background: #a9927d; 
  margin: 5px auto;              
  width: 95%;                      
  }

.flex-right {
  margin-left: auto; 
  align-self: flex-start;
  font-size: 13px;
  font-weight: 500;
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid #a9927d;
    border-radius: 20px;
    padding: 20px;
    height: fit-content;
  width: 230px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5); 

}

.order-summary hr {
   width: 100%;  
}

.price-section {
    display: flex;
    justify-content: space-between;
  }

button {
    background-color: #9c6644;
    color: #ede0d4;
    font-weight: 700;
    padding: 5px;
    margin-block-start: 20px;
    outline: none;
    border: none;
    border-radius: 10px;
}

.total, .total-price {
  font-size: 13px;
  margin-block-start: 20px;
}
