/**
 * Simple product out-of-stock: Sold Out + Notify Me (Dotsquares_NotifyBack)
 */

/* 1. Apply a controlled 5px gap between the two action blocks */
.standalone-simple-soldout {
    margin-bottom: 5px !important;
}

/* 2. Standardize button and link styles for perfect alignment and width */
.standalone-simple-soldout button,
.standalone-simple-wrapper .simple-notify-btn {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: none !important; /* Remove borders to ensure identical edge alignment */
    
    /* Apply rounded corners */
    border-radius: 7px !important; 
    
    padding: 12px 10px !important;
    text-align: center !important;
    font-size: 1.5em;
    line-height: normal;
    text-decoration: none;
}

.standalone-simple-wrapper .simple-notify-btn {
    background-color: #ff7238;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
}

.standalone-simple-wrapper .simple-notify-btn:hover {
    background-color: black;
}

/* Reset inner div to prevent double styling/padding */
.standalone-simple-wrapper .contact_product_detail {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: inherit !important;
    display: inline !important;
}

.page-product-configurable .main .product-info-main .product-info-price .product-info-stock-sku {
    width: 47% !important; 
}

/* 3. Reset container spacing to prevent cumulative gaps */
.standalone-simple-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 0 !important;
}

.standalone-simple-soldout button {
    background-color: #ffccb7;
    border-color: #ffccb7;
    cursor: not-allowed;
    margin-bottom: 0 !important;
}

.catalog-product-view .modal-popup .modal-inner-wrap .notify-pop .actions-toolbar .primary {
    width: 100%;
}

.catalog-product-view .modal-popup .modal-inner-wrap .notify-pop .actions-toolbar .primary .action {
    font-size: 1.5em;
    padding: 15px;
    width: 100%;
    margin: 0;
    line-height: normal;
}

.catalog-product-view .modal-popup .notify-pop input[type="email"] {
    height: 50px;
    background-color: #f4f4f4;
}

.product-info-main .stock.unavailable {
    font-weight: 700;
    font-size: x-large;
    text-transform: uppercase;
    color: #f36523;
}
