#giant-wholesale-product-availability-checker {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
}

#giant-wholesale-product-availability-checker input, #giant-wholesale-product-availability-checker button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

/* Preloader styles */
#preloader {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    animation: spin 2s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* General container styles */
#giant-wholesale-product-availability-checker {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #f9f9f9;
}

/* Input and button styles */
#postcode {
    width: calc(100% - 110px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

#check-postcode {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

#check-postcode:hover {
    background-color: #2980b9;
}

/* Address list styles */
.address-item {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.address-item.hover {
    background-color: #f1f1f1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.address-item.selected {
    background-color: #d1e7fd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Selected address styles */
#selected-address {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Product card styles */
.product-item {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item h3 {
    margin-top: 0;
    color: #3498db;
}

.product-item p {
    margin: 10px 0;
}

.product-item a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.product-item a:hover {
    background-color: #2980b9;
}
