/**
 * Location restrictions notices (cart, checkout, after add-to-cart).
 */

.ecml-restriction-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left-width: 4px;
    border-radius: 4px;
    padding: 14px 16px;
    margin: 0 0 18px 0;
    color: #6b4f00;
}

.ecml-restriction-notice__headline {
    margin: 0 0 8px 0;
    font-size: 15px;
    line-height: 1.4;
}

.ecml-restriction-notice__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecml-restriction-notice__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px dashed rgba(107, 79, 0, 0.25);
}

.ecml-restriction-notice__item:first-child {
    border-top: none;
}

.ecml-restriction-notice__item-name {
    flex: 1 1 auto;
    word-break: break-word;
}

.ecml-restriction-notice__item-qty {
    color: #856404;
    font-size: 13px;
    margin-left: 4px;
}

.ecml-restriction-remove {
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1.2;
    padding: 6px 12px;
    background: #b54708;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.ecml-restriction-remove:hover,
.ecml-restriction-remove:focus {
    background: #8a3608;
    color: #fff;
}

.ecml-restriction-remove[disabled] {
    opacity: 0.65;
    cursor: progress;
}

/* Flash notice that appears at the top of the page after an excluded
   product is added to cart. */
.ecml-restriction-flash {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left-width: 4px;
    border-radius: 4px;
    padding: 14px 16px;
    margin: 0 0 18px 0;
    color: #6b4f00;
}

.ecml-restriction-flash__headline {
    margin: 0 0 4px 0;
    font-size: 15px;
}

.ecml-restriction-flash__product {
    margin: 0 0 10px 0;
}
