/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: left;
}

h2 {
    margin-top: 20px;
    text-align: center;
}

.attribute, select, button, #result, #design {
    display: block;
    margin-top: 20px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.attribute label, .attribute select, #design {
    margin-top: 0;
}

#design {
    width: 50px; /* Adjust the width to make the number box smaller */
}

.attribute {
    text-align: center; /* Center-align the labels */
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 20%;
  height: auto;
}

.hidden {
    display: none;
}

.product-images img {
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    max-width: 300px;
    height: auto;
}

/* Responsive styles */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .attribute, select, button, #result, #design {
        width: 100%; /* Make elements full-width */
    }

    #design {
        width: 90%; /* Make the input box full-width on small screens */
    }

    select, button, input {
        font-size: 16px; /* Adjust font size for better readability */
    }

    h2 {
        font-size: 24px; /* Adjust the heading size for smaller screens */
    }
    
    .hidden {
    display: none;
    }
    
    .center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
        height: auto;
    }
}