/* Back-in-stock notify modal
   Moved out of the inline <style> in resources/views/front/layout/_notify-modal.blade.php
   Shared partial: included by product-detail and shop-left-sidebar. */

#notifyModal {
    --nt-ink: #152B39;
    --nt-gold: #B58A46;
    --nt-ivory: #FBF7F1;
    --nt-hairline: #ECE4D8;
}

#notifyModal .modal-dialog {
    max-width: 424px;
}

#notifyModal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(21, 43, 57, .24);
}

#notifyModal .modal-header {
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--nt-hairline);
}

#notifyModal .nt-head-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: var(--nt-ivory);
    color: var(--nt-gold);
    font-size: 17px;
}

#notifyModal .modal-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
    color: var(--nt-ink);
}

#notifyModal .nt-sub {
    display: block;
    margin-top: 2px;
    font-family: inherit;
    font-size: 12.5px;
    color: #8d8d8d;
}

#notifyModal .close {
    margin: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #8d8d8d;
    font-size: 22px;
    line-height: 1;
    opacity: 1;
    transition: background .18s ease, color .18s ease;
}

#notifyModal .close:hover {
    background: var(--nt-ivory);
    color: var(--nt-ink);
}

#notifyModal .modal-body {
    padding: 18px 20px 6px;
}

/* --- Product summary --- */
#notifyModal .nt-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px;
    border: 1px solid var(--nt-hairline);
    border-radius: 12px;
    background: var(--nt-ivory);
}

#notifyModal .nt-item-img {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 9px;
    object-fit: cover;
    background: #f1eee9;
}

#notifyModal .nt-item-txt {
    min-width: 0;
}

#notifyModal .nt-item-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    color: var(--nt-ink);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#notifyModal .nt-item-meta {
    margin-top: 2px;
    font-size: 12.5px;
    color: #a0a0a0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#notifyModal .nt-item-price {
    margin-top: 5px;
    font-size: 15px;
    font-weight: 600;
    color: var(--nt-ink);
}

#notifyModal .nt-oos {
    margin-left: 7px;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f0e2e2;
    color: #9b4b4b;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    vertical-align: 2px;
}

/* --- Quantity --- */
#notifyModal .nt-label {
    margin: 18px 0 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--nt-ink);
}

#notifyModal .nt-qty {
    display: flex;
    align-items: center;
    width: 156px;
    height: 46px;
    border: 1px solid var(--nt-hairline);
    border-radius: 10px;
    overflow: hidden;
}

#notifyModal .nt-qty button {
    flex: 0 0 46px;
    height: 100%;
    border: 0;
    background: var(--nt-ivory);
    color: var(--nt-ink);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

#notifyModal .nt-qty button:hover {
    background: var(--nt-gold);
    color: #fff;
}

#notifyModal .nt-qty input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    border-left: 1px solid var(--nt-hairline);
    border-right: 1px solid var(--nt-hairline);
    border-radius: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--nt-ink);
    background: #fff;
    outline: none;
    box-shadow: none;
}

/* --- Notes --- */
#notifyModal .nt-note {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #7d8890;
}

#notifyModal .nt-note i {
    margin-top: 2px;
    color: var(--nt-gold);
}

#notifyModal .nt-existing {
    display: none;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    background: #FBF3E4;
    color: #8a6a2f;
    font-size: 12.5px;
    line-height: 1.5;
}

#notifyModal.has-existing .nt-existing {
    display: flex;
}

/* --- Footer --- */
#notifyModal .modal-footer {
    gap: 10px;
    padding: 14px 20px 18px;
    border-top: 0;
}

#notifyModal .nt-cancel {
    padding: 11px 18px;
    border: 1px solid var(--nt-hairline);
    border-radius: 10px;
    background: #fff;
    color: #6d777e;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

#notifyModal .nt-cancel:hover {
    background: var(--nt-ivory);
    color: var(--nt-ink);
}

#notifyModal .nt-submit {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--nt-gold);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .18s ease;
}

#notifyModal .nt-submit:hover {
    background: #9c7434;
}

#notifyModal .nt-submit[disabled] {
    opacity: .6;
    cursor: default;
}

@media (max-width: 575px) {
    #notifyModal .modal-dialog {
        margin: 12px;
    }

    #notifyModal .modal-body {
        padding: 16px 16px 4px;
    }

    #notifyModal .modal-footer {
        padding: 12px 16px 16px;
    }
}
