/* Container for the back-in-stock box */
.back-in-stock-box {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    padding: 15px;
}

body.trade .back-in-stock-box {
    margin: 25px 0;
}

body.trade #back-in-stock-container {
    margin-bottom: 25px;
}

/* Heading or message */
.back-in-stock-box p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

#back-in-stock-form {
    display: flex;
}

/* Input field */
#back-in-stock-form input[type="email"] {
    width: auto;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-right: 5px;
    outline: none;
    flex: 1 1 66.66%;
}

#back-in-stock-form input[type="email"]:focus {
    border-color: #0073aa;
}

/* Submit button */
#back-in-stock-form .button {
    width: auto;
    padding: 10px 15px;
    font-size: 14px;
    background-color: #e6d8cd;
    color: #000000;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    flex: 1 1 33.33%;
    margin-bottom: 0;
    min-width: 0;
}

body.trade #back-in-stock-form .button {
    color: #fff;
}

#back-in-stock-form .button:hover {
    background-color: #000;
    color: #fff;
}

body.trade #back-in-stock-form .button:hover {
    color: #fff;
}

.quick-view-modal .back-in-stock-box {
    margin-bottom: 15px;
}

.quick-view-modal #back-in-stock-form {
    display: block;
}

.quick-view-modal .back-in-stock-box p {
    font-size: 12px;
}

.quick-view-modal #back-in-stock-form input[type="email"] {
    width: 100%;
    margin-bottom: 10px;
}

.quick-view-modal #back-in-stock-form .button {
    width: 100%;
}

/* Spinner Styling */
.back-in-stock-box .spinner-border {
    width: 1.6rem;
    height: 1.6rem;
    vertical-align: sub;
    margin-left: 10px;
    border-width: 0.15em;
}

.quick-view-modal .back-in-stock-box .spinner-border {
    position: relative;
    left: auto;
    right: auto;
}

.quick-view-modal .back-in-stock-box .button:hover .spinner-border {
    color: #fff!important;
}

.klayvio-consent {
    margin-top: 12px;
    display: flex;
    align-items: center;
}

.klayvio-consent input[type="checkbox"] {
    margin-right: 5px;
    margin-left: 3px;
    transform: scale(1.2); /* Slightly increase checkbox size */
    cursor: pointer;
    accent-color: #2c2c2c;
}

.klayvio-consent label {
    color: #333;
    cursor: pointer;
    padding: 4px 0 0 8px;
    font-size: 12px;
    line-height: 16px;
}

.quick-view-modal .klayvio-consent {
    margin-top: 0;
    margin-bottom: 20px;
}

.quick-view-modal .klayvio-consent label {
    font-size: 11px;
    line-height: 16px;
}

#back-in-stock-message {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

#back-in-stock-message p {
    display: flex;
    align-content: center;
    margin: 0;
    font-size: 17px;
    color: #2c2c2c;
    padding: 25px;
    max-width: 365px;  
    font-weight: 600;
}

#back-in-stock-message .success-message:before,
#back-in-stock-message .error-message:before {
    font-family: 'Font Awesome 5 Pro';
    font-size: 32px;
    font-weight: 400;
    color: #2c2c2c;
    padding-right: 20px;
    align-self: center;
}

#back-in-stock-message .success-message:before {
    content: "\f00c";
}

#back-in-stock-message .error-message:before {
    content: "\f06a";
    font-weight: 300;
}

.quick-view-modal #back-in-stock-message {
    padding: 10px 0;
}

.quick-view-modal #back-in-stock-message p {
    font-size: 15px;
}

.quick-view-modal #back-in-stock-message .success-message:before,
.quick-view-modal #back-in-stock-message .error-message:before {
    font-size: 28px;
}

@media (max-width: 1240px) {
    #back-in-stock-form {
        display: block;
    }

    .back-in-stock-box p {
        font-size: 12px;
    }
    

    #back-in-stock-form input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
    }

    #back-in-stock-form .button {
        width: 100%;
    }
}

@media (max-width: 981px) {
    .back-in-stock-box p {
        font-size: 14px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #back-in-stock-form input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
    }

    #back-in-stock-form .button {
        width: 100%;
    }

    .quick-view-modal .back-in-stock-box p {
        font-size: 14px;
    }

    .quick-view-modal #back-in-stock-message p {
        padding: 8px 12px;
    }
}

@media (max-width: 420px) {
    #back-in-stock-message {
        padding: 10px 0;
    }
    
    #back-in-stock-message p {
        padding: 8px 12px;
        font-size: 15px;
    }
    
    #back-in-stock-message .success-message:before,
    #back-in-stock-message .error-message:before {
        font-size: 26px;
    }

    .quick-view-modal .back-in-stock-box p {
        font-size: 12px;
    }

    .quick-view-modal #back-in-stock-message .success-message:before,
    .quick-view-modal #back-in-stock-message .error-message:before {
        font-size: 24px;
    }
}



