/* Shared WooCommerce notices */
.woocommerce-notices-wrapper:empty {
    display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    box-sizing: border-box;
    min-height: 72px;
    margin-bottom: 0;
    border: 1px solid;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

/* WooCommerce focuses newly rendered notices so assistive technology announces them. */
.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:focus {
    outline: none;
    box-shadow: none;
}

/* Success */
.woocommerce-message {
    padding: 0;
    border-color: #4caf50;
    background: #e8f5e9;
    color: #2e7d32;
}

.woocommerce-message::before {
    content: none;
}

.woocommerce-message__content {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
}

.woocommerce-message__content::before {
    content: "\e015";
    position: static;
    flex: 0 0 auto;
    margin-right: 8px;
    color: #2e7d32;
    font-family: WooCommerce;
}

/* Information */
.woocommerce-info {
    padding: 0;
    border-color: #fbc02d;
    background: #fffde7;
    color: #7a5d00;
}

.woocommerce-info::before {
    content: none;
}

.woocommerce-info__content {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
}

.woocommerce-info__content::before {
    content: "\e016";
    position: static;
    flex: 0 0 auto;
    margin-right: 8px;
    color: #9a7400;
    font-family: WooCommerce;
}

/* Error */
.woocommerce-error {
    padding: 0;
    border-color: #ef5350;
    background: #ffebee;
    color: #c62828;
}

.woocommerce-error::before {
    content: none;
}

.woocommerce-error__content {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
}

.woocommerce-error__content::before {
    content: "\e016";
    position: static;
    flex: 0 0 auto;
    margin-right: 8px;
    color: #c62828;
    font-family: WooCommerce;
}

.woocommerce-error__content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The empty-cart message is rendered outside WooCommerce's notices wrapper. */
.woocommerce-cart .wc-empty-cart-message {
    margin-bottom: 16px;
}

.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
    flex: 0 0 auto;
    height: 48px;
    margin-left: auto;
    border-radius: 8px;
    background: #671d75;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.woocommerce-message a.button:hover,
.woocommerce-message a.button:focus,
.woocommerce-info a.button:hover,
.woocommerce-info a.button:focus,
.woocommerce-error a.button:hover,
.woocommerce-error a.button:focus {
    background: rgb(103 29 117 / 80%);
    color: #fff;
}

@media only screen and (max-width: 767px) {
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        font-size: 14px;
        line-height: 20px;
    }

}
