.kloner-stock-alert {
    margin: 24px 0;
    padding: 20px 24px;
    background: #f5f3f0;
    border: 1px solid #e0dbd4;
    border-radius: 4px;
}

.kloner-stock-alert__header {
    margin-bottom: 8px;
}

.kloner-stock-alert__label {
    display: inline-block;
    padding: 3px 10px;
    background: #c0392b;
    color: #fff;
    font-family: 'Work Sans', 'Poppins', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 2px;
}

.kloner-stock-alert__text {
    margin: 0 0 14px;
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.kloner-stock-alert__form {
    margin: 0;
}

.kloner-stock-alert__input-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.kloner-stock-alert__field {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.kloner-stock-alert__field input[type="email"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d4cec4;
    border-right: none;
    border-radius: 3px 0 0 3px;
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s ease;
}

.kloner-stock-alert__field input[type="email"]:focus {
    border-color: #b8ae9c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 211, 193, 0.35);
    position: relative;
    z-index: 1;
}

.kloner-stock-alert__field input[type="email"]::placeholder {
    color: #a09788;
}

.kloner-stock-alert__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 140px;
    padding: 0 24px;
    background: #333;
    border: 1px solid #333;
    color: #fff;
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 3px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
    white-space: nowrap;
    line-height: 1;
}

.kloner-stock-alert__input-row .kloner-stock-alert__button {
    border-radius: 0 3px 3px 0;
    flex-shrink: 0;
}

.kloner-stock-alert__button:hover,
.kloner-stock-alert__button:focus {
    background: #555;
    border-color: #555;
}

.kloner-stock-alert__button:active {
    background: #222;
    border-color: #222;
}

/* Account page */
.kloner-stock-alerts-account .block-title {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e2d8;
}

.kloner-stock-alerts-account .block-title strong {
    font-family: 'Work Sans', 'Poppins', Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.kloner-stock-alerts-account .table-stock-alerts {
    width: 100%;
}

.kloner-stock-alerts-account .table-stock-alerts th {
    font-family: 'Work Sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid #e8e2d8;
}

.kloner-stock-alerts-account .table-stock-alerts td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0ece6;
    vertical-align: middle;
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

.kloner-stock-alerts-account .table-stock-alerts .col.product a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.kloner-stock-alerts-account .table-stock-alerts .col.product a:hover {
    text-decoration: underline;
    color: #000;
}

.kloner-stock-alerts-account .table-stock-alerts .col.actions .action.delete {
    color: #333;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.kloner-stock-alerts-account .table-stock-alerts .col.actions .action.delete:hover {
    color: #000;
}

.kloner-stock-alerts-account .message.info.empty {
    padding: 28px 20px;
    background: #f5f3f0;
    border: 1px solid #e0dbd4;
    border-radius: 4px;
    text-align: center;
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 14px;
    color: #777;
}

/* Remove form inline in table */
.kloner-stock-alert-remove-form {
    display: inline;
}

/* OOS swatch indicator — added by JS on waitlist-enabled products */
.swatch-option.stock-alert-oos {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.swatch-option.stock-alert-oos::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to left bottom,
        transparent 0%,
        transparent 42%,
        #e67e22 43%,
        #e67e22 57%,
        transparent 58%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}
.swatch-option.stock-alert-oos:hover {
    opacity: 0.85;
}

/* Fallback: make disabled OOS swatches clickable (non-waitlist edge cases) */
.swatch-option.disabled {
    pointer-events: auto !important;
    cursor: pointer !important;
}
