.cart-buttons {
        display: flex;
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
}

@media (max-width: 700px) {
    .cart-section {
        gap: 2px;
        padding: 5px;
    }
    .cart-buttons {
        gap: 2px;
        flex-direction: row;
        align-items: stretch;
    }
}
#cart, #cart + button, #cart + button + button, #cart + button + button + button {
    text-align: left;
}

.cart-section {
    min-height: 220px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    width: 100%;
}
body{
    background-color: #74512d;	
    color: #f8f4e1;
}


header{
    background-color: #543310;   
    padding: 20px;
    width: auto;
    height:auto;
    box-sizing: border-box;
    margin: 0;
}


.logo, .slogan{
    font-family:Georgia, 'Times New Roman', Times, serif;
    color:#f8f4e1;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about{
    max-width: 600px;
    margin: 20px auto;
    padding: 16px;
    width: 100%;
    font-family: 'Times New Roman', Times, serif ;
    text-align: center;
    box-sizing: border-box;
    color: #543310
}

.Orderformtext{
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    color:#543310;
    font-size: 20px;
}

footer{
    padding-top:10px;
    text-align:center;
}

#ab{
    padding-top: 20px;
    font-size: 20px;
}

#para{
    font-size: 18px;
    padding-bottom: 10px;
}

.boxedtext{
    border: 2px #af8f6f;
    padding: 10px;
    background-color: #af8f6f;
    margin: 10px 0;
    border-radius: 5px;
    padding-bottom: 50px;
}

#name, #email, #message, #item{
    color:#543310;
    font-size: 25px;
    padding-left: 20px;
}

#email{
    color:#543310;
    font-size: 25px;   
    padding-left: 20px; 
}
#order{
    color:#543310;
    font-size: 20px;
}

#nameb, #emailb{
    border: 1px solid #af8f6f;
    color:#543310;
    background-color: #f8f4e1;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 100px;
    width: 95%;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
}

#messageb{
    border: 1px solid #af8f6f;
    color:#543310;
    background-color: #f8f4e1;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    width: 95%;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    min-height: 100px;
    resize: vertical;
}


#submitb, #clearcartb, #checkoutb, .cart-section button {
        border: 1px #af8f6f;
        color: #543310;
        background-color: #f8f4e1;
        padding: 12px 18px;
        margin-bottom: 20px;
        border-radius: 100px;
        width: auto;
        min-width: 90px;
        max-width: 180px;
        font-size: 18px;
        font-family: 'Times New Roman', Times, serif;
        cursor: pointer;
        margin-top: 8px;
        box-sizing: border-box;
        flex-shrink: 1;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
}

#totalb {
        border:1px #af8f6f;
        color: #543310;
        background-color: #f8f4e1;
        padding: 12px 18px;
        margin-bottom: 20px;
        border-radius: 100px;
        width: auto;
        min-width: 90px;
        max-width: 180px;
        font-size: 18px;
        font-family: 'Times New Roman', Times, serif;
        box-sizing: border-box;
        flex-shrink: 1;
}

@media (max-width: 700px) {
    .cart-section {
        flex-wrap: wrap;
        gap: 8px;
    }
    #submitb, #clearcartb, #checkoutb, .cart-section button, #totalb {
        font-size: 15px;
        min-width: 60px;
        max-width: 100px;
        padding: 8px 10px;
        margin-bottom: 10px;
        margin-top: 4px;
    }
}

.insta{
    color:#74512d
}


.card{
    background-color: #74512d;
        border-radius: 15px;
        width: 220px;
        min-height: 350px;
        margin: 20px;
        text-align: center;
        font-family: 'Times New Roman', Times, serif;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
}

.price{
    color: #543310;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
}

.card button {
    border: none;
    outline: 0;
    padding:12px;
    color: #af8f6f;
    background-color: #543310;
    text-align:center;
    width:100%;
    font-size:18px;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
    border-radius: 100px;
    margin-top: 0;

}

.card button:hover{
    opacity:0.7;
}


.topnav {
    background-color: #af8f6f;
    padding:10px;
    text-align:center;
    
}

.topnav a {
    color: #543310;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Times New Roman', Times, serif;
}

.topnavk {
    background-color: #f8f4e1;
    padding:10px;
    text-align:center;    
}

.topnavk a {
    color: #543310;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Times New Roman', Times, serif;
}

.topnav a:hover {
    background-color: #af8f6f;
    border-radius: 100px;
    color: #543310;
}

.topnavk a:hover {
    background-color: #f8f4e1;
    border-radius: 100px;
    color: #543310;
}

.cards{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
}

.card img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card {
    width: 220px;
    min-height: 350px;
    margin: 20px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #74512d;
    border-radius: 15px;
}


#character,#flower, #item, #food, #animal{
    display: flex; 
    flex-wrap: wrap;
}


#textsection{
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
    color: #543310;
}

#cart{
    margin-top: 10px;
    color: #543310;
    list-style: none;
  padding: 0;
  margin: 0;
}

#cart li {
  margin-bottom: 0.5em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5em;
  color: #543310;
  background: #f8f4e1;
  border-radius: 4px;
  padding: 0.5em 0.75em;
}

#cart-total {
  margin-top: 1em;
  font-weight: bold;
  font-size: 1.2em;
  color: #f8f4e1;
  background: #543310;
  padding: 0.5em 1em;
  border-radius: 6px;
}

.quantity{
    border-radius: 100px;
    margin-bottom: 5px;
    border:none;
    padding:12px;
    color: #af8f6f;
    background-color: #543310;
    text-align:center;
    width:100%;
    font-size:18px;
    font-family: 'Times New Roman', Times, serif;
}

.color{
    border-radius: 100px;
    border:none;
    padding:12px;
    color: #af8f6f;
    background-color: #543310;
    text-align:center;
    width:100%;
    font-size:18px;
    margin-bottom: 0;
    font-family: 'Times New Roman', Times, serif;
}

button, .cart-buttons button, #checkoutb, #clearcartb, #submitb {
  background-color: #543310;
  color: #f8f4e1;
  border: none;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  font-size: 1.1em;
  font-family: inherit;
  cursor: pointer;
  margin: 0.2em 0.3em;
  transition: background 0.2s, color 0.2s;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
button:hover, .cart-buttons button:hover, #checkoutb:hover, #clearcartb:hover, #submitb:hover {
  background-color: #74512d;
  color: #fffbe6;
}

.cart-section label#item {
  text-align: left;
  width: 100%;
  display: block;
  margin-left: 0;
}
#cart {
  text-align: left;
  width: auto;
  margin-left: 0;
}
#cart li {
  text-align: left;
  width: auto;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5em;
  color: #543310;
  background: #f8f4e1;
  border-radius: 4px;
  padding: 0.5em 0.75em;
}